diff options
author | Teddy Wing | 2014-05-26 14:39:14 -0400 |
---|---|---|
committer | Teddy Wing | 2014-05-26 14:39:14 -0400 |
commit | 7b091cedf8d112a6e22e201c731829039f67a443 (patch) | |
tree | f9202a69f6fe52e5d5e09776bb668bfb03c0d226 | |
parent | e9a3ee3c264fa3d002f1cc559d353021b4d2ddcf (diff) | |
download | dotvim-7b091cedf8d112a6e22e201c731829039f67a443.tar.bz2 |
vimrc: add mappings for next/previous in quickfix window
-rw-r--r-- | vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 <leader>/ :nohlsearch<cr> " Tabs nnoremap <leader>tn :tabnew<cr> +" Quickfix +nnoremap ]q :cnext<cr> +nnoremap [q :cprevious<cr> + + " Commands " ======== |