aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-08-05 13:18:43 +0300
committerYaroslav <contact@yaroslavps.com>2020-08-05 13:18:43 +0300
commite214bc52ce48c43d5d08c4f71427bc9d244f745f (patch)
treeab8e7989181572a1a4e55b3c9e10a20057825bea
parent8721766d357554a6d475651cbb3ed3165c4cf7d9 (diff)
downloadvimrice-e214bc52ce48c43d5d08c4f71427bc9d244f745f.tar.gz
vimrice-e214bc52ce48c43d5d08c4f71427bc9d244f745f.zip
relative line numbers
-rw-r--r--dotfiles/.config/nvim/init.vim4
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