about summary refs log tree commit diff
path: root/Src/Zle/zle_keymap.c
Commit message (Collapse)AuthorAgeFilesLines
* 52750: remove ansi2knr support for old pre-ansi K&R compilersOliver Kiddle2024-03-181-1/+1
|
* 50569 (Daniel Shahaf): main keymap defaults to emacsBart Schaefer2023-10-261-9/+3
| | | | | Tweaked to make the sample .zshrc code better match the former C code, and to remove the declaration of no-longer-used variable "ed".
* 51447: silence compiler maybe-uninitialized warning by combining a couple of ↵Oliver Kiddle2023-02-171-12/+13
| | | | variables
* 51212: remove STOUC() macroOliver Kiddle2022-12-161-11/+11
| | | | | This served as a workaround for ancient compilers where casts to unsigned char were broken.
* 51215: consume whole CSI sequences from the inputOliver Kiddle2022-12-161-2/+25
| | | | | | | This affects CSI sequences that aren't explicitly bound but arrive within the usual KEYTIMEOUT time limits. A single undefined-key widget is run instead of unintended bindings for Escape and other characters in the sequence.
* 49377: fix segfault by 'bindkey -d' with reordered keymapnamtabJun-ichi Takimoto2021-09-081-1/+21
|
* 45487: Missing mod_export declarations for AIXPeter Stephenson2020-02-241-1/+1
|
* 45269: Fix misspellings in completions and elsewhere.Jens Schleusener2020-01-091-1/+1
|
* Don't handle ZLE functions for single key.Peter Stephenson2018-09-031-2/+2
| | | | | | For read -k and read -q where we use ZLE, we just want a single key and not full ZLE processing. So don't handle timed ZLE functions when preforming the read.
* 41191: Check for immortal thingies when checking for specific thingiesPeter Stephenson2017-06-011-1/+1
|
* 39986, 39989: improve handling of vi-repeat-changeOliver Kiddle2016-11-201-1/+1
| | | | | | Save previous vi change and throw away a new change that fails. Add zle -f vichange to allow shell widget to be a single change. Fix repeat of command where numeric arguments were multiplied.
* 39962: bind vi case conversion widgetsOliver Kiddle2016-11-171-0/+3
| | | | u/U in visual mode and g~ from normal mode
* unposted: comment explaining key buffer handling.Peter Stephenson2016-11-031-0/+7
| | | | | Describe putting back the tail end of the key buffer into the input.
* 39813: fix keybuflen after ungetting extra keys from the end of keybuf in ↵Barton E. Schaefer2016-11-031-2/+5
| | | | getkeymapcmd().
* 38770: vi upper/lowercase widgets and shell widget example that reads a vi ↵Oliver Kiddle2016-06-291-1/+4
| | | | movement
* 38463: use immortal widgets in .safe keymapBarton E. Schaefer2016-05-101-8/+8
|
* 38241: ungetkeycmd() needs to unmetafy key string.Peter Stephenson2016-04-041-7/+2
| | | | | | Use the new function to simplify memory management in prefix handling. Third time lucky.
* 37405: Fix self-insert binding for multibyte sequences.Peter Stephenson2015-12-151-9/+100
| | | | | | 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.
* users/21071: Fix binding of multibyte sequences.Peter Stephenson2015-12-081-1/+1
| | | | | There was a problem if the first byte was already bound to self-insert.
* Read full multibyte string early for self-insertPeter Stephenson2015-09-111-8/+29
|
* 36106: fix const parameter to bindkeyKamil Dudka2015-08-121-1/+1
|
* 36044: deactivate-region widget for escape in visual modeOliver Kiddle2015-08-111-0/+1
|
* 35474, 35492: support the bracketed paste mode of newer terminal emulatorsOliver Kiddle2015-06-191-0/+5
|
* 34905: no parse error after keyboard interrupt.Peter Stephenson2015-04-171-1/+2
| | | | | | | | 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.
* 34002: zshcalloc() in init_keymaps()Barton E. Schaefer2014-12-181-1/+1
|
* 33956: document key binding changes and remove ^X bindingOliver Kiddle2014-12-131-0/+1
|
* 33846: additional default vi-mode key bindingsOliver Kiddle2014-12-131-0/+7
|
* 33950: ignore KEYTIMEOUT for vi operatorsOliver Kiddle2014-12-121-1/+7
|
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 33730: vim style text objects for selecting wordsOliver Kiddle2014-11-211-0/+6
|
* 33704: keybindings, documentation, tests and minorOliver Kiddle2014-11-171-1/+21
| | | | fixes for vim style visual selection changes
* 33596: make local keymap keybinding hide global keymapOliver Kiddle2014-11-041-1/+1
| | | | binding that is a prefix of the local binding
* John Stahara: 30641: bindkey -N error report is misleadingPeter Stephenson2012-08-251-1/+1
| | | | when copying keymap.
* 30033: silence valgrind warningsBart Schaefer2011-12-201-0/+1
|
* 28282: new function zlecallhook()Peter Stephenson2010-09-201-13/+2
| | | | fix arguments to zle-keymap-select
* 28237: new parameter ZLE_LINE_ABORTEDPeter Stephenson2010-09-081-2/+8
| | | | 28241: don't list .safe with bindkey -lL
* 28229: can list individual keymapsPeter Stephenson2010-09-051-4/+18
|
* 28227: improved documentation on keymapsPeter Stephenson2010-09-051-10/+106
| | | | 28226: improve bindkey -lL for aliased keymaps
* 26463: Greg Klanderman: add zle-line-finish widgetPeter Stephenson2009-01-281-4/+11
| | | | | 26464: Greg Klanderman: fix insert-ids=single for menu completion 26465: Greg Klanderman: command keymap for execution
* 26366: add "isearch" keymap and "accept-search" functinoPeter Stephenson2009-01-191-0/+4
|
* 26024: don't leave ref count incremented when aborting bindkey with an errorOliver Kiddle2008-11-111-1/+2
|
* 24786: handle read -t properly in zle via getbyte()Peter Stephenson2008-04-031-1/+1
|
* 22684: improve getkeystring() interface and make printf do octal escapesPeter Stephenson2006-09-101-5/+6
|
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-22/+20
|
* this one got missedPeter Stephenson2006-04-251-1/+1
|
* users/10172: new zle command read-commandPeter Stephenson2006-04-231-0/+13
|
* 22169: hook function zle-keymap-select called when $KEYMAP changesPeter Stephenson2006-01-281-1/+17
|
* unposted: bit I missed in 21945Peter Stephenson2005-10-281-1/+1
|
* 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;Peter Stephenson2005-10-281-3/+3
| | | | use multibyte versions of nicechar wherever possible.
* 21784: Improved character widths for formatted multibyte character outputPeter Stephenson2005-09-291-4/+6
|