aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-04-11 13:54:26 +0400
committerVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-04-11 13:54:26 +0400
commit6b976b3e8daff69839ecf1fdc0f0323a0abbe40d (patch)
treee39dd49a3869d7512c37b49b2759a6966f44d231 /app-shells
parentgames-fps/far-cry-demo: DESCRIPTION improve: add about CryTek (diff)
downloadguru-6b976b3e8daff69839ecf1fdc0f0323a0abbe40d.tar.gz
guru-6b976b3e8daff69839ecf1fdc0f0323a0abbe40d.tar.bz2
guru-6b976b3e8daff69839ecf1fdc0f0323a0abbe40d.zip
app-shells/igr: vim -> $EDITOR
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/igr/files/vim-open-current-line.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-shells/igr/files/vim-open-current-line.patch b/app-shells/igr/files/vim-open-current-line.patch
index bd18f4a0d..1b3b34240 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