From 6b976b3e8daff69839ecf1fdc0f0323a0abbe40d Mon Sep 17 00:00:00 2001 From: Vitaly Zdanevich Date: Thu, 11 Apr 2024 13:54:26 +0400 Subject: [PATCH] app-shells/igr: vim -> $EDITOR Signed-off-by: Vitaly Zdanevich --- app-shells/igr/files/vim-open-current-line.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/igr/files/vim-open-current-line.patch b/app-shells/igr/files/vim-open-current-line.patch index bd18f4a0d5..1b3b342406 100644 --- a/app-shells/igr/files/vim-open-current-line.patch +++ b/app-shells/igr/files/vim-open-current-line.patch @@ -22,7 +22,7 @@ index 73a6e8c..e23082a 100755 --bind="change:reload:rg -n ${list_files:+-l} --color=always {q}" \ ---bind='enter:execute:v {1}' \ ---preview="[[ -n {1} ]] && $preview" -+--bind='enter:execute:echo "vim {1}:{2}" && vim {1}:{2}' \ ++--bind='enter:execute:echo "$EDITOR {1}:{2}" && $EDITOR {1}:{2}' \ +--preview="[[ -n {1} ]] && $preview" + + # echo to save in shell history