mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
Ag and Tasks
This commit is contained in:
parent
1317240bb2
commit
fd4656bf33
2 changed files with 4 additions and 0 deletions
3
vimrc
3
vimrc
|
|
@ -129,6 +129,9 @@ let g:rubycomplete_buffer_loading = 1
|
|||
let g:rubycomplete_classes_in_global = 1
|
||||
set completeopt+=longest
|
||||
|
||||
" quick task list
|
||||
command Tasks Ag '(TODO|FIX(?:ME|)|HACK|XXX|OPT(?:IMIZE|)|BUG|WTF|NOTE|CHANGED|REVIEW|IDEA):?\s?(.+$)'
|
||||
|
||||
" restore last known cursor position
|
||||
function! ResCur()
|
||||
if line("'\"") <= line("$")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue