From f2b54a425a012810fc3e75dde90d23434373e86b Mon Sep 17 00:00:00 2001 From: shmibs Date: Wed, 24 Dec 2014 13:35:25 -0700 Subject: svim to edit as root without losing customisations --- .vimrc | 3 +++ .zshrc | 1 + 2 files changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 164e1f2..32b7eae 100644 --- a/.vimrc +++ b/.vimrc @@ -65,6 +65,9 @@ nmap ga (EasyAlign) " MAPPINGS " """""""""""""" +"gr is pretty useless, and gq is too cumbersome for reflow commands +noremap gr gq + "insert lines below nnoremap ++ == nnoremap = Oaj diff --git a/.zshrc b/.zshrc index 7c3c94a..b825d67 100644 --- a/.zshrc +++ b/.zshrc @@ -88,6 +88,7 @@ alias diff='colordiff' alias less='less -R' alias latex='latex -output-format=pdf' alias ag='ag --color-match "1;34"' +alias svim='sudo -E vim' alias def='sdcv' alias ssh-socks='ssh -C2qTnN -D 9853 shmibbles.me' -- cgit v1.2.3