mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-27 05:34:35 +00:00
Add quick movement remaps to nvim
This commit is contained in:
parent
87e8c0dfb0
commit
aae924f1a4
|
@ -46,6 +46,8 @@ set splitbelow splitright " Split in more natural way
|
||||||
set autoread " Reload files on change
|
set autoread " Reload files on change
|
||||||
set mouse=a " Enable mouse mode
|
set mouse=a " Enable mouse mode
|
||||||
set encoding=utf-8 " Use UTF-8, not ASCII (May cause issues on TTY)
|
set encoding=utf-8 " Use UTF-8, not ASCII (May cause issues on TTY)
|
||||||
|
set path+=** " Search down into subfolders with tab completion
|
||||||
|
set wildmenu " Display all matching files when we tab complete
|
||||||
"set termguicolors " Use true colors (256) (May cause issues on TTY)
|
"set termguicolors " Use true colors (256) (May cause issues on TTY)
|
||||||
|
|
||||||
" Disable automatic commenting on newline
|
" Disable automatic commenting on newline
|
||||||
|
@ -85,6 +87,10 @@ nnoremap <Left> <nop>
|
||||||
nnoremap <Right> <nop>
|
nnoremap <Right> <nop>
|
||||||
nnoremap <Up> <nop>
|
nnoremap <Up> <nop>
|
||||||
|
|
||||||
|
" Use shift to move 10 lines up/down quickly
|
||||||
|
noremap <silent> K 10k
|
||||||
|
noremap <silent> J 10j
|
||||||
|
|
||||||
" User interface / Theme
|
" User interface / Theme
|
||||||
colorscheme onedark
|
colorscheme onedark
|
||||||
set guioptions-=m " remove menubar
|
set guioptions-=m " remove menubar
|
||||||
|
|
Loading…
Reference in a new issue