> y/<space> > > . Is there a way to sitch off hlsearch when using y and other action > which are not "searching for something" actions from the users point > of view ? Don't think there is an easy way to do this... It's no problem to switch it on or off (just use a mappinng noremap / :set hlsearch;/ But I don't see how to switch back.. after that. You may write your own complicated script using getChar and search to simulate things.. something like noremap / :set hlsearch;/<c-r>input("text to search for")<c-r>:set nohlsearch<c-r>.. (Written without testing.. But my prefered way is to use a short mapping: "vim settings noremap <leader>hl :set invhlsearch<cr> noremap <leader>im :set invmodifiable<cr> noremap <leader>lt :set invlist<cr> noremap <leader>iw :set invwrap<cr> noremap <leader>ip :set invpaste<cr> noremap <leader>un :set clipboard=unnamed<cr> noremap <leader>sb :set invscrollbind<cr> noremap <leader>dt :diffthis<cr> noremap <leader>do :diffoff<cr> noremap <leader>dg :diffget<cr> But perhaps someone else has another idea?
Marc Weber