]> oss.titaniummirror.com Git - smckown/dotfiles.git/commitdiff
vim: <Leader>e uses unite mkbfiles
authorR. Steve McKown <rsmckown@gmail.com>
Mon, 18 Jan 2016 00:23:18 +0000 (17:23 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Mon, 18 Jan 2016 00:23:21 +0000 (17:23 -0700)
By using the latest unite integration as part of the vim-mkbuild plugin,
dmenu is no longer required.  Don't get me wrong -- dmenu is a stellar
tool and I use it for many purposes on my desktop configuration.
However, I'd prefer for my vim configuration to be less dependent on
desktop features.  Also, since I'm using unite in several other ways,
moving the method to select project source files to unite provides
greater consistency.

vim/vimrc

index f5e903ddb18027e663c4cfe90cf869127b97b6e6..9007208d583cf8a889370a12d58e06c08115c271 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -359,7 +359,7 @@ nnoremap co( :RainbowParenthesesToggle<CR>
 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.