]> oss.titaniummirror.com Git - smckown/dotfiles.git/commitdiff
vim/vimrc: add bindings for vim history search
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 14 Jan 2016 19:46:40 +0000 (12:46 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Thu, 14 Jan 2016 19:46:40 +0000 (12:46 -0700)
* Replace 'q:' and 'q/' bindings
* Add <leader>u: and <leader>u/ bindings

vim/vimrc

index 0b689fc366dd8e325f4e021b6375b6b922ddf2e1..0468be2af20cd1e2bac084f1e127e0fb93605221 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -420,6 +420,11 @@ nnoremap <leader>uf :<C-u>Unite -no-split -start-insert -buffer-name=files file_
 nnoremap <leader>uy :<C-u>Unite -no-split -buffer-name=yank history/yank<cr>
 nnoremap <leader>ub :<C-u>Unite -no-split -start-insert -buffer-name=buffer buffer<cr>
 nnoremap <leader>uo :<C-u>Unite -no-split -start-insert -buffer-name=outline outline<cr>
+nnoremap <leader>ul :<C-u>Unite -no-split -start-insert -buffer-name=lines line<cr>
+nnoremap <leader>u: :<C-u>Unite -no-split -start-insert -buffer-name=command history/command<cr>
+nnoremap <leader>u/ :<C-u>Unite -no-split -start-insert -buffer-name=search history/search<cr>
+nnoremap q: :<C-u>Unite -start-insert -direction=dynamicbottom -buffer-name=command history/command<cr>
+nnoremap q/ :<C-u>Unite -start-insert -direction=dynamicbottom -buffer-name=search history/search<cr>
 
 " Custom mappings for the unite buffer
 autocmd FileType unite call s:unite_settings()