On Thu, Feb 16, 2012 at 23:23, Christian Brabandt <[email protected]>wrote:
> > I think, these 2 mappings should do what you want: > > nnoremap <expr> n search(@/, 'nW' . (v:searchforward ? '' : 'b')) ? 'n' : > "\<ESC>" . (&ws ? 'n' : '') > > nnoremap <expr> N search(@/, 'nW' . (v:searchforward ? 'b' : '')) ? 'N' : > "\<ESC>" . (&ws ? 'N' : '') > > (each one a single line, in case it wraps in the mail.) Thanks! That works great. -- Jay -- 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
