Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove <Leader>q to close quickfix. <C-W>c is fine.

  • Loading branch information...
commit 4e0acd24469bb8d1af75322c47e6137448c0f250 1 parent 8ac029f
Jason Weathered authored

Showing 2 changed files with 0 additions and 13 deletions. Show diff stats Hide diff stats

  1. +0 12 functions.vim
  2. +0 1  keybindings.vim
12 functions.vim
@@ -30,15 +30,3 @@ function! UpdateTags()
30 30 call system('(cd "'.b:git_dir.'/.." && [ "$(pwd)" != /usr/local ] && nice ctags --tag-relative -R -f .git/tags.new --exclude=.git --langmap="ruby:+.rake.builder.rjs" . && mv .git/tags.new .git/tags) &')
31 31 endif
32 32 endfunction
33   -
34   -" Closes the quickfix window if it's open, overwise the focused window.
35   -function! CloseWindow()
36   - for i in range(1, winnr('$'))
37   - let bnum = winbufnr(i)
38   - if getbufvar(bnum, '&buftype') == 'quickfix'
39   - cclose
40   - return
41   - endif
42   - endfor
43   - close
44   -endfunction
1  keybindings.vim
@@ -36,7 +36,6 @@ map <Leader>a ggVG
36 36 " Buffer navigation
37 37 map <Leader>, <C-^>
38 38 map <Leader>w :CommandW<CR>
39   -nmap <silent><Leader>q :call CloseWindow()<CR>
40 39 map <Leader>T :CtrlPClearAllCaches<CR>:CtrlP<CR>
41 40 map <Leader>l :CtrlPBuffer<CR>
42 41

0 comments on commit 4e0acd2

Please sign in to comment.
Something went wrong with that request. Please try again.