Sfoglia il codice sorgente

update Todos to use current username

wreed4 10 anni fa
parent
commit
c61c569b38
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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