Closed doubledup closed 7 months ago
I'm also having this issue on Ubuntu with kitty 0.32.1
Repro:
# mini-kitty.conf
map ctrl+shift+s>h launch --location=hsplit
kitty --config mini-kitty.conf
Expected:
h
keypress to activate splitActual:
Environment details:
kitty 0.32.1 (08d88af2fb) created by Kovid Goyal
Linux gethin-motilent 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64
Ubuntu 22.04.3 LTS gethin-motilent /dev/tty
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
Running under: X11
Frozen: True
Paths:
kitty: /home/gethin/.local/kitty.app/bin/kitty
base dir: /home/gethin/.local/kitty.app/lib/kitty
extensions dir: /home/gethin/.local/kitty.app/lib/kitty-extensions
system shell: /home/linuxbrew/.linuxbrew/bin/zsh
Config options different from defaults:
Important environment variables seen by the kitty process:
PATH /home/gethin/.asdf/shims:/home/gethin/.asdf/bin:/home/gethin/.opam/default/bin:/home/gethin/.cabal/bin:/home/gethin/.ghcup/bin:/home/gethin/.cargo/bin:/home/gethin/.local/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
LANG en_GB.UTF-8
VISUAL nvim
EDITOR nvim
SHELL /home/linuxbrew/.linuxbrew/bin/zsh
DISPLAY :1
USER gethin
XDG_SESSION_TYPE x11
XDG_SESSION_CLASS user
XDG_RUNTIME_DIR /run/user/1000
XDG_MENU_PREFIX gnome-
XDG_CURRENT_DESKTOP ubuntu:GNOME
XDG_SESSION_DESKTOP ubuntu
XDG_DATA_DIRS /usr/share/ubuntu:/usr/share/gnome:/home/gethin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_CONFIG_DIRS /etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CONFIG_HOME /home/gethin/.config
XDG_CACHE_HOME /home/gethin/.cache
XDG_DATA_HOME /home/gethin/.local/share
XDG_STATE_HOME /home/gethin/.local/state
dup of #7016 @grddavies different issue https://github.com/kovidgoyal/kitty/commit/8c50632a10f714e6d12054ac137991078b648c6e
Sorry for the dup, and thanks for the fantastic work!
Describe the bug Remapping the default keymaps for MacOS doesn't take, eg.
cmd+t
won't remap to open with cwd.To Reproduce Steps to reproduce the behavior:
kitty.conf
only containsmap cmd+t new_tab_with_cwd
.Screenshots None.
Environment details
Additional context This holds wherever a key combination is used as the default MacOS keymaps. cmd+t and cmd+n don't remap, but cmd+l and cmd+o do. Set
kitty.conf
to:and cmd+t/n won't preserve the current directory, but cmd+l/o will. The env details above were captured with this config, and they show that cmd+t and cmd+n aren't mapped to the
*_with_cwd
commands.