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
|
|
@ -24,6 +24,7 @@ Bundle 'bling/vim-airline'
|
|||
Bundle 'scrooloose/nerdtree'
|
||||
Bundle 'ervandew/supertab'
|
||||
Bundle 'scrooloose/syntastic'
|
||||
Bundle 'rking/ag.vim'
|
||||
|
||||
Bundle 'kchmck/vim-coffee-script'
|
||||
Bundle 'vim-scripts/glsl.vim'
|
||||
|
|
|
|||
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