From 0c3a7b82669319ef52a2174605ee5600c6be6e3e Mon Sep 17 00:00:00 2001 From: Grzegorz Daniluk Date: Sat, 3 Jul 2021 10:14:49 +0200 Subject: [PATCH] Small fixes. --- nvim/init.vim | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index 6c80698..acd595d 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -102,7 +102,7 @@ syntax enable filetype plugin indent on set number " Line numbers on -set relativenumber " Relative numbers on +" set relativenumber " Relative numbers on set completeopt=menuone,noinsert,noselect set shortmess+=c set autoindent @@ -149,19 +149,6 @@ augroup vimrc_incsearch_highlight autocmd CmdlineLeave /,\? :set nohlsearch augroup END -" Quit normal mode -"nnoremap q :q -"nnoremap Q :qa! - -" Quick command mode -"nnoremap : -" In the quickfix window, is used to jump to the error under the cursor, so undefine the mapping there. -"autocmd BufReadPost quickfix nnoremap - -" Left and right can switch buffers -"nnoremap :bp -"nnoremap :bn - " Visual shifting (does not exit Visual mode) vnoremap < >gv @@ -220,10 +207,10 @@ nnoremap wh h nnoremap wl l nnoremap wo o -nnoremap wH 8< -nnoremap wL 8> -nnoremap wJ :resize +8 -nnoremap wK :resize -8 +nnoremap wH 10< +nnoremap wL 10> +nnoremap wJ :resize +10 +nnoremap wK :resize -10 nnoremap we = nnoremap ws s nnoremap wv v @@ -533,7 +520,7 @@ let bufferline.icon_separator_active = '' " Git status nnoremap gitd :Gvdiffsplit -nnoremap gitl :Glog -- +nnoremap gitl :Gclog -- lua <