From 13eae3107507d696fc84059b81414e87694f96be Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Wed, 28 Apr 2021 10:48:34 +0200 Subject: [PATCH] vimrc: add mappings --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index c12ce41..e10290a 100644 --- a/vimrc +++ b/vimrc @@ -125,6 +125,7 @@ imap nmap ]q :cn nmap [q :cp +nnoremap w :w nnoremap / :nohlsearch nnoremap :nohlsearch " Select just-pasted text: @@ -132,6 +133,7 @@ nnoremap 0 `[v`] " Select just-pasted text and re-indent: nnoremap ) `[v`]= nnoremap 1 :set relativenumber! +nnoremap ! :windo set norelativenumber nnoremap m :marks nnoremap v :vsplit nnoremap s :split