nvim: init.vim: Enable vim-togglelist
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
0a9b5e78ca
commit
b9e7a26560
1 changed files with 5 additions and 3 deletions
|
@ -90,6 +90,7 @@ Plug 'zenzike/vim-haskell-unicode'
|
|||
Plug 'lifepillar/pgsql.vim'
|
||||
Plug 'purescript-contrib/purescript-vim'
|
||||
Plug 'mbbill/undotree'
|
||||
Plug 'milkypostman/vim-togglelist'
|
||||
|
||||
" Initialize plugin system
|
||||
call plug#end()
|
||||
|
@ -266,17 +267,17 @@ nnoremap <Leader>hc :HoogleClose<CR>
|
|||
nnoremap <Leader>ho :exe ':Hoogle ' . expand('<cword>')<CR>
|
||||
nnoremap <Leader>hi :exe ':HoogleInfo ' . expand('<cword>')<CR>
|
||||
|
||||
" Quickfix
|
||||
" Quickfix & Location list mappings
|
||||
nnoremap <Leader>fn :cnext<CR>
|
||||
nnoremap <Leader>fp :cprevious<CR>
|
||||
nnoremap <Leader>fo :copen<CR>
|
||||
nnoremap <Leader>fc :cclose<CR>
|
||||
|
||||
" Location
|
||||
nnoremap <Leader>ft :call ToggleQuickfixList()<CR>
|
||||
nnoremap <Leader>ffn :lnext<CR>
|
||||
nnoremap <Leader>ffp :lprevious<CR>
|
||||
nnoremap <Leader>ffo :lopen<CR>
|
||||
nnoremap <Leader>ffc :lclose<CR>
|
||||
nnoremap <Leader>fft :call ToggleLocationList()<CR>
|
||||
|
||||
" Key Bindings to help with terminal mode
|
||||
:tnoremap jk <C-\><C-n>
|
||||
|
@ -432,6 +433,7 @@ let g:workspace_session_disable_on_args = 1
|
|||
" For comfortable motion
|
||||
let g:comfortable_motion_scroll_down_key = "j"
|
||||
let g:comfortable_motion_scroll_up_key = "k"
|
||||
let g:toggle_list_no_mappings = 1
|
||||
|
||||
" Default indentations
|
||||
autocmd BufRead,BufNewFile */gst-*/*.[ch] set et sw=2
|
||||
|
|
Loading…
Reference in a new issue