From: Siraaj Khandkar Date: Thu, 4 Aug 2022 20:44:14 +0000 (-0400) Subject: Open NERDTreeFind in today launcher X-Git-Url: https://git.xandkar.net/?p=khome.git;a=commitdiff_plain;h=a8c4d37067aaa05ecd492772675f5d0393960fd8 Open NERDTreeFind in today launcher --- diff --git a/home/bin/today.launch.sh b/home/bin/today.launch.sh index cc83399..50254cd 100755 --- a/home/bin/today.launch.sh +++ b/home/bin/today.launch.sh @@ -3,4 +3,4 @@ . ~/lib/login_variables.sh # To get $DIR_TODO . ~/lib/login_functions.sh # To get today -EDITOR=gvim today +EDITOR=gvim EDITOR_ARGS='-c NERDTreeFind' today diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 4e99f7f..d585191 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -471,7 +471,7 @@ today() { then daily_todo_file_template > "$file" fi - cd "$DIR_TODO" && "$EDITOR" "$file" + cd "$DIR_TODO" && "$EDITOR" $EDITOR_ARGS "$file" } todo() {