From: R. Steve McKown Date: Sun, 17 Jan 2016 19:12:00 +0000 (-0700) Subject: vim: update bindings for command and search history X-Git-Url: https://oss.titaniummirror.com/gitweb?p=smckown%2Fdotfiles.git;a=commitdiff_plain;h=2be2e6e2487a69e2a88ac022d4096a2fb51249f5 vim: update bindings for command and search history Shorten command history search via Unite! to :, similar to the normal command buffer access via q:. Similarly, / to search search history via Unite!. Don't override the vim standard mappings of q: and q/. --- diff --git a/vim/vimrc b/vim/vimrc index 0468be2..0826896 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -421,10 +421,8 @@ nnoremap uy :Unite -no-split -buffer-name=yank history/yank nnoremap ub :Unite -no-split -start-insert -buffer-name=buffer buffer nnoremap uo :Unite -no-split -start-insert -buffer-name=outline outline nnoremap ul :Unite -no-split -start-insert -buffer-name=lines line -nnoremap u: :Unite -no-split -start-insert -buffer-name=command history/command -nnoremap u/ :Unite -no-split -start-insert -buffer-name=search history/search -nnoremap q: :Unite -start-insert -direction=dynamicbottom -buffer-name=command history/command -nnoremap q/ :Unite -start-insert -direction=dynamicbottom -buffer-name=search history/search +nnoremap : :Unite -start-insert -direction=dynamicbottom -buffer-name=command history/command +nnoremap / :Unite -start-insert -direction=dynamicbottom -buffer-name=search history/search " Custom mappings for the unite buffer autocmd FileType unite call s:unite_settings()