dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 7e1c8e1a992a10c6933b4af5522d8409c8fcd3a5
parent d9ba7ff34c42ad9f166dd1c81653ac9501599e76
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Tue, 31 Oct 2017 15:38:48 -0400

try disabling linenumbers by default, swap number/relativenumber binds

Diffstat:
Mlinks/.vim/keybinds.vim | 4++--
Mlinks/.vim/vimrc | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/links/.vim/keybinds.vim b/links/.vim/keybinds.vim @@ -37,10 +37,10 @@ nmap <leader><tab> :e#<CR> nmap <leader>s :set spell!<CR> " toggle line numbering -nmap <leader>n :set number!<CR> +nmap <leader>N :set number!<CR> " toggle relative line numbering -nmap <leader>N :set relativenumber!<CR> +nmap <leader>n :set relativenumber!<CR> " NERD Tree short cut nmap <leader>d :NERDTreeToggle<CR> diff --git a/links/.vim/vimrc b/links/.vim/vimrc @@ -21,8 +21,8 @@ set incsearch " search as you type set laststatus=2 " always show the statusline set list " enable rendering of invisible characters set listchars=tab:▸\ ,eol:¬ " Use symbols for tab and end-of-line -set number " set linenumbering ON as default -set relativenumber " set relative linenumbering ON as default +set nonumber " disable linenumbering default +set norelativenumber " set relative linenumbering ON as default set pastetoggle=<F2> " toggle paste mode set ruler " Enable bottom ruler set scrolloff=3 " show context above-below cursorline