aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-12-24 13:35:25 -0700
committershmibs <shmibs@gmail.com>2014-12-24 13:35:25 -0700
commitf2b54a425a012810fc3e75dde90d23434373e86b (patch)
tree2b5e0cd23f9d781092f700819a5b044bc22466fd
parentd492a6e6c3327407458a57c74e9f2ca9bda53ef8 (diff)
downloaddotfiles-f2b54a425a012810fc3e75dde90d23434373e86b.tar.gz
svim to edit as root without losing customisations
-rw-r--r--.vimrc3
-rw-r--r--.zshrc1
2 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 164e1f2..32b7eae 100644
--- a/.vimrc
+++ b/.vimrc
@@ -65,6 +65,9 @@ nmap ga <Plug>(EasyAlign)
" MAPPINGS "
""""""""""""""
+"gr is pretty useless, and gq is too cumbersome for reflow commands
+noremap gr gq
+
"insert lines below
nnoremap ++ ==
nnoremap = Oa<C-u><Esc>j
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'