organized config files and suggested new naming convention (see settings/README).

This commit is contained in:
Kyle West
2012-01-25 13:47:44 -05:00
parent 482006d8b5
commit 4c4938f769
8 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
" Use Q to intelligently close a window
" (if there are multiple windows into the same buffer)
" or kill the buffer entirely if it's the last window looking into that buffer
function! CloseWindowOrKillBuffer()
if(bufwinnr('%')) > 1
wincmd c
else
bdelete
endif
endfunction
nnoremap <silent> Q :call CloseWindowOrKillBuffer()<CR>