summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_vi.c
AgeCommit message (Collapse)AuthorFilesLines
2024-01-2852441: zle_vi: Mark variables with const init as constJörg Sommer1-1/+1
Because these variables are initialized with as constant string, they should be marked as *const* to make the compiler running with `-Wwrite-strings` more happy.
2022-11-1750934: use OSC 52 escape sequence when copying to "* or "+ vi buffersOliver Kiddle1-3/+6
2019-04-1044215: Maintain LASTWIDGET across reset-prompt.Roman Perepelitsa1-1/+1
This avoids side effects of asynchronous notifications.
2018-09-03Don't handle ZLE functions for single key.Peter Stephenson1-1/+1
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.
2016-11-2039986, 39989: improve handling of vi-repeat-changeOliver Kiddle1-75/+62
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.
2016-11-1739959: when repeating vi changes advance through the numbered killring registersOliver Kiddle1-9/+26
Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change.
2016-11-0339806: internal: Document zle's vichgbuf.Daniel Shahaf1-0/+9
2016-11-0339820: vi-repeat handles multi-key bindingsBarton E. Schaefer1-4/+6
2016-11-0239811: vi-repeat-change must not be the "motion" of vi-change, lest it ↵Barton E. Schaefer1-1/+1
infinitely repeat itself
2016-06-2938770: vi upper/lowercase widgets and shell widget example that reads a vi ↵Oliver Kiddle1-0/+46
movement
2016-04-1438287: fix position for the end of a visual selection range for the cursor ↵Oliver Kiddle1-1/+1
on an empty last line in the buffer
2015-09-11Read full multibyte string early for self-insertPeter Stephenson1-1/+1
2015-08-2236274: clear virangeflag when getvirange() has an error (the next keystroke ↵Barton E. Schaefer1-0/+2
is not a motion/selection).
2014-12-0833924: allow vi line/characterwise mode to be forcedOliver Kiddle1-2/+11
2014-12-0533860: minor fixes to vi mode changesOliver Kiddle1-31/+25
2014-11-2133738: account for a selection in vi-replace-charsOliver Kiddle1-8/+35
2014-11-17unposted: reindent large blockOliver Kiddle1-69/+68
2014-11-1733704: keybindings, documentation, tests and minorOliver Kiddle1-7/+1
fixes for vim style visual selection changes
2014-11-1733636: add support for a linewise visual selection modeOliver Kiddle1-7/+21
2014-11-1733635: adapt region to function as vim style visual selection modeOliver Kiddle1-8/+40
2014-11-1733633: support vim style text objectsOliver Kiddle1-2/+13
2014-11-1733632: use viopp and visual local keymaps if they existOliver Kiddle1-0/+5
2014-11-1533695: fix various vi-indent problems and vi-swap-case on a blank lineOliver Kiddle1-4/+10
2014-11-0933639: fix bug with vi operators on a blank lineOliver Kiddle1-9/+3
and with backward bracket matching
2014-11-0533604: fix change merging for vi mode where a change has just been undoneOliver Kiddle1-2/+2
2014-11-0333593: support numeric argument to vi-joinOliver Kiddle1-14/+21
2014-10-3033570, 33576: make killring/yank-pop work in vi mode afterOliver Kiddle1-67/+1
vi-put-before and vi-put-after
2014-10-2933528: take notice of last column position when using vi-yankOliver Kiddle1-5/+15
and an upward cursor movement
2014-10-2433520: correct cursor positioning following a vi mode yank operationOliver Kiddle1-1/+8
2014-10-2333518: add support for "_ vi buffer and arguments to vi-set-buffer from a ↵Oliver Kiddle1-6/+18
zle widget
2014-10-2333512: add support for "0 vi buffer and yank to itOliver Kiddle1-6/+6
2014-03-1332480: Fix crash in vi mode with too few previous changesJun T1-1/+1
2014-02-0532342: fix overstrike for vi mode and use varying vi commands at line startOliver Kiddle1-2/+4
2014-02-0532334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based onOliver Kiddle1-7/+1
Jun T: 32324, 32330), 32347, Jun T: 32344, 32349: add split-undo zle widget for configurable breaks in undo sequence
2014-01-3132314: merge undo events corresponding to vi change in the vi-cmd-mode ↵Oliver Kiddle1-3/+9
widget so undo from insert mode is useful again
2014-01-2832308: Improve initialising of vi change.Peter Stephenson1-2/+25
Better handling when entering viins on entry to editor. Slightly changed since post to use vi command a.
2008-05-0424915: some more fix-ups for combining charactersPeter Stephenson1-18/+29
2008-04-2324865: bad character adjustment in vireplacechars()Peter Stephenson1-1/+3
2008-04-2124859: combining chars: overwriting and vi replace and appendPeter Stephenson1-9/+18
2008-04-2024853: use metafied strings for inner loops over historyPeter Stephenson1-2/+1
2008-04-2024852: more combining chars falloutPeter Stephenson1-6/+13
2008-04-17fix vi-replace-charsPeter Stephenson1-1/+1
2008-04-1324808: initial support for combining characters in zlePeter Stephenson1-19/+37
2008-04-0324786: handle read -t properly in zle via getbyte()Peter Stephenson1-1/+1
2006-04-2522431: set WIDGET etc. more consistently when executing zle functionsPeter Stephenson1-1/+1
2005-11-01- In vireplacechars(), changed "ch" into a ZLE_INT_T.Wayne Davison1-13/+10
- Changed some islower()/isupper()/iblank() calls on zleline to use the new ZC_i<type> versions.
2005-10-2821943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;Peter Stephenson1-2/+2
use multibyte versions of nicechar wherever possible.
2005-09-0921709 plus tweaks: use $KEYTIMEOUT for multibyte chars.Reset input state on ↵Peter Stephenson1-1/+1
invalid characters or EOF
2005-08-17Got rid of an empty #ifdef/#else/#endif.Wayne Davison1-4/+0
2005-02-2620872: fix ZS_{icntrl,tolower} vs. ZC_{incntrl,tolower} confusionAndrey Borzenkov1-5/+6