Re: What does ^S work?

2011-12-05 Thread Anthony Campbell
On 04 Dec 2011, IL HAN wrote: Hi, I use VIM 7.1 OS: Linux (kernel version 2.6.34) CPU: Intel Core 2 Duo When I hold down the [CTRL] key and press the 's' key simultaneously (both in command mode or insert mode), since then, any key and any command

Call external command with stdin

2011-12-05 Thread Ovid
Hi all, I am trying to write an extract method function like this: vmap leadere :call ExtractSub()cr function! ExtractSub() range yank selection into x normal gvxy let code = shellescape(join(getline(a:firstline, a:lastline),\n)) let subname =

Re: Call external command with stdin

2011-12-05 Thread Ben Fritz
On Dec 5, 9:31 am, Ovid publiustemp-...@yahoo.com wrote: Hi all, I am trying to write an extract method function like this: vmap leadere :call ExtractSub()cr                                          function! ExtractSub() range yank selection into x normal gvxy let code    =

Re: jumping position

2011-12-05 Thread Zind
well, you may also try g; :h g; On Fri, Dec 2, 2011 at 11:43 PM, shawn wilson ag4ve...@gmail.com wrote: ty On Fri, Dec 2, 2011 at 10:23, György Kiss w2lk...@gmail.com wrote: CTRL-O :help CTRL-O On 2011.12.02., at 16:20, shawn wilson wrote: is there a way to go back to the previous

Re: How to make _vimrc turn spell checker on for .txt files?

2011-12-05 Thread Zind
:h au On Mon, Dec 5, 2011 at 2:48 PM, wolfv wolfvo...@gmail.com wrote: Thanks Rich. After adding the code to my vimrc file and opening Vim, a pop-up message says: E492: Not an editor command: Au BufRead,BufNewFile *.txt setlocal spell on On Dec 4, 10:29 pm, Rich Healey

Re: How to give middle mouse button emulation more time?

2011-12-05 Thread Tim Chase
On 12/04/11 21:10, Paul Maier wrote: vim emulates a middle mouse button press by clicking left and right mouse button simultaneously. Works fine. But often I'm too slow to click both buttons at the very same time. I'm too slow for the default emulation tolerance. You omit whether you're

Re: How to make _vimrc turn spell checker on for .txt files?

2011-12-05 Thread Rich Healey
My apologies. Bashing out mail quickly and not proofreading, shame on me. -- 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 http://www.vim.org/maillist.php

Re: How to make _vimrc turn spell checker on for .txt files?

2011-12-05 Thread wolfv
Thanks rgen and Zind. Lowercase au fixed it. It's good to use :h. On Dec 5, 12:03 am, Jürgen Krämer jottka...@googlemail.com wrote: Hi, wolfv wrote: Thanks Rich.  After adding the code to my vimrc file and opening Vim, a pop-up message says: E492: Not an editor command: Au

Re: GVim Win32 on Win7 suddenly very slow to load

2011-12-05 Thread Greg Underwood
Does your Windows shortcut run a cygwin gvim? I'm not sure where cygwin fits into this picture, otherwise. You do know there is a native Vim installer for Windows, right? I'm wondering if the extra startup time for the shortcut might have to do with starting the cygwin environment or

Re: GVim Win32 on Win7 suddenly very slow to load

2011-12-05 Thread Ben Fritz
On Dec 5, 8:47 pm, Greg Underwood greg.underw...@gmail.com wrote: Does your Windows shortcut run a cygwin gvim? I'm not sure where cygwin fits into this picture, otherwise. You do know there is a native Vim installer for Windows, right? I'm wondering if the extra startup time for the

gvim window size narrower than normal

2011-12-05 Thread alick
Hi, I use Fedora 16 and gvim shipped from the software repo. I experience a strange and annoying problem: When I am in gnome-terminal(80x24) and type gvim to start GVim(GTK), the window lines is less than normal(24 lines). When cmd line height(ch) is 2, lines=20; when ch is 1, lines=19. I also

Re: GVim Win32 on Win7 suddenly very slow to load

2011-12-05 Thread Christian Brabandt
On Tue, December 6, 2011 3:47 am, Greg Underwood wrote: My assumption is that they are therefore sharing all the same config files and that I really am launching the same executable with the same config. Is there a way I can ask GVim to tell me what all config files (with full paths) it's

Re: GVim Win32 on Win7 suddenly very slow to load

2011-12-05 Thread Christian Brabandt
On Tue, December 6, 2011 5:31 am, Ben Fritz wrote: I'd start by narrowing it down to plugins vs. your .vimrc. Try all of: gvim -i NONE (to check for the .viminfo/_viminfo file containing something ridiculous) gvim -N -u NORC -i NONE (to check for .vimrc/_vimrc causing it) gvim -N

Re: GVim Win32 on Win7 suddenly very slow to load

2011-12-05 Thread George V. Reilly
On Mon, Dec 5, 2011 at 10:23 PM, Christian Brabandt cbli...@256bit.org wrote: On Tue, December 6, 2011 5:31 am, Ben Fritz wrote: I'd start by narrowing it down to plugins vs. your .vimrc. Try all of: gvim -i NONE (to check for the .viminfo/_viminfo file containing something ridiculous)