Re: Search backwards in script

2015-04-13 Thread thinca
Try following: let v:searchforward = 0 Regards, -- thinca thi...@gmail.com 2015-04-13 18:02 GMT+09:00 av alexandrev...@gmail.com: Hi, I know it is possible to set a search by doing let @/ = 'searchString' but there is not the possibility to do let @? = 'searchString' to search

Search backwards in script

2015-04-13 Thread av
Hi, I know it is possible to set a search by doing let @/ = 'searchString' but there is not the possibility to do let @? = 'searchString' to search backwards, the register just doesn't exists. My question is: is there a way to simulate this or to search backwards in a script? Thank you,

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

Re: MacVim: ce and cw both seem to do the same thing: Delete the word starting from the cursor to the end of the word and enable Insert mode.

2015-04-13 Thread Bidit Mazumder
Thank you. On Sunday, April 12, 2015 at 11:39:33 PM UTC+3, Justin M. Keyes wrote: On Sun, Apr 12, 2015 at 12:45 PM, Bidit Mazumder Bidit Mazumder wrote: I'm using MacVim (Snapshot 70) and, in Normal mode, ce and cw both seem to do the same thing: Delete the word starting from the cursor to

python_mode how to control command used for syntax checking

2015-04-13 Thread Shaggy1
Hi I have updated my vim environment to use the python_mode plugin which includes support for syntax checking. From what I have read this allows you to set the checking using the something like the following command in .vimrc: let g:pymode_lint_checker = pyflakes,pep8 However it seems whenever

Re: Search backwards in script

2015-04-13 Thread Marcin Szamotulski
On 02:02 Mon 13 Apr , av wrote: Hi, I know it is possible to set a search by doing let @/ = 'searchString' but there is not the possibility to do let @? = 'searchString' to search backwards, the register just doesn't exists. It does not make a search, it only changes the search

Re: quickfix information

2015-04-13 Thread hermitte
Hello, I did not expect that many reactions. This is nice. Thank you all for your interest in the matter. Ah, but as long as you are OK with that information showing up in the title, if you can set w:quickfix_title to an arbitrary string, then you *can* store arbitrary data associated

Re: overriding statusline when using airline

2015-04-13 Thread Christian Brabandt
Am 2015-04-13 02:06, schrieb Mark Volkmann: I use the airline plugin to set my statusline. I'm writing a custom plugin that changes the statusline for a specific filetype foo. I do that in ftplugin/foo.vim with the following line: setlocal statusline=test I also have the appropriate

Re: How to omit x subsitutions on y lines in status bar when s[ubstitute] command is used?

2015-04-13 Thread Christian Brabandt
Am 2015-04-13 14:30, schrieb Igor Forca: Hi, I use Vim 7.4 on Windows 7. I have a plan text file that I need to do many find/replace on text. I have written bellow vimscript and save it in myvimfile.vim file. map comma as a leaderkey :let mapleader = , write function function! ReplaceIt()

How to omit x subsitutions on y lines in status bar when s[ubstitute] command is used?

2015-04-13 Thread Igor Forca
Hi, I use Vim 7.4 on Windows 7. I have a plan text file that I need to do many find/replace on text. I have written bellow vimscript and save it in myvimfile.vim file. map comma as a leaderkey :let mapleader = , write function function! ReplaceIt() %s/^\(.\+\)$/('\1');/ge