kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.12k stars 971 forks source link

`map kitty_mod+enter new_tab` stopped working on 0.32.0 #7023

Closed moniquelive closed 8 months ago

moniquelive commented 8 months ago

Describe the bug I use the mapping "cmd+enter" to open a new tab in macos. After upgrading to 0.32.0 it started opening a vertical split.

To Reproduce Steps to reproduce the behavior:

  1. Type cmd+enter

Environment details

kitty 0.32.0 (eb5dd364ae) created by Kovid Goyal
Darwin studiorama.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:55:06 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6020 arm64
ProductName:        macOS ProductVersion:       14.2.1 BuildVersion:        23C71
Frozen: True
Paths:
  kitty: /Applications/kitty.app/Contents/MacOS/kitty
  base dir: /Applications/kitty.app/Contents/Resources/kitty
  extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
  system shell: /bin/zsh
Loaded config files:
  /Users/cyber/.config/kitty/kitty.conf

Config options different from defaults:
allow_remote_control               yes
bell_on_tab                        ๐Ÿ””
clipboard_control                  ('write-clipboard', 'write-primary')
close_on_child_death               True
confirm_os_window_close            0
copy_on_select                     a1
cursor_blink_interval              0.0
disable_ligatures                  1
enable_audio_bell                  False
enabled_layouts                    ['splits']
font_family                        JetBrains Mono
font_size                          14.0
inactive_tab_font_style            (False, True)
listen_on                          unix:/tmp/mykitty
macos_option_as_alt                3
macos_quit_when_last_window_closed True
modify_font:
    baseline -2
    cell_height 0
    cell_width 0
mouse_hide_wait                    3.0
scrollback_pager                   ['/Users/cyber/bin/nvim-scrollback.sh', 'INPUT_LINE_NUMBER', 'CURSOR_LINE', 'CURSOR_COLUMN']
symbol_map:
    U+23fb - U+23fe โ†’ Symbols Nerd Font Mono
    U+2665 - U+2665 โ†’ Symbols Nerd Font Mono
    U+26a1 - U+26a1 โ†’ Symbols Nerd Font Mono
    U+2b58 - U+2b58 โ†’ Symbols Nerd Font Mono
    U+e000 - U+e00a โ†’ Symbols Nerd Font Mono
    U+e0a0 - U+e0a3 โ†’ Symbols Nerd Font Mono
    U+e0b0 - U+e0d4 โ†’ Symbols Nerd Font Mono
    U+e200 - U+e2a9 โ†’ Symbols Nerd Font Mono
    U+e300 - U+e3e3 โ†’ Symbols Nerd Font Mono
    U+e5fa - U+e6aa โ†’ Symbols Nerd Font Mono
    U+e700 - U+e7c5 โ†’ Symbols Nerd Font Mono
    U+ea60 - U+ebeb โ†’ Symbols Nerd Font Mono
    U+f000 - U+f2e0 โ†’ Symbols Nerd Font Mono
    U+f300 - U+f32f โ†’ Symbols Nerd Font Mono
    U+f400 - U+f4a9 โ†’ Symbols Nerd Font Mono
    U+f500 - U+f8ff โ†’ Symbols Nerd Font Mono
    U+f0001 - U+f1af0 โ†’ Symbols Nerd Font Mono
tab_activity_symbol                ยท
tab_bar_align                      center
tab_bar_style                      powerline
url_prefixes                       ('http', 'https', 'file', 'ftp')
visual_bell_duration               0.1
Added shortcuts:
    cmd+s โ†’  paste_from_buffer a1
    f1 โ†’  launch --allow-remote-control kitty +kitten broadcast
    opt+- โ†’  launch --location=hsplit --cwd=current
    opt+\ โ†’  launch --location=vsplit --cwd=current
    opt+h โ†’  neighboring_window left
    opt+j โ†’  neighboring_window down
    opt+k โ†’  neighboring_window up
    opt+l โ†’  neighboring_window right
    shift+opt+, โ†’  set_tab_title
    shift+opt+0 โ†’  goto_tab 0
    shift+opt+1 โ†’  goto_tab 1
    shift+opt+2 โ†’  goto_tab 2
    shift+opt+3 โ†’  goto_tab 3
    shift+opt+4 โ†’  goto_tab 4
    shift+opt+5 โ†’  goto_tab 5
    shift+opt+6 โ†’  goto_tab 6
    shift+opt+7 โ†’  goto_tab 7
    shift+opt+8 โ†’  goto_tab 8
    shift+opt+9 โ†’  goto_tab 9
    shift+opt+h โ†’  resize_window wider
    shift+opt+j โ†’  resize_window taller
    shift+opt+k โ†’  resize_window shorter
    shift+opt+l โ†’  resize_window narrower
    shift+opt+n โ†’  next_tab
    shift+opt+p โ†’  previous_tab
Removed shortcuts:
    cmd+, โ†’  edit_config_file
    cmd+enter โ†’  new_window
    cmd+h โ†’  hide_macos_app
    cmd+k โ†’  clear_terminal to_cursor active
    cmd+m โ†’  minimize_macos_window
    cmd+n โ†’  new_os_window
    cmd+q โ†’  quit
    cmd+t โ†’  new_tab
    cmd+w โ†’  close_tab
    ctrl+cmd+, โ†’  load_config_file
    ctrl+cmd+f โ†’  toggle_fullscreen
    opt+cmd+h โ†’  hide_macos_other_apps
    opt+cmd+r โ†’  clear_terminal reset active
    opt+cmd+s โ†’  toggle_macos_secure_keyboard_entry
    shift+cmd+/ โ†’  open_url https://sw.kovidgoyal.net/kitty/
    shift+cmd+[ โ†’  previous_tab
    shift+cmd+] โ†’  next_tab
    shift+cmd+d โ†’  close_window
    shift+cmd+w โ†’  close_os_window
Changed shortcuts:
    kitty_mod+, โ†’  move_tab_backward, move_tab_backward
    kitty_mod+- โ†’  change_font_size all -2.0, change_font_size current -2.0
    kitty_mod+. โ†’  move_tab_forward, move_tab_forward
    kitty_mod+0 โ†’  tenth_window, change_font_size current 0
    kitty_mod+= โ†’  change_font_size all +2.0, change_font_size current +2.0
    kitty_mod+a > m โ†’  set_background_opacity +0.1, set_background_opacity -0.1, set_background_opacity 1, set_background_opacity default, set_background_opacity +0.1, set_background_opacity -0.1, set_background_opacity 1, set_background_opacity default
    kitty_mod+c โ†’  copy_to_clipboard, copy_to_clipboard
    kitty_mod+delete โ†’  clear_terminal reset active, clear_terminal reset active
    kitty_mod+down โ†’  scroll_line_down, scroll_line_down
    kitty_mod+e โ†’  open_url_with_hints, kitten hints
    kitty_mod+end โ†’  scroll_end, scroll_end
    kitty_mod+enter โ†’  new_window, new_tab
    kitty_mod+escape โ†’  kitty_shell window, kitty_shell window
    kitty_mod+f10 โ†’  toggle_maximized, toggle_maximized
    kitty_mod+f11 โ†’  toggle_fullscreen, toggle_fullscreen
    kitty_mod+f2 โ†’  edit_config_file, edit_config_file
    kitty_mod+h โ†’  show_scrollback, show_scrollback
    kitty_mod+home โ†’  scroll_home, scroll_home
    kitty_mod+j โ†’  scroll_line_down, scroll_line_down, send_text all \x1b[74;5u
    kitty_mod+k โ†’  scroll_line_up, scroll_line_up, send_text all \x1b[75;5u
    kitty_mod+l โ†’  next_layout, next_layout
    kitty_mod+left โ†’  previous_tab, previous_tab
    kitty_mod+n โ†’  new_os_window, new_os_window
    kitty_mod+o โ†’  pass_selection_to_program, pass_selection_to_program
    kitty_mod+opt+t โ†’  set_tab_title, set_tab_title
    kitty_mod+p > f โ†’  kitten hints --type path --program -, kitten hints --type path, kitten hints --type line --program -, kitten hints --type word --program -, kitten hints --type hash --program -, kitten hints --type linenum, kitten hints --type hyperlink, launch_scrollback /bin/sh -c "fzf --no-sort --no-mouse --exact -i --tac | kitty +kitten clipboard", kitten hints --type path --program -, kitten hints --type path, kitten hints --type line --program -, kitten hints --type word --program -, kitten hints --type hash --program -, kitten hints --type linenum, kitten hints --type hyperlink
    kitty_mod+page_down โ†’  scroll_page_down, scroll_page_down
    kitty_mod+page_up โ†’  scroll_page_up, scroll_page_up
    kitty_mod+q โ†’  close_tab, close_tab
    kitty_mod+right โ†’  next_tab, next_tab
    kitty_mod+s โ†’  paste_from_selection, paste_from_selection
    kitty_mod+t โ†’  new_tab, new_tab
    kitty_mod+u โ†’  kitten unicode_input, kitten unicode_input
    kitty_mod+up โ†’  scroll_line_up, scroll_line_up
    kitty_mod+v โ†’  paste_from_clipboard, paste_from_clipboard
    shift+insert โ†’  paste_from_selection, paste_from_selection
Colors:
    active_tab_background              #393552   
    active_tab_foreground              #e0def4   
    background                         #232136   
    color0                             #393552   
    color1                             #eb6f92   
    color10                            #3e8fb0   
    color11                            #f6c177   
    color12                            #9ccfd8   
    color13                            #c4a7e7   
    color14                            #ea9a97   
    color15                            #e0def4   
    color2                             #3e8fb0   
    color3                             #f6c177   
    color4                             #9ccfd8   
    color5                             #c4a7e7   
    color6                             #ea9a97   
    color7                             #e0def4   
    color8                             #6e6a86   
    color9                             #eb6f92   
    cursor                             #56526e   
    cursor_text_color                  #e0def4   
    foreground                         #e0def4   
    inactive_tab_background            #232136   
    inactive_tab_foreground            #6e6a86   
    selection_background               #44415a   
    selection_foreground               #e0def4   
    url_color                          #c4a7e7   

Important environment variables seen by the kitty process:
    PATH                                /Users/cyber/.ghcup/bin:/usr/local/texlive/2023basic/bin/universal-darwin:/Users/cyber/.spicetify:/Users/cyber/.dotnet/tools:/opt/homebrew/bin:/opt/homebrew/opt/node/bin:/opt/homebrew/opt/coreutils/bin:/opt/homebrew/opt/coreutils/libexec/gnubin:/opt/homebrew/opt/python/libexec/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/opt/mysql-client/bin:/Users/cyber/.cargo/bin:/bin:/Users/cyber/.local/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/kitty.app/Contents/MacOS:/Users/cyber/Library/Application Support/JetBrains/Toolbox/scripts:/Users/cyber/.rvm/bin:/Users/cyber/bin:/Users/cyber/go/bin
    LANG                                en_US
    SHELL                               /bin/zsh
    USER                                cyber
    LC_ALL                              en_US.UTF-8
    LC_CTYPE                            en_US.UTF-8
moniquelive commented 8 months ago

kitten @ launch is doing the same btw (opening a vertical split).

kovidgoyal commented 8 months ago

dup of #7016