aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
Diffstat (limited to 'alias')
-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