From 7b091cedf8d112a6e22e201c731829039f67a443 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 26 May 2014 14:39:14 -0400 Subject: vimrc: add mappings for next/previous in quickfix window --- vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 714d360..951e641 100644 --- a/vimrc +++ b/vimrc @@ -157,6 +157,10 @@ " * Set `cursorline` to highlight the current line. Shame it doesn't " play nice with soft wrapping but I'm going to try it out for now. " +" 2014.05.26: +" * Add :cnext and :cprevious mappings for easier navigation in the +" quickfix window. Key pairs taken from Tim Pope's unimpaired.vim. +" " Pathogen @@ -432,6 +436,11 @@ nnoremap / :nohlsearch " Tabs nnoremap tn :tabnew +" Quickfix +nnoremap ]q :cnext +nnoremap [q :cprevious + + " Commands " ======== -- cgit v1.2.3