From fd4656bf339b323a990a57cb5eb8ab749583a5eb Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Tue, 13 Oct 2015 15:51:30 +0200 Subject: [PATCH] Ag and Tasks --- bundles.vim | 1 + vimrc | 3 +++ 2 files changed, 4 insertions(+) diff --git a/bundles.vim b/bundles.vim index 5f02246..87936bd 100644 --- a/bundles.vim +++ b/bundles.vim @@ -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' diff --git a/vimrc b/vimrc index e470f46..64e3b1c 100644 --- a/vimrc +++ b/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("$")