From a8c4d37067aaa05ecd492772675f5d0393960fd8 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 4 Aug 2022 16:44:14 -0400 Subject: [PATCH] Open NERDTreeFind in today launcher --- home/bin/today.launch.sh | 2 +- home/lib/login_functions.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() { -- 2.20.1