Hitting enter twice after make?

2011-07-19 Thread ranou...@gmx.com
When using :make, we have sometimes to hit enter twice 1) after make was executed (as any !shell_cmd) 2) once more to close a window showing the same information as :cc it seems. (something like (3 sur 5) : error: expected ‘;’ before ‘std’ ) In fact sometimes 2) does not occur and 2) is

Re: Visually select current match

2011-07-19 Thread Warwick Allen
:nmap ,n /C-R//bCRma/C-R//eCRmb`av`b :vmap ,n ESC/C-R//bCRma/C-R//eCRmb`av`b (using ,n instead of clobbering n) On Jul 19, 5:53 pm, Gary Johnson garyj...@spocom.com wrote: On 2011-07-18, philipx wrote: Is there a way to have vim visually select (not just hlsearch) the current match? That

Re: Virtual edit: Insert text at specific column, even on empty rows

2011-07-19 Thread Ben Fritz
On Jul 18, 8:51 am, Paul paul.domas...@gmail.com wrote: On Jul 17, 2:28 pm, Tony Mechelynck antoine.mechely...@gmail.com wrote: You can always install Vim on a subdirectory of your home directory. I'm not sure what options there are in the installer of the Vim without Cream

Re: arrow keys don't move cursor but output ABCD in INSERT mode

2011-07-19 Thread Ben Schmidt
On 7/07/11 12:00 PM, Ben Schmidt wrote: On 6/07/11 11:40 PM, Ben Schmidt wrote: On 4/07/11 10:56 PM, Tim Chase wrote: On 07/04/2011 03:07 AM, Kent wrote: last weekend I finally did the switch from .vim to vim-addon-manager. after the change, I made some small tests, almost everything looks

Re: where does Win7's VIM read my .vimrc files from?

2011-07-19 Thread Linda W
Tony Mechelynck wrote: On 14/07/11 22:20, Charles Campbell wrote: Try using set fencs=^=utf-16le (see :help :set^= ) and see if that solves your difficulty. I'm ready to stand corrected whenever TonyM gets around to it! Chip Thanks for the compliment, but most has already been said.

Re: making GNU screen, bash and vim work with a new X server

2011-07-19 Thread Imran
Sam, thanks for sharing your tip :). As it happens, I went a different route (after first trying xmove xpra - neither worked reliably). I fork the window manager into the background, and keep a sleep job running in the foreground. That way, whenever I have to bounce my window manager (I use

a question about path where the files to be edited are

2011-07-19 Thread Jose Caballero
Hi all, I have been using so far with success this plugin [1], which allowed me to jump from logs files directly to the source code file and specific line where a given log message was generated. However, it worked because the source files where placed in the same directory where the log files

Re: a question about path where the files to be edited are

2011-07-19 Thread Gary Johnson
On 2011-07-19, Jose Caballero wrote: Hi all, I have been using so far with success this plugin [1], which allowed me to jump from logs files directly to the source code file and specific line where a given log message was generated. However, it worked because the source files where placed

Re: Visually select current match

2011-07-19 Thread philipx
Thank you very much! :nmap ,n /C-R//bCRma/C-R//eCRmb`av`b Would you mind confirming my understanding is correct: /C-R//bCR - / and inserts the last search (C-r/) pattern then appends /b so that it stops at the beginning of the match ma - sets marker a (at the beginning of the match) /C-R//eCR

Re: Visually select current match

2011-07-19 Thread ZyX
Reply to message «Re: Visually select current match», sent 06:59:42 20 July 2011, Wednesday by philipx: Yes, but you don't need C-r/ because //bCR will do the same job. I would write this as nnoremap ,n //bCRv//eCR By the way, don't use *map unless you know why you are doing this. Original