diff --git a/.vimrc b/.vimrc --- a/.vimrc +++ b/.vimrc @@ -111,7 +111,10 @@ end " Key maps, mostly plugin stuff on F-keys {{{ + +" F1 - Unite to switch buffers nmap :Unite -auto-resize -direction=dynamicbottom buffer +" S-F1 - Unite to switch windows or tabs nmap :Unite -winheight=5 -quick-match -short-source-names window tab:no-current nmap :VimFilerExplorer nmap :VimShell @@ -127,16 +130,11 @@ else nmap :Unite -start-insert file_rec/async:! endif -" F-n keys call out to normal mode from insert mode -" only :noh seems smart to do. +" stop opening help by mistake imap -"imap -"imap + +" let F4, :noh work as-is in insert mode imap -"imap -"imap -"imap -"imap " chdir to the directory of the open buffer map cd :cd %:p:h:pwd @@ -149,6 +147,7 @@ nmap j nmap k nmap l +" clear all interestingwords with \\k since \K is ri.vim nnoremap k :call UncolorAllWords() "}}} @@ -369,6 +368,8 @@ let g:airline#extensions#whitespace#enab "keep bufferline from writing into the command line let g:bufferline_echo = 0 + +"cycle the bufferline with current buf in 2nd-to-last spot let g:bufferline_rotate = 1 let g:bufferline_fixed_index = -2 @@ -387,6 +388,7 @@ let g:signify_mapping_toggle = ' let g:interestingWordsGUIColors = ['#C4A258', '#D8AD4C', '#6AADA0', '#71B9F8', '#A037B0', '#CF6A4C'] let g:interestingWordsRandomiseColors = 1 + ">> neocomplcache " Disable AutoComplPop. let g:acp_enableAtStartup = 0