nvim: init.vim: Add comfortable motion
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
754f80a43e
commit
6fbc3fae0f
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,7 @@ Plug 'rhysd/vim-clang-format', { 'for': [ 'c', 'cpp'] }
|
||||||
Plug 'pelodelfuego/vim-swoop'
|
Plug 'pelodelfuego/vim-swoop'
|
||||||
Plug 'adelarsq/vim-matchit'
|
Plug 'adelarsq/vim-matchit'
|
||||||
Plug 'stefandtw/quickfix-reflector.vim'
|
Plug 'stefandtw/quickfix-reflector.vim'
|
||||||
|
Plug 'yuttie/comfortable-motion.vim'
|
||||||
|
|
||||||
" Initialize plugin system
|
" Initialize plugin system
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
@ -405,6 +406,9 @@ let g:workspace_session_directory = $HOME . '/.vim/session/'
|
||||||
let g:workspace_undodir = $HOME . '/.vim/undodir'
|
let g:workspace_undodir = $HOME . '/.vim/undodir'
|
||||||
let g:workspace_autosave = 0
|
let g:workspace_autosave = 0
|
||||||
let g:workspace_autosave_ignore = ['gitcommit', 'qf', 'nerdtree', 'tagbar']
|
let g:workspace_autosave_ignore = ['gitcommit', 'qf', 'nerdtree', 'tagbar']
|
||||||
|
" For comfortable motion
|
||||||
|
let g:comfortable_motion_scroll_down_key = "j"
|
||||||
|
let g:comfortable_motion_scroll_up_key = "k"
|
||||||
|
|
||||||
" Default indentations
|
" Default indentations
|
||||||
autocmd BufRead,BufNewFile */gst-*/*.[ch] set et sw=2
|
autocmd BufRead,BufNewFile */gst-*/*.[ch] set et sw=2
|
||||||
|
|
Loading…
Reference in a new issue