On Aug 9, 10:01 pm, Gary Johnson <[email protected]> wrote: > On 2011-08-08, sinbad wrote: > > hi, > > > i want to map forward/backward search / and ? to a function. > > basically i want to set a variable whenever i search and rest > > of the / and ? functionality should be same. how can i do that. > > is there any better way to do it rather than mapping /, like > > constructor > > function being called every time i search. > > See $VIMRUNTIME/macros/less.vim for a good example of mapping / and > ? to functions. > > Regards, > Gary
Hi Gary, thanks for the pointer, this looks promising. i will give it a try. thanks -- 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
