RE: vimdiff: how to calculate "delta" for digits in different lines?

2012-12-07 Thread Roy Fulbright
Date: Sat, 8 Dec 2012 00:58:09 -0500 From: songpingem...@gmail.com To: vim_use@googlegroups.com CC: rfulb...@hotmail.com Subject: Re: vimdiff: how to calculate "delta" for digits in different lines? On 12/8/2012 12:20 AM, Roy Fulbright wrote: > > Date: Fri, 7 Dec 2012

Re: vimdiff: how to calculate "delta" for digits in different lines?

2012-12-07 Thread ping
On 12/8/2012 12:20 AM, Roy Fulbright wrote: > Date: Fri, 7 Dec 2012 23:50:17 -0500 > > From: songpingem...@gmail.com > > To: vim_use@googlegroups.com > > Subject: vimdiff: how to ignore all same lines and show ONLY diff lines? > > > > exports: > > by default vimdiff will not only show the dif

RE: vimdiff: how to ignore all same lines and show ONLY diff lines?

2012-12-07 Thread Roy Fulbright
> Date: Fri, 7 Dec 2012 23:50:17 -0500 > From: songpingem...@gmail.com > To: vim_use@googlegroups.com > Subject: vimdiff: how to ignore all same lines and show ONLY diff lines? > > exports: > by default vimdiff will not only show the diff lines, but also show a > couple of same lines to give you

Re: vimdiff: how to ignore all same lines and show ONLY diff lines?

2012-12-07 Thread Tony Mechelynck
On 08/12/12 05:50, ping wrote: exports: by default vimdiff will not only show the diff lines, but also show a couple of same lines to give you a sense of context. how to suppress all same lines and display only those diff lines? regards ping see :help 'diffopt' " context:{n}

vimdiff: how to ignore all same lines and show ONLY diff lines?

2012-12-07 Thread ping
exports: by default vimdiff will not only show the diff lines, but also show a couple of same lines to give you a sense of context. how to suppress all same lines and display only those diff lines? regards ping -- You received this message from the "vim_use" maillist. Do not top-post! Type you

Re: calling a function on bufenter,bufnew,bufread

2012-12-07 Thread David Fishburn
On Dec 7, 2012, at 5:18 PM, Gary Johnson wrote: > On 2012-12-07, Chris Lott wrote: >> On Fri, Dec 7, 2012 at 10:32 AM, Marcin Szamotulski wrote: >>> On 06:46 Fri 07 Dec , Chris Lott wrote: function! WW() :set showtabline=0 :set noshowmode :set laststatus=0 :set

Search Vam Packages

2012-12-07 Thread Sayth Renshaw
Hi Is there a simple way to search VAM repositories to know what is available and what exact format we should write our plugins in. Other than obviously just searching google for packages. For example writing syntastic fails where Syntastic succeeds. Sayth -- You received this message from the

Re: Full screen writing, a la Omm Writer in vim

2012-12-07 Thread stosss
On Fri, Dec 7, 2012 at 3:55 PM, Erik Falor wrote: > > Now I'm curious. I imagine that I could emulate much of the OmmWriter > experience by running Vim in a full-screened, chromeless terminal in a > compositing windowmanager with electric sheep running in the root > window, and typing on a classi

Re: calling a function on bufenter,bufnew,bufread

2012-12-07 Thread Gary Johnson
On 2012-12-07, Chris Lott wrote: > On Fri, Dec 7, 2012 at 10:32 AM, Marcin Szamotulski wrote: > > On 06:46 Fri 07 Dec , Chris Lott wrote: > >> function! WW() > >> :set showtabline=0 > >> :set noshowmode > >> :set laststatus=0 > >> :set noruler > >> :set noshowcmd > >> :call VimWrite

Slow vim (gvim) 7.3 on first startup

2012-12-07 Thread Rick
Background: I installed Vim 7.3 from Solaris 8 library packages downloaded from unixpackages.com (formerly sunfreeware.com) on a Solaris 10 machine to an nfs mounted NetApp file system. Problem: After invoking gvim for example from the command line, it takes about 5-10 seconds for the GUI to be di

Re: Full screen writing, a la Omm Writer in vim

2012-12-07 Thread James Freer
On Fri, 7 Dec 2012, Ben Fritz wrote: On Friday, December 7, 2012 11:57:00 AM UTC-6, robslav wrote: Hey all, I really dig the full screen writing and sound features of Omm Writer, and I was wondering if there was any way to customize vim to do a similar thing. Would this be possible with a vi

Re: Full screen writing, a la Omm Writer in vim

2012-12-07 Thread Erik Falor
On Fri, Dec 07, 2012 at 11:41:17AM -0800, Ben Fritz wrote: > On Friday, December 7, 2012 11:57:00 AM UTC-6, robslav wrote: > > Hey all, > > > > I really dig the full screen writing and sound features of Omm Writer, and > > I was wondering if there was any way to customize vim to do a similar > >

Re: calling a function on bufenter,bufnew,bufread

2012-12-07 Thread Chris Lott
On Fri, Dec 7, 2012 at 10:32 AM, Marcin Szamotulski wrote: > On 06:46 Fri 07 Dec , Chris Lott wrote: >> function! WW() >> :set showtabline=0 >> :set noshowmode >> :set laststatus=0 >> :set noruler >> :set noshowcmd >> :call VimWriteRoom() >> endfunction >> >> nnoremap WW :call WW()

Re: calling a function on bufenter,bufnew,bufread

2012-12-07 Thread Chris Lott
On Fri, Dec 7, 2012 at 10:43 AM, Ben Fritz wrote: > > au BufNewFile,BufEnter,BufRead vimperator.txt call WW() > > In the future, or if this doesn't solve your problem, "it isn't working" is > not helpful at all Sorry, I will amend it to the complete problem: "the call to the function in the a

Re: calling a function on bufenter,bufnew,bufread

2012-12-07 Thread Ben Fritz
On Friday, December 7, 2012 9:46:10 AM UTC-6, Chris Lott wrote: > > au BufNewFile,BufEnter,BufRead vimperator.txt :call WW() > Autocmds take ex commands, not normal mode mapping sequences. So, this code should be: au BufNewFile,BufEnter,BufRead vimperator.txt call WW() In the future, or if

Re: Full screen writing, a la Omm Writer in vim

2012-12-07 Thread Tim Chase
> I really dig the full screen writing and sound features of Omm > Writer, and I was wondering if there was any way to customize vim > to do a similar thing. Would this be possible with a vimscript? I > don't know much about scripting vim, but I would like to learn > more, especially if I could get

Re: Full screen writing, a la Omm Writer in vim

2012-12-07 Thread Ben Fritz
On Friday, December 7, 2012 11:57:00 AM UTC-6, robslav wrote: > Hey all, > > I really dig the full screen writing and sound features of Omm Writer, and I > was wondering if there was any way to customize vim to do a similar thing. > Would this be possible with a vimscript? I don't know much abou

Re: calling a function on bufenter,bufnew,bufread

2012-12-07 Thread Marcin Szamotulski
On 06:46 Fri 07 Dec , Chris Lott wrote: > I have the following in my .vimrc -- but the call to the function > isn't working. If I call the function manually after it opens, it > works fine. The filename is set to vimperator.txt. Do I have to do > something different to call a function in this w

Full screen writing, a la Omm Writer in vim

2012-12-07 Thread robslav
Hey all, I really dig the full screen writing and sound features of Omm Writer, and I was wondering if there was any way to customize vim to do a similar thing. Would this be possible with a vimscript? I don't know much about scripting vim, but I would like to learn more, especially if I could

calling a function on bufenter,bufnew,bufread

2012-12-07 Thread Chris Lott
I have the following in my .vimrc -- but the call to the function isn't working. If I call the function manually after it opens, it works fine. The filename is set to vimperator.txt. Do I have to do something different to call a function in this way? function! WW() :set showtabline=0 :set nosh