浏览代码

update Todos to use current username

wreed4 10 年之前
父节点
当前提交
c61c569b38
共有 1 个文件被更改,包括 1 次插入1 次删除
  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