Oliver Kiddle
a73ae70e82
38770: vi upper/lowercase widgets and shell widget example that reads a vi movement
2016-06-29 17:05:06 +02:00
Barton E. Schaefer
597fa5ee5d
38463: use immortal widgets in .safe keymap
2016-05-10 13:21:43 -07:00
Peter Stephenson
2b7035d974
38241: ungetkeycmd() needs to unmetafy key string.
...
Use the new function to simplify memory management in prefix handling.
Third time lucky.
2016-04-04 14:54:54 +01:00
Peter Stephenson
0bd903abca
37405: Fix self-insert binding for multibyte sequences.
...
This makes it work even if the self-insert applies to a sequence longer
than an initial byte, including the case of a complete binding to a full
character sequence.
2015-12-15 12:41:20 +00:00
Peter Stephenson
59de978c7e
users/21071: Fix binding of multibyte sequences.
...
There was a problem if the first byte was already bound to
self-insert.
2015-12-08 10:56:17 +00:00
Peter Stephenson
e1c0a947cc
Read full multibyte string early for self-insert
2015-09-11 21:40:45 +01:00
Kamil Dudka
51d2c66341
36106: fix const parameter to bindkey
2015-08-12 20:08:58 +01:00
Oliver Kiddle
3183cbd98c
36044: deactivate-region widget for escape in visual mode
2015-08-11 13:28:14 +02:00
Oliver Kiddle
98687fa1de
35474, 35492: support the bracketed paste mode of newer terminal emulators
2015-06-19 00:15:38 +02:00
Peter Stephenson
4508d25710
34905: no parse error after keyboard interrupt.
...
Handled generally, though only showing up in special nested
cases.
Also fix ZLE so it doesn't cancel the interrupt flag when
not actually returning from a local keymap.
2015-04-17 10:23:58 +01:00
Barton E. Schaefer
95381783e9
34002: zshcalloc() in init_keymaps()
2014-12-18 18:58:25 -08:00
Oliver Kiddle
1e0064e58b
33956: document key binding changes and remove ^X binding
2014-12-13 19:34:24 +01:00
Oliver Kiddle
5b7950e6ef
33846: additional default vi-mode key bindings
2014-12-13 19:32:55 +01:00
Oliver Kiddle
edb9c94025
33950: ignore KEYTIMEOUT for vi operators
2014-12-12 14:14:00 +01:00
Peter Stephenson
d067ebcacd
33876: etc.: Separate errors and keyboards interrupts
...
Combination of 12 commits from interrupt_abort branch.
Basic strategy is to introduce bits to errflag and to set and
reset them separately.
Remove interrupt status on return to main keymap.
Turn off ERRFLAG_INT for always block.
Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.
Add TRY_BLOCK_INTERRUPT
This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.
Ensure propagation of SIGINT from exited job.
If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.
Reset errflag before precmd()
Add always block in _main_completion to fix ZLS_COLORS
Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt. However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +00:00
Oliver Kiddle
58da0f495c
33730: vim style text objects for selecting words
2014-11-21 11:40:00 +01:00
Oliver Kiddle
d29e02c1a3
33704: keybindings, documentation, tests and minor
...
fixes for vim style visual selection changes
2014-11-17 23:01:00 +01:00
Oliver Kiddle
4b66ec003f
33596: make local keymap keybinding hide global keymap
...
binding that is a prefix of the local binding
2014-11-04 14:08:20 +01:00
Peter Stephenson
9c49c8dd27
John Stahara: 30641: bindkey -N error report is misleading
...
when copying keymap.
2012-08-25 18:02:32 +00:00
Bart Schaefer
81cb361d73
30033: silence valgrind warnings
2011-12-20 17:15:50 +00:00
Peter Stephenson
8856dc878e
28282: new function zlecallhook()
...
fix arguments to zle-keymap-select
2010-09-20 09:27:46 +00:00
Peter Stephenson
7e5a7a9135
28237: new parameter ZLE_LINE_ABORTED
...
28241: don't list .safe with bindkey -lL
2010-09-08 12:32:32 +00:00
Peter Stephenson
ff955f61b4
28229: can list individual keymaps
2010-09-05 20:39:08 +00:00
Peter Stephenson
17dee17e4e
28227: improved documentation on keymaps
...
28226: improve bindkey -lL for aliased keymaps
2010-09-05 19:24:44 +00:00
Peter Stephenson
af39a5ab1a
26463: Greg Klanderman: add zle-line-finish widget
...
26464: Greg Klanderman: fix insert-ids=single for menu completion
26465: Greg Klanderman: command keymap for execution
2009-01-28 09:31:53 +00:00
Peter Stephenson
46cdeb71b7
26366: add "isearch" keymap and "accept-search" functino
2009-01-19 17:57:43 +00:00
Oliver Kiddle
085419f95d
26024: don't leave ref count incremented when aborting bindkey with an error
2008-11-11 22:40:16 +00:00
Peter Stephenson
bc32da6a67
24786: handle read -t properly in zle via getbyte()
2008-04-03 15:20:18 +00:00
Peter Stephenson
80acfd135c
22684: improve getkeystring() interface and make printf do octal escapes
2006-09-10 18:10:48 +00:00
Peter Stephenson
dd5602f59b
22474: use variable argument lists to improve error message handling
2006-05-30 22:35:03 +00:00
Peter Stephenson
efe92714c6
this one got missed
2006-04-25 17:33:34 +00:00
Peter Stephenson
85f25bb845
users/10172: new zle command read-command
2006-04-23 23:13:47 +00:00
Peter Stephenson
4b3cdcdb69
22169: hook function zle-keymap-select called when $KEYMAP changes
2006-01-28 15:02:25 +00:00
Peter Stephenson
d5ac7ad46e
unposted: bit I missed in 21945
2005-10-28 17:42:07 +00:00
Peter Stephenson
aea7715261
21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;
...
use multibyte versions of nicechar wherever possible.
2005-10-28 17:34:33 +00:00
Peter Stephenson
046f4cf49e
21784: Improved character widths for formatted multibyte character output
2005-09-29 17:32:34 +00:00
Bart Schaefer
6183db6faa
21770: tweak 21760 to avoid conflicts with global bindings
2005-09-29 14:39:18 +00:00
Bart Schaefer
5f076d1390
21760: fix test for sequence prefixes in the local keymap in getkeymapcmd()
2005-09-24 18:49:42 +00:00
Peter Stephenson
d39b9fabdb
21709 plus tweaks: use $KEYTIMEOUT for multibyte chars.Reset input state on invalid characters or EOF
2005-09-09 11:48:27 +00:00
Peter Stephenson
243539fa30
21610: Turn on ZLE_UNICODE_SUPPORT and fix a few related problems.
2005-08-15 10:01:47 +00:00
Peter Stephenson
d7c13fb2c3
20822: Initial code for Unicode/multibyte input
...
20823: Debugging test in stat wrong for 64-bit systems
2005-02-18 13:57:25 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Peter Stephenson
4688564c0a
19733 with docs tweaked: keymaps for vared and zed
2004-04-06 09:16:57 +00:00
Peter Stephenson
2ace0ce4f2
19553: rename c in zle to lastchar
2004-03-08 11:44:09 +00:00
Peter Stephenson
815bc92148
a la 19209: zcalloc -> zshcalloc
2003-10-29 19:17:30 +00:00
Peter Stephenson
1be7d4744d
18559, 18562: make modules use proper option arguments
2003-05-22 09:48:25 +00:00
Peter Stephenson
62719196b2
18536: EMACS and VI compatibility options
2003-05-14 15:09:14 +00:00
Peter Stephenson
9634760d5e
17582: Improved option argument handling.
...
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Andrew Main
b73d71105e
15734: zle -K option to select a keymap, and zle KEYMAP parameter to
...
examine the current selection.
2001-09-03 01:39:19 +00:00
Peter Stephenson
95733c61c2
bindkey -rp removes prefix bindings; bindkey -p bugfix
2001-04-19 19:43:45 +00:00