asterisk.vim 309 B

12345678910
  1. " vim-asterisk
  2. " Improved * and # behaviour
  3. " - cursor does not immediately jump
  4. " - relative cursor position across */# searches remain
  5. " - works with visual selection
  6. map * <Plug>(asterisk-z*)
  7. map # <Plug>(asterisk-z#)
  8. map g* <Plug>(asterisk-gz*)
  9. map g# <Plug>(asterisk-gz#)
  10. let g:asterisk#keeppos = 1