From 3a937275bca2728a544a7284ae12ea567787152f Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 2 Dec 2019 16:54:03 +0800 Subject: update --- alias | 2 +- vimrc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/alias b/alias index d4bd9df..c9c9b34 100644 --- a/alias +++ b/alias @@ -26,7 +26,7 @@ alias si='sudo snap install' # snap install alias ni='sudo npm install -g' # nodejs install alias ss='sudo !!' alias hg='history|grep' -alias rmf='rm -rf' +alias rmrf='rm -rf' alias rr='move_to_tmp' move_to_tmp() { mv $1 /tmp diff --git a/vimrc b/vimrc index 7f03bdc..36c3cfd 100644 --- a/vimrc +++ b/vimrc @@ -64,11 +64,10 @@ cnoremap ;\ \(\) set t_BE= " surround with '' or "" -nnoremap ' ea'bi'e -nnoremap " ea"bi"e -nnoremap ( ea)bi(e vnoremap ' ``>la' vnoremap " ``>la" +vnoremap ( ``>la) +vnoremap { ``>la} " abbrev iabbrev @@ typebrook@gmail.com -- cgit v1.2.3-70-g09d2