Platform MacOS
Terminal software Ghostty
I have following keybinding:
{
name: go_dir, modifier: none, keycode: char_g, mode: [vi_normal]
event: [
{ send: executehostcommand, cmd: "cd (fd -t d | sk -p 'Go to dir : ')" }
{ send: vichangemode, mode: normal }
]
}
After triggering it, it successfully changes directory but shell stays in insert mode instead of intended normal mode.
Platform MacOS
Terminal software Ghostty
I have following keybinding:
{ name: go_dir, modifier: none, keycode: char_g, mode: [vi_normal] event: [ { send: executehostcommand, cmd: "cd (fd -t d | sk -p 'Go to dir : ')" } { send: vichangemode, mode: normal } ] }After triggering it, it successfully changes directory but shell stays in insert mode instead of intended normal mode.