Sanchayan Maity
efe3e7e517
This reverts commit e6397864d0
.
This was actually wrong. nnoremap should be always what we want. For
example, this broke the <Leader>r mapping for gitrebase and would invoke
:Reword from lambdalisue/reword.vim.
17 lines
416 B
VimL
17 lines
416 B
VimL
" Always open QF window at the bottom
|
|
wincmd J
|
|
" Quit vim if the last window is qf
|
|
autocmd! BufEnter <buffer> if winnr('$') < 2| q | endif
|
|
|
|
setlocal scrolloff=0
|
|
setlocal nowrap
|
|
setlocal norelativenumber number
|
|
setlocal linebreak
|
|
setlocal nolist
|
|
setlocal nocursorline
|
|
setlocal nobuflisted
|
|
setlocal nospell
|
|
|
|
nnoremap <buffer> [- :colder<CR>
|
|
nnoremap <buffer> ]+ :cnewer<CR>
|
|
nnoremap <buffer> <Leader>g :Cfilter<SPACE>
|