Robby Russell and Claude Opus 5.5
4c184381d0
fix(key-bindings): make numeric keypad work in application mode
...
We switch the terminal into application keypad mode (smkx) so terminfo
key bindings are valid, but that also makes the numeric keypad send
escape sequences (\eOp..\eOy, \eOM, ...) that were never bound. Keypad
Enter rang the bell instead of running the command.
Map each keypad sequence back to the plain key with `bindkey -s`, so it
behaves exactly like the main keyboard key in emacs, viins and vicmd.
Fixes #13928
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-08 17:03:38 -07:00
Alexey Trofimenko and GitHub
99017b8eac
fix(key-bindings): ensure <Esc-l> works if line is not empty ( #13391 )
2025-10-23 11:29:46 -07:00
Carlo Sala
92a03105ac
docs(key-bindings): clarify comment
...
Closes #13265
2025-08-16 21:26:22 +02:00
Carlo Sala
8f22370af8
fix(key-bindings): bind default arrow keys to beginning-search
...
Fixes #12197
2024-02-12 09:48:38 +01:00
Marc Cornellà
079e7bb5e0
lib: remove CTRL-Backspace key binding altogether
...
It conflicts with normal Backspace behavior. Fixes #9155
2020-08-06 08:55:29 +02:00
Marc Cornellà
39c0073225
lib: remove CTRL-Backspace binding for vi keymaps
2020-08-05 14:34:14 +02:00
Marc Cornellà and Michal Grňo
e04564d528
lib: add CTRL-backspace and CTRL-delete to delete whole words
...
Fixes #7609
Closes #8191
Co-authored-by: Michal Grňo <m93a.cz@gmail.com >
2020-08-04 17:16:54 +02:00
Marc Cornellà
ec70c0c393
lib: bind keys to viins and vicmd keymaps and clean up file
...
Fixes #8468
2020-08-04 17:16:19 +02:00
desrum_m and Marc Cornellà
95aa9bd97b
Better research history with arrow keys
...
This change enables UP-arrow and DOWN-arrow full-line history completion.
For example, if you write `git clone` and press UP:
- Before this change,
it will use the last command that starts with `git`.
- After this change,
it will use the last command that starts with `git clone`.
2015-12-14 01:08:55 +01:00
LFDM and Marc Cornellà
83c4e06206
Moves a bindkey call from misc to key-bindings.
2015-02-10 19:22:39 +01:00
Andre Eriksson
9650861e56
Fix broken reverse-menu-complete keybinding.
...
Since e537ee9 , the reverse-menu-complete keybinding has no longer been
properly bound (it was accidentally bound to the delete key).
This commit again binds it to shift-tab.
2014-03-26 15:12:39 +09:00
Alexei Danchenkov
32a7824182
Added a forward-delete fallback to bind Delete key
...
Delete key (of Fn+Delete on Mac) would print "~" instead of deletion.
2014-03-21 09:24:59 -07:00
Alexei Danchenkov
c5413d7dd1
Aligned comments
2014-03-20 19:34:43 -07:00
Alexei Danchenkov
55a9d685fd
Update key-bindings.zsh
...
Aligned comments
2014-03-20 19:29:06 -07:00
Alexei Danchenkov
e537ee9db9
added terminfo keys verification
2014-03-20 19:10:44 -07:00
Robby Russell
7adf66f942
Merge pull request #1355 from F30/key-bindings
...
Use terminfo key codes instead of hardcoded ones for key bindings
2014-03-13 08:07:24 -07:00
Robby Russell
273728901e
Merge pull request #513 from randy909/fix-edit-cmdline
...
Fix edit-command-line binding
2013-12-02 23:03:03 -08:00
Felix Dreissig
174c9177aa
Replace hardcoded key escape sequeneces with dynamic ones from terminfo.
2012-10-17 16:04:42 +02:00
Felix Dreissig
ff0cafa14d
Make sure the terminal is always in application mode when zle is active.
2012-10-14 00:10:40 +02:00
Mat Schaffer and Felix Dreissig
3839c6e9e6
Don't clobber standard Esc+. behavior
...
Esc+. works as "last arg" on both bash and zsh. Seems like a shame to introduce a new standard.
Conflicts:
lib/key-bindings.zsh
2012-10-13 23:50:40 +02:00
Kyle West and Felix Dreissig
f7708d4181
forgot to save before committing. doh
2012-10-13 23:44:31 +02:00
Kyle West and Felix Dreissig
68cec79d32
Added documentation to key bindings.
...
Conflicts:
lib/key-bindings.zsh
2012-10-13 23:43:55 +02:00
Mat Schaffer
5f72c63136
Don't clobber standard Esc+. behavior
...
Esc+. works as "last arg" on both bash and zsh. Seems like a shame to introduce a new standard.
2012-03-17 22:03:01 -03:00
Randy Hancock
f20cfc68e8
Fix edit-command-line binding
...
This binding doesn't work when the edit-command-line.zsh file is loaded
after the key-bindings.zsh file because 'bindkey -e' in key-bindings.zsh
resets the binding. Moving the bindings to they key-bindings.zsh file
and removing edit-command-line.zsh.
2011-08-01 13:06:52 -05:00
Loïc Yhuel
428f18cf42
Add key bindings for gnome-terminal on Fedora
2011-07-23 23:09:03 +02:00
Sven Lito and Robby Russell
eb63ddf6bb
added mac keybinding for backward-delete-char
2011-07-23 09:11:08 -07:00
Robby Russell
d275440219
Merge pull request #290 from arthurkalm/delete-key-working
...
Make the delete key work correctly, instead of outputting a ~
2011-05-13 02:52:25 -07:00
Arthur Kalmenson
7d9628b2dc
Added bindings for Gnome terminal.
2011-04-19 22:40:46 -04:00
Arthur Kalmenson
c7c959de60
Make the delete key work correctly, instead of outputting a ~
2011-04-19 19:01:18 -04:00
Pat Regan
993e05da50
Replace redundant calls to compinit with a single call.
2011-04-08 10:12:22 -04:00
Robby Russell
6104e59c8d
Merge branch 'shifttab' of http://github.com/kremso/oh-my-zsh into kremso-shifttab
2010-09-30 20:48:10 -07:00
John Reese
99d72cad55
Ignore errors from compaudit when using sudo -s
2010-04-08 22:35:35 -04:00
Tomas Kramar
3e1d5fa316
Make Shift+Tab move backwards in the menu
2010-03-22 21:44:15 +01:00
James Cox
8a8a7bafa0
merge upstream
2009-09-23 16:14:04 +01:00
Robby Russell
8debd097fb
Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options
2009-09-23 07:43:36 -07:00