aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-01-21 01:26:42 +0800
committertypebrook <typebrook@gmail.com>2020-01-21 01:26:42 +0800
commit73f17d1f4a4cb1c467472a0e728971124199c233 (patch)
tree908916790ed93d0968de8d3d5f04f7c99fbf316d
parenta90074c95adb8fd231fda4cde428992e6f8bbbbb (diff)
update
-rw-r--r--alias11
1 files changed, 10 insertions, 1 deletions
diff --git a/alias b/alias
index 889fdaf..ec64017 100644
--- a/alias
+++ b/alias
@@ -17,8 +17,17 @@ alias vv='vim ~/vimwiki/index.md'
17alias ve='vim ~/.vim_runtime/my_configs.vim' 17alias ve='vim ~/.vim_runtime/my_configs.vim'
18alias vr='vim -R' 18alias vr='vim -R'
19alias cdv='cd ~/.vim_runtime' # amix/vimrc repo 19alias cdv='cd ~/.vim_runtime' # amix/vimrc repo
20
21# script
20vs() { 22vs() {
21 if ( which $1 ); then vim $(which $1); fi 23 ( which $1 ) && vim $(which $1)
24}
25todo() {
26 ( which $1 ) && grep -Po 'TODO.*' $(which $1)
27}
28
29fix() {
30 ( which $1 ) && grep -Po 'FIXME.*' $(which $1)
22} 31}
23 32
24# shell 33# shell