Explorar o código

update Todos to use current username

wreed4 %!s(int64=10) %!d(string=hai) anos
pai
achega
c61c569b38
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vimrc

+ 1 - 1
vimrc

@@ -585,7 +585,7 @@ vnoremap <silent> # :call VisualSelection('b')<CR>
 
 "{{{ ***** COMMANDS ***** " 
 " make todo list
-command! -nargs=* -complete=file Todos Unite -keep-focus -auto-resize -no-quit -buffer-name=Todos vimgrep:*:TODO(wreed)
+command! -nargs=* -complete=file Todos execute "Unite -keep-focus -auto-resize -no-quit -buffer-name=Todos vimgrep:*:TODO(" . expand("$USER") . ")"
 
 "Wrapper for make sequence
 "replaced by vim-dispatch plugin