Custom keybindings support #500
Replies: 39 comments 49 replies
-
Bundled keybinding profiles Situation: I use tmux primarily for session management and would not mind using native session management as an alternative, if I'm able to keep the tmux bindings I'm used to. However, some bindings may clash with Warp's default keybindings, maybe in the config file there could be default keybinding profiles to help people ramp up and make a switch from their various and different tools. |
Beta Was this translation helpful? Give feedback.
-
+1 on |
Beta Was this translation helpful? Give feedback.
-
+1 for custom keyboard shortcuts. In my current tmux setup I use |
Beta Was this translation helpful? Give feedback.
-
I see there is already an issue tracking general Emacs bindings, but I just wanted to say it here. This is a pretty big dealbreaker for me, since I use it for almost every type of text interaction. |
Beta Was this translation helpful? Give feedback.
-
CMD-D for split panes Currently Warp uses cmd-e and cmd-shift-e for splitting panes, whereas the convention amongst terminals is to use cmd-d and cmd-shift-d. It would be great if Warp was consistent with them. Related to #542 which is asking to NOT use cmd-e for this. |
Beta Was this translation helpful? Give feedback.
-
CTRL-B - leader keymap similar to tmux If warp supports windows splitting and terminal multiplexing, it would be nice to have a keymapping a-la tmux. In tmux it is |
Beta Was this translation helpful? Give feedback.
-
ENTER - Allow configuring whether enter executes command or inserts new line (CMD-ENTER to run) From @colinking via #73 Is your feature request related to a problem? Please describe. By default, Would be great if a) this used Describe the solution you'd like Additional context |
Beta Was this translation helpful? Give feedback.
-
SHIFT-CMD-T - Reopen recently closed tab, pane, or window like in chrome Describe the solution you'd like killer feature: Additional context |
Beta Was this translation helpful? Give feedback.
-
CTRL-N, CTRL-P to navigate lists Is your feature request related to a problem? Please describe. Describe the solution you'd like |
Beta Was this translation helpful? Give feedback.
-
Support emacs keybindings throughout the terminal From @chriskrycho via #100 Describe the bug To Reproduce
Annoyingly, it works sometimes, but I haven't been able to identify under what conditions it does/n't work. Expected behavior Screenshots Just to verify I have the setting turned on: Desktop (please complete the following information):
Additional context |
Beta Was this translation helpful? Give feedback.
-
emacs Describe the solution you'd like?In most place of macOS, we can use Emacs-like keymaps to control our cursor. Such as moving cursor, deleting characters... But in Warp. I cannot use control + n and control + p to replace arrow keys. Here is some information about the macOS built-in Emacs-like keymaps: https://jblevins.org/log/kbd Here is a simple list to let you understand the habits of Emacs users:
Is your feature request related to a problem? Please describe.I strongly recommend finding an Emacs and Vim expert in your team to be a consultant for this feature. If there is not. I would like to help. Additional contextNo response |
Beta Was this translation helpful? Give feedback.
-
CMD-left/right to switch terminal tabs From @benwaffle via #162 Describe the solution you'd like?Pressing ⌘+⬅️ should go to the previous tab, and ⌘+➡️ should go to the next tab. iTerm 2 has this. Is your feature request related to a problem? Please describe.No response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
-
CMD-# -> Ability to switch panes instead of tabs Describe the solution you'd like?Ability to bind Command + 1 to select the first pane, etc. Is your feature request related to a problem? Please describe.iTerm has a setting for "Shortcut to choose a split pane" which I have set to command + number and it's deeply engraved in my muscle memory at this point. Additional context |
Beta Was this translation helpful? Give feedback.
-
CTRL-SHIFT-UP/DOWN to add cursors Describe the solution you'd like?In Sublime Text (and VSCode I think) you can add an additional cursor in the line above/below the current cursor(s) via To me that is a fundamental part of multi-cursor support, equally important to or even more important than Is your feature request related to a problem? Please describe.Selecting a word and duplicating that selection is more keystrokes and effort than just adding a cursor directly. I don't always want to add cursors on lines that contain the same word / command. From what I can see Ctrl+Shift+Down (etc.) are not bound to anything else and implementing this would be a huge fluidity win for transferring my mental model of multi-cursor editing into the terminal. |
Beta Was this translation helpful? Give feedback.
-
Control a-z:
So missing ctrl-b/d/f/g/j/n/p/t/v |
Beta Was this translation helpful? Give feedback.
-
While and I'm using zsh |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Can you try navigating to Settings > Features > and toggle the "Left Option key is Meta"?
|
Beta Was this translation helpful? Give feedback.
-
Not sure if this is the right place to ask so let me know if there is another/better issue/way! I use vi mode on the command-line. Things like escape h|j|k|l, vi style editing on the cli either inline or in an $EDITOR etc. I don't seem to have this option and did not find anything directly. Is there such a thing? I think the idea is related - ditto with tmux type sequences. |
Beta Was this translation helpful? Give feedback.
-
I'm not able to option + arrows keys to go between words with custom key bindings on latest warp on rails console still. Was anyone able to figure out a solution that I could use? |
Beta Was this translation helpful? Give feedback.
-
I don't know if this is the correct place to post this or not. I found that ALT+LEFT/RIGHT/BACKSPACE do not work in subshells. ALT+LEFT/RIGHT does nothing. ALT+BACKSPACE is a normal backspace. I found this when running the mongo shell, but I also reproduced it with a plain bash subshell. |
Beta Was this translation helpful? Give feedback.
-
Discord user shmike#0653 requested:
|
Beta Was this translation helpful? Give feedback.
-
Please allow overriding the |
Beta Was this translation helpful? Give feedback.
-
I'm so used to pressing TAB to autocomplete stuff, it would be nice if I could swap the current right arrow key with the tab. |
Beta Was this translation helpful? Give feedback.
-
I find that the Warp terminal eats many of my Neovim key commands with no way to have those keystrokes pass through. I use I thought I read somewhere that there's a configuration file where you can declare "passthroughKeys" in JSON, but for the life of me, I can no longer find these anywhere. |
Beta Was this translation helpful? Give feedback.
-
Suggestion: Allow I'm giving Warp a shot, coming from Alacritty. The most immediate workflow showstopper I'm experiencing is the lack of ability to effectively use the Command key as the Control key within the terminal. This is a muscle memory and ergonomic optimization that I can't live without and is one of the primary reasons why I use Alacritty. "But why?" - you, maybe. Stay with me. There are four modifiers on a keyboard. Desktop operating systems agree on their use cases, but Apple's macOS swaps two modifiers by convention. At an abstract level, all the major OS keyboard idioms have a modifier for in-focus hotkeys (do something in the window that is currently in focus) and global hotkeys. These are commonly the Control and GUI/Super modifiers on most operating systems, including the BSDs, which explains why terminal applications (shells, Vim, etc) expect this modifier for hotkeys. But this creates a problem in Mac: the idiom is backwards. Generally speaking, macOS reverses the role of the Control and GUI/Super (Command in macOS parlance) modifiers, making Control the least used modifier, lending itself as a popular choice for global keyboard shortcuts, such as switching virtual desktops. In fact, Apple's keyboard layout moves the in-focus hotkey modifier to the left thumb for even better ergonomics. But this idiom is broken in most terminals on macOS. This is especially difficult for people who switch between macOS and other operating systems as well as people who rely on ergonomic keyboards. This effect is achieved in Alacritty by binding every combination of My suggestion lands somewhere in the intersection of accessibility, customization, and keybinds, so I figured this was a decent thread to chime in on. Thanks for reading my giant wall of text! |
Beta Was this translation helpful? Give feedback.
-
Still no solution for Option+key/backspace in subshells like python? |
Beta Was this translation helpful? Give feedback.
-
Could Warp show which key binding is conflicting, just like what vscode did. In such way, I can quickly locate the conflicting items. |
Beta Was this translation helpful? Give feedback.
-
Coming from tmux I would love to have the option for leader keys. Making the switch to warp on MacOs was smooth. On my i3 machine my fingers get confused and I am often closing warp rather than splitting the pane. |
Beta Was this translation helpful? Give feedback.
-
Is there solution for Option/Shift/Cmd+arrow/delete in subshells? |
Beta Was this translation helpful? Give feedback.
-
Right now we only support hard-coded bindings. We'd like to change this to support custom key maps. Posting here as a tracking issue to get a sense of importance from the community.
Please upvote if you'd like this. See #579 for current status.
Beta Was this translation helpful? Give feedback.
All reactions