From 2be2e6e2487a69e2a88ac022d4096a2fb51249f5 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Sun, 17 Jan 2016 12:12:00 -0700 Subject: [PATCH] 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/. --- vim/vimrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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() -- 2.39.2