From e214bc52ce48c43d5d08c4f71427bc9d244f745f Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Wed, 5 Aug 2020 13:18:43 +0300 Subject: relative line numbers --- dotfiles/.config/nvim/init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dotfiles/.config/nvim') 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 r :set invrelativenumber + " Shortcutting split navigation, saving a keypress: map h map j -- cgit v1.2.3