]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
Makefile: add target for git
[dotfiles.git] / vim / vimrc
index b4d3a3e5642679a7e4b95fbf6f3e0618b4befee1..2fe6f593f4a2110ed402a35c0fca7e411b2af526 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -657,6 +657,7 @@ if executable('ag')
     let g:unite_source_grep_recursive_opt = ''
 end
 nnoremap <silent> [unite]a :<C-u>Unite grep:.::\12\17<CR>
+nnoremap <silent> [unite]A :<C-u>Unite grep:.:-w:\12\17<CR>
 command! -nargs=1 Ag Unite grep:.::<args>
 
 " unite-file_rec {{{3
@@ -839,8 +840,8 @@ function! FindGitDirOrHome()
   endif
 endfunction
 command! Cd cd %:h
-command! Cr execute('cd ' . FindGitDirOrHome())
+command! Cdr execute('cd ' . FindGitDirOrHome())
 command! LCd lcd %:h
-command! LCr execute('lcd ' . FindGitDirOrHome())
+command! LCdr execute('lcd ' . FindGitDirOrHome())
 
 " vim:set et sw=2 ts=2 tw=78: