Re: Help Bugs under seven

2011-07-14 Thread ni va
2011/7/14 Charles Campbell charles.e.campb...@nasa.gov niva wrote: Stop Modifying vimfiles ! I am using Gvim under windows seven and I like to have a big toolbar with 48px icon'size so == I have linked my own version of gvim7.3.46 only with toolbar changes. == I know Innosetup So I

Re: display faster output of external app

2011-08-26 Thread ni va
let g:output=substitute(system(s:cmd),'\n','',g) system(s:cmd) produces something like useful message\n like `system('echo useful message')' does, am I right? You need just system(s:cmd)[:-2] then. You're right Your code is a bit strange (I don't get why you need `output' to be

Re: Black Icons on Windows XP Remote Connection Desktop

2011-08-30 Thread ni va
Would be useful to get more info from the OP on versions (of Vim/Gvim and Windows). GVim version 7.3.46 with modified toolbar height : 48px Windows XP and remote distant desktop to another Windows XP Your help is needed thanks -- You received this message from the vim_use maillist. Do not

Re: Copy folded text title without content

2010-12-23 Thread ni va
What is your eventual goal? My goal is that one. In state of copying the whole text like that : #include UltrasonCmd.h #include Wire.h #include Utils.h //= /* {{{1 ULTRASONIC CONSTRUCTOR */

Re: Opening automatically copen

2011-02-08 Thread ni va
vim -c make -c copen From within Vim: :make | copen Or you cas use :cwindow instead of :copen if you only want to open the quickfix window when there are errors. Yes maybe it it cwindow I need because another example base on ctags proposal results. I am using ctags and when I

Re: backward reference

2012-10-30 Thread ni va
It works perfectly :) 2012/10/30 Ben Fritz fritzophre...@gmail.com On Tuesday, October 30, 2012 1:22:18 PM UTC-5, niva wrote: Hi, I am using this kind of code in order to modify line content : let patternOfxembh='^.*one=\(\d\+\).*two=\(\d\+\)' if line =~ patternOfxembh echo

^@

2014-03-21 Thread Ni Va
Hi, I am launching windows cmd from GVim7.4. let cmd = 'myexecutablepath OneArg' exe !.cmd OneArg contains commercial at character ~ p@ssword It seems that in windows console cmd output I obtain this command string : myexecutablepath p^@ssword I think it cause the fail of the comand

--remote-expr that don't execute my expr

2014-04-21 Thread Ni Va
Hi, With vim run as server named JOB_1, I try from windows console to ask to run a BasicTask() that is known from _vimrc. c:\user\VimStandalone\Vim\vim74vim --servername JOB_1 --remote-expr 'BasicTask()' BasicTask() is displayed in console prompt but not executed. Thank you for your help NB

--remote-expr

2014-04-21 Thread Ni Va
OS : Windows 8.1 While I happen to call a BasicTask() that echoes foo into Vim server named JOB_1, I don't success to do the same thing with this executed command from Gvim: From console prompt : vim --servername JOB_1 --remote-expr BasicTask() = OK t displays foo From executed command

remote-expr calling fails

2014-04-21 Thread Ni Va
Hi, I got a running vim server named JOB_1 and don't understand why this console command does not work : E449: Invalid expression received: Send expression failed vim --servername JOB_1 --remote-expr 'SchedulingTask(2014 04 21 14:30:00,echo foo)' NB: OS Windows 8.1 -- -- You received

Re: --remote-expr

2014-04-21 Thread Ni Va
Yes this works! On Monday, April 21, 2014 2:01:18 PM UTC+1, ZyX wrote: On Apr 21, 2014 3:40 PM, Ni Va niva...@gmail.com wrote: OS : Windows 8.1 While I happen to call a BasicTask() that echoes foo into Vim server named JOB_1, I don't success to do the same thing

Re: remote-expr calling fails

2014-04-21 Thread Ni Va
On Monday, April 21, 2014 2:35:45 PM UTC+1, Ni Va wrote: Hi, I got a running vim server named JOB_1 and don't understand why this console command does not work : E449: Invalid expression received: Send expression failed vim --servername JOB_1 --remote-expr 'SchedulingTask(2014 04 21 14

Re: --remote-expr

2014-04-21 Thread Ni Va
On Monday, April 21, 2014 2:39:46 PM UTC+1, Ni Va wrote: Yes this works! On Monday, April 21, 2014 2:01:18 PM UTC+1, ZyX wrote: On Apr 21, 2014 3:40 PM, Ni Va niva...@gmail.com wrote: OS : Windows 8.1 While I happen to call

Equivalent to remote_expr( funtion

2014-04-21 Thread Ni Va
Hi, I got a problem between two command line FIRST_ONE : call remote_expr(JOB_1, SchedulingTask('.a:plannedHour.','.a:expr.')) SECOND_ONE: call StartExternalTask(vim --servername .a:servername. --remote-expr SchedulingTask('.a:plannedHour.','.a:expr.')) My script is running well with

Re: --remote-expr

2014-04-22 Thread Ni Va
On Monday, April 21, 2014 6:12:44 PM UTC+2, Francis Smit wrote: On 22/04/14 00:27, Ni Va wrote: On Monday, April 21, 2014 2:39:46 PM UTC+1, Ni Va wrote: Yes this works! On Monday, April 21, 2014 2:01:18 PM UTC+1, ZyX wrote: On Apr 21, 2014 3:40 PM, Ni Va niva

Re: --remote-expr

2014-04-22 Thread Ni Va
On Tuesday, April 22, 2014 4:39:16 PM UTC+2, lith wrote: Why this one does not work : vim --servername GVIM101 --remote-expr SchedulingTask('2014-04-22 15:06:30','BasicTask()') You should probably enclose the expr in quotes: SchedulingTask('2014-04-22 15:06:30','BasicTask()')

libcall E364

2014-04-25 Thread Ni Va
Hi, I compiled a dlltest.dll under windows 64bits that fails at vim libcall. _source code .h extern C __declspec(dllexport) int decrease(long a); .cpp extern C __declspec(dllexport) int decrease(long a) { return (a-1); } ___endof__source

Re: libcall E364

2014-04-27 Thread Ni Va
On Friday, April 25, 2014 10:04:57 AM UTC+1, Ni Va wrote: Hi, I compiled a dlltest.dll under windows 64bits that fails at vim libcall. _source code .h extern C __declspec(dllexport) int decrease(long a); .cpp extern C __declspec(dllexport) int decrease

Re: libcall E364

2014-04-27 Thread Ni Va
On Sunday, April 27, 2014 10:52:25 AM UTC+1, Yukihiro Nakadaira wrote: On Sun, Apr 27, 2014 at 6:10 PM, Ni Va niva...@gmail.com wrote: On Friday, April 25, 2014 10:04:57 AM UTC+1, Ni Va wrote: Hi, I compiled a dlltest.dll under windows 64bits that fails at vim libcall

Re: libcall E364

2014-04-27 Thread Ni Va
On Sunday, April 27, 2014 11:19:25 AM UTC+1, Yukihiro Nakadaira wrote: On Sun, Apr 27, 2014 at 7:07 PM, Ni Va niva...@gmail.com wrote: On Sunday, April 27, 2014 10:52:25 AM UTC+1, Yukihiro Nakadaira wrote: On Sun, Apr 27, 2014 at 6:10 PM, Ni Va niva...@gmail.com wrote

Re: libcall E364

2014-04-27 Thread Ni Va
On Sunday, April 27, 2014 11:40:59 AM UTC+1, Yukihiro Nakadaira wrote: On Sun, Apr 27, 2014 at 7:24 PM, Ni Va niva...@gmail.com wrote: On Sunday, April 27, 2014 11:19:25 AM UTC+1, Yukihiro Nakadaira wrote: On Sun, Apr 27, 2014 at 7:07 PM, Ni Va niva...@gmail.com wrote

How to keep only patterns in string

2014-05-30 Thread Ni Va
Hi, I got a string that contains some informations that I need to keep and if possible dispatch into array. The string: some title informations tat local distant - OK U: \\10.198.169.0\users OK V: \\10.198.168.0\users OK W:

indent versus previous line

2014-06-10 Thread Ni Va
Hi, I got a file that contains those lines : \s\s\s\s\sFOO BAR1 BAR2 END_OF_BLOCK \s\s\s\s\sFOO2 BAR1 BAR2 END_OF_BLOCK \s\s\s\s\sFOO3 BAR1 BAR2 END_OF_BLOCK I would like to indent all sublines of each BLOCK to be like that : \s\s\s\s\sFOO BAR1 BAR2

Re: indent versus previous line

2014-06-10 Thread Ni Va
On Tuesday, June 10, 2014 10:30:30 AM UTC+2, Christian Brabandt wrote: Am 2014-06-10 09:40, schrieb Ni Va: Hi, I got a file that contains those lines : \s\s\s\s\sFOO BAR1 BAR2 END_OF_BLOCK \s\s\s\s\sFOO2 BAR1 BAR2 END_OF_BLOCK \s\s\s

Re: indent versus previous line

2014-06-10 Thread Ni Va
On Tuesday, June 10, 2014 11:45:35 AM UTC+2, Christian Brabandt wrote: Am 2014-06-10 11:10, schrieb Ni Va: On Tuesday, June 10, 2014 10:30:30 AM UTC+2, Christian Brabandt wrote: Am 2014-06-10 09:40, schrieb Ni Va: Hi, I got a file that contains

Re: indent versus previous line

2014-06-10 Thread Ni Va
On Tuesday, June 10, 2014 12:11:10 PM UTC+2, elken wrote: Put j33j in a buffer On 10 Jun 2014 08:40, Ni Va niva...@gmail.com wrote: Hi, I got a file that contains those lines : \s\s\s\s\sFOO BAR1 BAR2 END_OF_BLOCK \s\s\s\s\sFOO2 BAR1 BAR2

Re: indent versus previous line

2014-06-10 Thread Ni Va
:24, Ni Va niva...@gmail.com wrote: On Tuesday, June 10, 2014 12:11:10 PM UTC+2, elken wrote: Put j33j in a buffer On 10 Jun 2014 08:40, Ni Va niva...@gmail.com wrote: Hi, I got a file that contains those lines : \s\s\s\s\sFOO

Re: indent versus previous line

2014-06-10 Thread Ni Va
of data is not always the same. Thank you On Tuesday, June 10, 2014 12:43:26 PM UTC+2, Tim Chase wrote: On 2014-06-10 00:40, Ni Va wrote: \s\s\s\s\sFOO BAR1 BAR2 END_OF_BLOCK \s\s\s\s\sFOO2 BAR1 BAR2 END_OF_BLOCK \s\s\s\s\sFOO3 BAR1 BAR2 END_OF_BLOCK

Re: indent versus previous line

2014-06-10 Thread Ni Va
the indentation depends on the number of \s in the header. If you mean that the header is : \s\s\sTHREE or \s\sTWO On Tuesday, June 10, 2014 1:48:53 PM UTC+2, Tim Chase wrote: On 2014-06-10 04:33, Ni Va wrote: Sorry for my english Mr Chase : Not a problem, I just want to make sure

Re: indent versus previous line

2014-06-10 Thread Ni Va
On Tuesday, June 10, 2014 2:45:53 PM UTC+2, Tim Chase wrote: On 2014-06-10 04:59, Ni Va wrote: the indentation depends on the number of \s in the header. If you mean that the header is : \s\s\sTHREE or \s\sTWO Okay, then the following one-liner should do what you describe

Re: indent versus previous line

2014-06-10 Thread Ni Va
Ok I will have to imprve my english On Tuesday, June 10, 2014 4:13:12 PM UTC+2, Ben Fritz wrote: On Tuesday, June 10, 2014 8:05:45 AM UTC-5, Ni Va wrote: It works a little using \s out \\s because I have magic card I think: :g/^\s/exec 'sil! +,/^END_OF_BLOCK/'.repeat('', strlen

Mapping only in specific buffer

2014-06-12 Thread Ni Va
Hi, I would like to map ]c diff jump only in a vim buffer. I have done this for the moment but would like to make conditional test on diff var : map F2 : norm ]cCR Thank you -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text

Re: Mapping only in specific buffer

2014-06-12 Thread Ni Va
In fact I would like to get two specific meaning on the same F2 key as I am reading a diff buffer or a normal buffer. Thank you very much On Thursday, June 12, 2014 5:55:53 PM UTC+2, Ni Va wrote: Hi, I would like to map ]c diff jump only in a vim buffer. I have done this for the moment

Re: indent versus previous line

2014-06-12 Thread Ni Va
Ok thank you and sorry for my english. On Tuesday, June 10, 2014 7:38:18 PM UTC+2, Tim Chase wrote: On 2014-06-10 07:13, Ben Fritz wrote: It works a little using \s out \\s because I have magic card I think: :g/^\s/exec 'sil! +,/^END_OF_BLOCK/'.repeat('',

Clean string returned by windows console cmd

2014-07-08 Thread Ni Va
Hi, I obtain this string that I would like to clean : ^AffeD^Ae^Av^Ai^Ac^Ae^AI^AD^A ^A ^A ^AC^A:^A ^A ^A ^A ^A ^A ^A ^A ^A ^AD^A:^A ^A ^A ^A ^A ^A ^A ^A ^A ^AE^A:^A ^A ^A ^A ^A ^A ^A ^A ^A ^AF^A:^A ^A ^A ^A ^A ^A ^A ^A ^A ^AG^A:^A ^A ^A ^A ^A ^A ^A ^A ^A ^AH^A:^A ^A ^A ^A ^A ^A ^A ^A ^A

Re: Clean string returned by windows console cmd

2014-07-09 Thread Ni Va
Hi John, Your command is pretty good but can I affect a variable instead of output command under the cursor into the buffer On Wednesday, July 9, 2014 12:16:35 AM UTC+2, JohnBeckett wrote: Ni Va wrote: This is obtained by launching this command : echo system(wmic logicaldisk get

Re: Clean string returned by windows console cmd

2014-07-09 Thread Ni Va
Thank you everybody. A lot On Wednesday, July 9, 2014 2:22:12 PM UTC+2, Christian Brabandt wrote: Am 2014-07-09 00:16, schrieb John Beckett: Ni Va wrote: This is obtained by launching this command : echo system(wmic logicaldisk get deviceid) The problem is that the output

converting encoding data easily

2014-08-04 Thread Ni Va
Hi, I am under a buffer that has utf-8 on encoding or fileencoding vars. I have the following content : amp True#xD quot I would like to replace those known characters by utf-8 correponding chars and available for display and reading. Thank you -- -- You received this message from the

Multiple replacement through Dict or List way

2014-08-14 Thread Ni Va
Hi, I would like to proceed to substitute several words foos by bars List in a buffer using a Dict. Can I code the replacement in one code line ? let mydict = replacement code line Thank you -- -- You received this message from the vim_use maillist. Do not top-post! Type your

Re: Multiple replacement through Dict or List way

2014-08-14 Thread Ni Va
On Thursday, August 14, 2014 10:15:54 AM UTC+2, Ni Va wrote: Hi, I would like to proceed to substitute several words foos by bars List in a buffer using a Dict. Can I code the replacement in one code line ? let mydict = replacement code line Thank you Ok

how to substitute some characters not in quote in text

2014-10-08 Thread Ni Va
Hi, I got the following text : Prop Name='Foo' Type='Obj' Flags='0x0' Prop Name='Bar' Type='Obj' Flags='0x0' Prop Name='BarFoo' Type='Obj' Flags='0x0' Prop Name='typeTest' Type='String' Flags='0x0'

vim deployement plugin

2015-03-20 Thread Ni Va
Hi , I would like to know if a plugin in order to deploy (copy xcopy under windows) a directory to may \\machines_dns_name\c$\dest_directory exists ? I would like an interface with minimalist graphical informations like netrw, NERDTree or clickable. Thank you so much Niva -- -- You

Enable Syntax on Xml Large File only on drawed window

2015-02-24 Thread Ni Va
Hi, After applying this http://vim.wikia.com/wiki/Faster_loading_of_large_files, my big xml file is quick loaded. Then how can I set syn=xml only for drawed part of file in order to be as fast as possible to view colored part of file? Thank you -- -- You received this message from the

Re: Enable Syntax on Xml Large File only on drawed window

2015-02-26 Thread Ni Va
On Tuesday, February 24, 2015 at 5:26:52 PM UTC+1, Ethan Hereth wrote: On Tue, Feb 24, 2015 at 11:04 AM, Ben Fritz fritzo...@gmail.com wrote: On Tuesday, February 24, 2015 at 9:24:34 AM UTC-6, Ni Va wrote: Hi, After applying this http://vim.wikia.com/wiki

Re: Defining Region focused on current page

2015-02-26 Thread Ni Va
On Thursday, February 26, 2015 at 4:57:47 PM UTC+1, Ni Va wrote: On Thursday, February 26, 2015 at 4:31:40 PM UTC+1, Gary Johnson wrote: On 2015-02-26, Ni Va wrote: Hi, I would like to define a region based on current page displayed of opened buffer. How can I define

Re: Defining Region focused on current page

2015-02-26 Thread Ni Va
On Thursday, February 26, 2015 at 4:31:40 PM UTC+1, Gary Johnson wrote: On 2015-02-26, Ni Va wrote: Hi, I would like to define a region based on current page displayed of opened buffer. How can I define that ? I don't know what you mean by define a region, but you can visually

Defining Region focused on current page

2015-02-26 Thread Ni Va
Hi, I would like to define a region based on current page displayed of opened buffer. How can I define that ? -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Syntax folding not responding

2015-02-25 Thread Ni Va
Hi, What filetype I am opening (.vim or .xml), the method syntax folding does not proceed to fold operations meanwhile indent folding method do it. I think it is a bad configuration in vimfiles. Can you help me on this topic? Thank you -- -- You received this message from the vim_use

how to call func from funcref into anoremenu command

2015-04-21 Thread Ni Va
Hi, I dispose of some functions declared in ownvimscript. I can list them from third part as this : let m=ownvimscript for foo in m.getCmdList() let Fn = function('m[foo]') exe 'anoremenu '.m.getMenuPath().'.'.foo.' :call '.Fn.'()CR' endfor the last commented line does not work. -- -- You

Re: Build amenu from Funcref

2015-04-24 Thread Ni Va
On Thursday, April 23, 2015 at 3:43:43 PM UTC+1, Ben Fritz wrote: On Thursday, April 23, 2015 at 4:42:40 AM UTC-5, Ni Va wrote: Even if I replace call by exe, the func is not called by pressing button on my toolbar's menu. STOP and think a minute. You *cannot* replace call with exe

Re: Build amenu from Funcref

2015-04-22 Thread Ni Va
On Wednesday, April 22, 2015 at 3:03:41 PM UTC+1, Ben Fritz wrote: On Wednesday, April 22, 2015 at 4:03:07 AM UTC-5, Ni Va wrote: Hi all, I got some scriptPsexec#function('d') to refer to but I don't happen to call it : 1- directly 2- mapped into amenu command let m

Re: Build amenu from Funcref

2015-04-23 Thread Ni Va
On Wednesday, April 22, 2015 at 3:54:27 PM UTC+1, Ni Va wrote: On Wednesday, April 22, 2015 at 3:03:41 PM UTC+1, Ben Fritz wrote: On Wednesday, April 22, 2015 at 4:03:07 AM UTC-5, Ni Va wrote: Hi all, I got some scriptPsexec#function('d') to refer to but I don't happen to call

Build amenu from Funcref

2015-04-22 Thread Ni Va
Hi all, I got some scriptPsexec#function('d') to refer to but I don't happen to call it : 1- directly 2- mapped into amenu command let m = psexec#machine() call m.configure(machine,cce,level) for foo in m.getCmdList() let Fn = copy(m[foo]) 1- exe funcref#Call( Fn ) 2-exe

Re: Build amenu from Funcref

2015-04-28 Thread Ni Va
On Tuesday, April 28, 2015 at 4:22:55 PM UTC+1, Ben Fritz wrote: On Tuesday, April 28, 2015 at 2:01:47 AM UTC-5, Ni Va wrote: Hi Ben, I have added a selft-contained test case to show : 1- the standalone call to the func is working 2- the call to the func from menu entry added

Re: Build amenu from Funcref

2015-04-27 Thread Ni Va
On Thursday, April 23, 2015 at 3:43:43 PM UTC+1, Ben Fritz wrote: On Thursday, April 23, 2015 at 4:42:40 AM UTC-5, Ni Va wrote: Even if I replace call by exe, the func is not called by pressing button on my toolbar's menu. STOP and think a minute. You *cannot* replace call with exe

Re: Build amenu from Funcref

2015-04-28 Thread Ni Va
On Monday, April 27, 2015 at 3:51:39 PM UTC+1, Ben Fritz wrote: On Monday, April 27, 2015 at 1:43:00 AM UTC-5, Ni Va wrote: Hi Ben I knew that call was different from exe and I supposed that I bad explained the probleme. Calling and building a local func like you do

performance test on sourcing 6800 entries menu vimfile

2015-05-13 Thread Ni Va
Hi, I wonder if I can optimize the source of a vimfile that contains 6800 lines that aims to build menu entries. This following line per 6800. an silent MYMENU._FOO_.BAR1.BAR2.BAR3.mstsc.BAR4 :call m.mstsc(['TARGETMACHINEDNSNAME'],'SOURCEMACHINEDNSNAME',span)CR Profiling by gvim

Re: performance test on sourcing 6800 entries menu vimfile

2015-05-15 Thread Ni Va
On Wednesday, May 13, 2015 at 9:00:46 PM UTC+1, ZyX wrote: 2015-05-13 19:20 GMT+03:00 Ni Va nivaem...@gmail.com: Maybe it's when you have to launch several system or others own commands in an independant way on more than 300 machines (XP, Seven and physical or virtual). Total of all

Increase system process calling replacing :system(process) by libcall method

2015-05-15 Thread Ni Va
Hi all, I have seen that it can be possible to replace :system(sys_process) by libcall(gvimext.dll, sys_process). Is one of you have ever tried it and got an example please ? Thank you -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text

Re: performance test on sourcing 6800 entries menu vimfile

2015-05-13 Thread Ni Va
Maybe it's when you have to launch several system or others own commands in an independant way on more than 300 machines (XP, Seven and physical or virtual). Total of all these commands (~20) by 300 machines let you understand that I effectively need to launch independantly command of my choice

Command typingis slow : how to profile this feature

2015-05-12 Thread Ni Va
Hi, Typing a command in GVim 7.4 is a bit slow under seven under VMWare Machine accessed by XP Wyse. I would like to profile these runtime feature : - events when I edit a file - events when I type command. How can I do this task ? Thank you -- -- You received this message from the vim_use

Refreshing menu list without closing undocked window menu

2015-04-13 Thread Ni Va
Hi, I am using a script to build my own menu. There are some fold sub menus build like that : MyMenu.SubMenu1.SubSubMenu1 The SubSubMenu1 undocked, I have possibilities refresh and modify its titles but I close all main menu 'MyMenu' with aumenu command. How can I proceed to keep the undocked

encoding termencoding problem

2015-06-23 Thread Ni Va
Hi, I have set my encoding features in _vimrc in utf-8 and notice that I some hexa codes are displayed when I use Vim to yank or copy lines: It says that e9 yanked lines. CAn you help me to My vimrc if has(multi_byte) set termencoding=utf-8 set encoding=utf-8 set

Building 'tag bar' like menu

2015-07-24 Thread Ni Va
Hi, I would like to navigate and jump to some code line in an open buffer file. I think I can build an odd list that contains lineNumber-value of line and would like to open a split windows like tag bar to jump to the clicked item. Can anyone could give me guidelines to build this feature ?

AWL Tags bar

2015-11-15 Thread Ni Va
Hi, I am working on a lot of Siemens AWL files and have already done a ayntax file. Now, I would like to be able to tag some variables or structures which are declared in the file and if possible navigate like tags permit on other filetype. Here is a sample of source AWL and the awl.vim

Vim python compile with python 2.7.11 fails to load module

2016-06-04 Thread Ni Va
Hi, I've just linked vim 7.4 1859 with python feature after deploying python 2.7.11 distri. IM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 4 2016 23:50:30) MS-Windows 64-bit GUI version with OLE support Included patches: 1-1859 Compiled by marsupilami@DESKTOP-NPML03D Big version with GUI.

echo on one same line

2016-06-03 Thread Ni Va
Hi, I would like to echo messages on same line using \r in first char but this following vim-python code echoes 19 lines out of display those 19 messages in same one line. def VimPrint(value): # echo printf("%s\r", string(1) ) . "foo" vim.command( 'echo "\r" .

Redirection of

2016-06-05 Thread Ni Va
Hi, I am using vim7.4 and wonder why it is netrw that is called by default when I type :e mydir. When I type :command E, this output this list :command E NameArgs Address Complete Definition ! E *0c dir ! EditFile1

Re: Redirection of :e to VimFilerExplorer

2016-06-05 Thread Ni Va
On Sunday, June 5, 2016 at 5:35:08 PM UTC+2, Ni Va wrote: > Hi, > > Would like when I type :e to call that : > > exe 'VimFilerExplorer -winwidth=45 -explorer-columns=type:size:time > -parent ' . path > > > I think I have to redefined :e > Thank you I hav

Redirection of :e to VimFilerExplorer

2016-06-05 Thread Ni Va
Hi, Would like when I type :e to call that : exe 'VimFilerExplorer -winwidth=45 -explorer-columns=type:size:time -parent ' . path I think I have to redefined :e Thank you -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you

Re: folding csharp

2016-06-09 Thread Ni Va
On Thursday, June 9, 2016 at 1:31:14 PM UTC+2, Efraim Yawitz wrote: > On Thu, Jun 9, 2016 at 1:46 PM, Christian Brabandt <cbl...@256bit.org> wrote: > Am 2016-06-09 10:44, schrieb Ni Va: > > > Hi, > > > > I open a csharp source code file into Vim then do this

folding csharp

2016-06-09 Thread Ni Va
Hi, I open a csharp source code file into Vim then do this : echo "ft=". . ' syn='. . ' fdm='. | syn sync fromstart it outputs that : ft=cs syn=cs fdm=syntax and syn sync fromstart does not make folding wokring on, I don't understand why Thank you Best Regards -- -- You received this

Re: Redirection of

2016-06-06 Thread Ni Va
On Sunday, June 5, 2016 at 7:49:23 PM UTC+2, ZyX wrote: > 2016-06-05 18:33 GMT+03:00 Ni Va <nivaem...@gmail.com>: > > Hi, > > > > I am using vim7.4 and wonder why it is netrw that is called by default when > > I type :e mydir. > > > > When I type :co

Re: folding csharp

2016-06-09 Thread Ni Va
On Thursday, June 9, 2016 at 2:02:37 PM UTC+2, Efraim Yawitz wrote: > On Thu, Jun 9, 2016 at 2:39 PM, Ni Va <niva...@gmail.com> wrote: > On Thursday, June 9, 2016 at 1:31:14 PM UTC+2, Efraim Yawitz wrote: > > > On Thu, Jun 9, 2016 at 1:46 PM, Christian Brabandt <cbl..

Profiling startup of vim : Sourcing two same

2016-05-26 Thread Ni Va
Hi, By checking my startup of gvim, i notice that some plugin like solarized is loaded two times. I don't understand why, someone can explain to me that thing ? thanks niva -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are

Snips don't work : Combine YouCompleteMe Jedi and UltiSnips

2016-06-04 Thread Ni Va
Hi, I'am using YoucComplete me and it well works to complete python code and others. But I need UltiSnips functionality so this plugin and Jedi are installed but I got those messages when I try to put for snip in python code. Messages maintainer: Bram Moolenaar "usr_05.txt" [RO]

Vim compiled for Python but omnisharp fails

2016-02-27 Thread Ni Va
Hi, I have just compiled Vim with +Python/dyn feature but when I start my vim own distri that uses omnisharp, this says : Error Desktop\Vim\awesomeplugins\omnisharp-vim-master\plugin\OmniSharp.vim : ligne2 : Error: OmniSharp requires Vim compiled with +python. When I call :ver from

Re: Revert keys values in dict

2016-04-06 Thread Ni Va
On Wednesday, April 6, 2016 at 1:36:08 PM UTC+2, lith wrote: > > Such tricks are usually used in > > plugins where you e.g. have mappings like “escape sequence to escaped > > character” for decoder and “escaped character to escape sequence” for > > encoder or something like this > > I didn't

Re: Build cexpr from result of python code.

2016-03-24 Thread Ni Va
On Monday, March 21, 2016 at 4:45:45 PM UTC+1, ZyX wrote: > 2016-03-21 17:15 GMT+03:00 Ni Va <nivaem...@gmail.com>: > > Hi, > > > > I am using Execute-selection-in-Python-and-append-master plugin in order to > > test python code directly through vim. Now the pytho

Re: Build cexpr from result of python code.

2016-03-24 Thread Ni Va
On Monday, March 21, 2016 at 4:45:45 PM UTC+1, ZyX wrote: > 2016-03-21 17:15 GMT+03:00 Ni Va <nivaem...@gmail.com>: > > Hi, > > > > I am using Execute-selection-in-Python-and-append-master plugin in order to > > test python code directly through vim. Now the pytho

Build cexpr from result of python code.

2016-03-21 Thread Ni Va
Hi, I am using Execute-selection-in-Python-and-append-master plugin in order to test python code directly through vim. Now the python code is working and return me a list that contains strings typed like "file linenumber linecontent". I would like not to replace buffer content by result of

Passing UNC patch from python code to vim inputdialog

2016-04-01 Thread Ni Va
Hi, I have a little python code passing some vars to vim func. My problem is about a default UNC path var to pass to inputdialog vim's func 'cause I loose the backslash. _python code__ defaultDir = '\\MACHINENAME\along\a\path' vim.command(':let inVimTopDir =

Revert keys values in dict

2016-04-01 Thread Ni Va
Hi, I would like to make values become keys in this dict, is it possible in one simple command ? Thank you let mydict={'':'"', '':'&', '':"'", '':'<'} -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more

How Encoding decoding utf-16 html charset entity

2016-04-04 Thread Ni Va
Hi, I've got some CDATA sections in html source and want to pass easily from utf-16 characters to ascii chars and opposite operation. I'am currently using a dict to make needed substitutions. Is it possible to avoid this king of func passing by some others predefined commands ? fun!

Re: Build cexpr from result of python code.

2016-03-29 Thread Ni Va
On Thursday, March 24, 2016 at 9:22:37 PM UTC+1, ZyX wrote: > 2016-03-24 13:26 GMT+03:00 Ni Va <nivaem...@gmail.com>: > > On Monday, March 21, 2016 at 4:45:45 PM UTC+1, ZyX wrote: > >> 2016-03-21 17:15 GMT+03:00 Ni Va <nivaem...@gmail.com>: > >> > Hi,

Display truncated text in constant size visual column and display entire text on balloon

2016-04-29 Thread Ni Va
Hi, I have to display some information as "datagrid" but sometime text content is larger than column width. Is it possible to truncate text content in order it feet in the column and then display all content using balloon feature. Thank you -- -- You received this message from the

ballonexpr

2016-05-23 Thread Ni Va
Hi, After defining MyBaloonExpr and seeing it some first times displaying information under cursor, it seems that the functionality do not display anymore. May an autocommand should turn off balloneval? When I ask Vim for definition func and set beval all is ok -- -- You received this

Confirm dialog called by python vim.command fails

2016-05-03 Thread Ni Va
Hi, Passing joined python list to the confirm dialog function through vim.command feature in python code, I encounter these errors : Error detected while processing : Traceback (most recent call last): File "", line 1, in File "", line 16, in PyExecReplace File "", line 144, in File

Re: Confirm dialog called by python vim.command fails

2016-05-03 Thread Ni Va
On Tuesday, May 3, 2016 at 12:41:09 PM UTC+2, ZyX wrote: > 2016-05-03 12:58 GMT+03:00 Ni Va <nivaem...@gmail.com>: > > Hi, > > > > > > Passing joined python list to the confirm dialog function through > > vim.command feature in python code, I encounter thes

Python path seems to be KO in a deleguate design class A class B

2016-05-03 Thread Ni Va
Hi, Trying to delegate class A features to class B in python, I encounter this error : Traceback (most recent call last): File "", line 1, in File "", line 16, in PyExecReplace File "", line 27, in File "", line 23, in __init__ NameError: global name 'DatingObj' is not defined

Syntax region problem

2016-04-20 Thread Ni Va
Hi, I would like to highlight only the word of gravity level 'Debug' in this sentence : 2016-04-18 16:57:43.207000 Debug SomeInformations I have tried this but it highlight more than the word : syn match Debug '\' syntax region Debug matchgroup=Debug start="\d\s" end="\s"

debuging powershell script with breakpoints under vim on windows

2016-08-10 Thread Ni Va
Hi, I've seen conque db make available debugging some go or c++ source code under vim but wonder if it can help to debug some others kind of code like powershell ? Thank you -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are

Re: evalutate $vim as argue of a command line

2016-07-01 Thread Ni Va
On Friday, July 1, 2016 at 12:47:12 PM UTC+2, Christian Brabandt wrote: > Hi Ni! > > On Fr, 01 Jul 2016, Ni Va wrote: > > > Hi, > > > > I have wrote this little command in order to retrieve in Vim the out of a > > system call. > > > >

evalutate $vim as argue of a command line

2016-07-01 Thread Ni Va
Hi, I have wrote this little command in order to retrieve in Vim the out of a system call. command! -nargs=+ OutSay :let g:out=system("".) | enew | put=g:out It works well but I need to pass $vim value as args of command in order to execute this : OutSay 7z a Vim.7z $vim But $vim is

Re: timer_stop from within callback fails

2016-09-02 Thread Ni Va
On Friday, September 2, 2016 at 4:21:02 PM UTC+2, Ni Va wrote: > Hi, > > I'am starting a job and then starting a FunRef by timer_start in order to > check when job is dead to to next job. > It appears that timer_stop( from inside the callback Func is not working > meanwhile it

timer_stop from within callback fails

2016-09-02 Thread Ni Va
Hi, I'am starting a job and then starting a FunRef by timer_start in order to check when job is dead to to next job. It appears that timer_stop( from inside the callback Func is not working meanwhile it works when called from the main block code just after the timer_start. fu!

Re: timer_stop from within callback fails

2016-09-02 Thread Ni Va
It is done on Vim version : VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 2 2016 18:06:46) MS-Windows 64-bit GUI version with OLE support Included patches: 1-2305 Compiled by marsupilami@DESKTOP-NPML03D It failed on vim7.4.2290. On Friday, September 2, 2016 at 5:03:45 PM UTC+2, Ni Va wrote

Recognize function name from function number

2016-09-08 Thread Ni Va
Hi, I have some called functions from each others and an error occurs at call of one of them : Error detected while processing function 347[10]..342[4]..348[4]..346: How can I know the name out of the number of function that causes error ? Thank you ! -- -- You received this message from

Re: Recognize function name from function number

2016-09-09 Thread Ni Va
On Thursday, September 8, 2016 at 5:19:24 PM UTC+2, Luc Hermitte wrote: > Hi, > > > I have some called functions from each others and an error occurs at > > call of one of them : > > > > Error detected while processing function > > 347[10]..342[4]..348[4]..346: > > > > How can I know the name

Re: Value of $VIM differs 7.4 2344 vs 8

2016-09-15 Thread Ni Va
On Thursday, September 15, 2016 at 12:24:20 PM UTC+2, Bram Moolenaar wrote: > Ni Va wrote: > > > With this folders structure under windows 10

  1   2   3   4   5   6   >