Skip to content

Instantly share code, notes, and snippets.

@jbking
Created September 29, 2011 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbking/1250157 to your computer and use it in GitHub Desktop.
Save jbking/1250157 to your computer and use it in GitHub Desktop.
nnoremap <expr> / ':<C-u>Unite -start-insert -buffer-name="search-' . buffer_number('%') . '" line<CR>'
nnoremap <expr> * ':<C-u>UniteWithCursorWord -buffer-name="search-' . buffer_number('%') . '" line<CR>'
nnoremap <expr> n ':<C-u>UniteResume -no-start-insert -buffer-name="search-' . buffer_number('%') . '"<CR>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment