diff options
-rw-r--r-- | dotfiles/.config/nvim/init.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 8af4775..5074dfc 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -15,6 +15,7 @@ let mapleader =" " colorscheme ultramar " set encoding=utf-8 set number + set relativenumber " airline let g:airline_left_sep='' @@ -34,6 +35,9 @@ let mapleader =" " " To avoid switching between keyboards set langmap=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯХЪБЮ;ABCDEFGHIJKLMNOPQRSTUVWXYZ{}<>,фисвуапршолдьтщзйкыегмцчняхъэ;abcdefghijklmnopqrstuvwxyz[]' +" Toggle relative line numbers + map <leader>r :set invrelativenumber<CR> + " Shortcutting split navigation, saving a keypress: map <C-h> <C-w>h map <C-j> <C-w>j |