Add kakoune as vim compatible app menu options

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Stacy Harper 4 years ago committed by Maarten van Gompel
parent 7511182cad
commit 7cb6dcb64b
  1. 2
      scripts/core/sxmo_appmenu.sh

@ -207,7 +207,7 @@ programchoicesinit() {
# St # St
# First we try to handle the app running inside st: # First we try to handle the app running inside st:
WMNAME="${1:-$(echo "$XPROPOUT" | grep -E "^WM_NAME" | cut -d ' ' -f3-)}" WMNAME="${1:-$(echo "$XPROPOUT" | grep -E "^WM_NAME" | cut -d ' ' -f3-)}"
if echo "$WMNAME" | grep -i -E "\"(vi|vim|vis|nvim|neovim)\""; then if echo "$WMNAME" | grep -i -E "(vi|vim|vis|nvim|neovim|kakoune)"; then
#Vim in st #Vim in st
CHOICES=" CHOICES="
$icon_aru Scroll up ^ 1 ^ key Ctrl+Shift+u $icon_aru Scroll up ^ 1 ^ key Ctrl+Shift+u

Loading…
Cancel
Save