runtime! plugin/sensible.vim
nnoremap Y Y
+" Update wildmenu from sensible defaults
+set wildmode=longest:full,full
+
" Set the correct font for gvim
if has("gui_running")
if has("gui_gtk2")
" 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.
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>
+nnoremap <leader>uc :<C-u>Unite -no-split -start-insert -buffer-name=quicklist qf<cr>
+nnoremap <leader>ut :<C-u>Unite -no-split -start-insert -buffer-name=tags tag<cr>
+nnoremap <leader>: :<C-u>Unite -start-insert -buffer-name=command history/command<cr>
+nnoremap <leader>/ :<C-u>Unite -start-insert -buffer-name=search history/search<cr>
" Custom mappings for the unite buffer
autocmd FileType unite call s:unite_settings()