From 8a50126c2d4bbad4f21c00f04a53a8145450c1f0 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Wed, 12 Feb 2020 12:33:45 +0100 Subject: [PATCH] relative numbering in vim --- vim/init.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vim/init.vim b/vim/init.vim index 9d94d38..f035f8b 100644 --- a/vim/init.vim +++ b/vim/init.vim @@ -18,6 +18,7 @@ set cursorcolumn set nojoinspaces set nowritebackup set termguicolors +set relativenumber set bs=2 set tabstop=2 @@ -41,14 +42,12 @@ nmap :tabnext map b :set cc=79 map nb :set cc=0 -map n :set nonumber! +map n :set nonumber! norelativenumber! map p :set paste! map g :Gstatus map gc :Gcommit map gp :Gpush -au BufRead,BufNewFile *.pp - \ set filetype=puppet filetype plugin indent on call plug#begin('~/.config/vim-plugins') @@ -58,6 +57,7 @@ Plug 'junegunn/fzf.vim' Plug 'tpope/vim-fugitive' Plug 'edkolev/tmuxline.vim' Plug 'itchyny/lightline.vim' +Plug 'hashivim/vim-terraform' Plug 'bitc/vim-bad-whitespace' call plug#end()