]> oss.titaniummirror.com Git - smckown/dotfiles.git/blobdiff - vim/vimrc
vim: <Leader>e uses unite mkbfiles
[smckown/dotfiles.git] / vim / vimrc
index 0b689fc366dd8e325f4e021b6375b6b922ddf2e1..9007208d583cf8a889370a12d58e06c08115c271 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -355,8 +355,11 @@ nnoremap cop :DelimitMateSwitch<CR>
 " Rainbow Parenthesis -- off by default but set toggle
 nnoremap co( :RainbowParenthesesToggle<CR>
 
+" Toggle git gutter
+nnoremap cog :GitGutterToggle<CR>
+
 " mkbuild tools
-nnoremap <silent> <leader>e :call mkbuild#DmenuOpen('e')<CR>
+nnoremap <leader>e :<C-u>Unite -start-insert -buffer-name=files mkbfiles<CR>
 nnoremap <leader>x :<C-u>Unite -buffer-name=xrefs xrefs<cr>
 
 " Turn on doxygen syntax highlighting for C, C++, C# and IDL files.
@@ -420,6 +423,9 @@ 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>: :<C-u>Unite -start-insert -direction=dynamicbottom -buffer-name=command history/command<cr>
+nnoremap <leader>/ :<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()