Oliver Kiddle
c4d557bb0a
50934: use OSC 52 escape sequence when copying to "* or "+ vi buffers
2022-11-17 20:05:12 +01:00
Roman Perepelitsa
c551937280
44215: Maintain LASTWIDGET across reset-prompt.
...
This avoids side effects of asynchronous notifications.
2019-04-10 09:41:04 +01:00
Peter Stephenson
3ad2ca3305
Don't handle ZLE functions for single key.
...
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.
2018-09-03 10:09:22 +01:00
Oliver Kiddle
cb5f100bd3
39986, 39989: improve handling of vi-repeat-change
...
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-20 23:59:48 +01:00
Oliver Kiddle
48bdcd7713
39959: when repeating vi changes advance through the numbered killring registers
...
Also fix numeric arguments with vi-repeat-change: and argument passed
to the repeat replaces that previously saved with the change.
2016-11-17 12:28:08 +01:00
Daniel Shahaf
9d460a9d7f
39806: internal: Document zle's vichgbuf.
2016-11-03 16:44:14 +00:00
Barton E. Schaefer
060ff48915
39820: vi-repeat handles multi-key bindings
2016-11-03 09:13:03 -07:00
Barton E. Schaefer
ae4c035cde
39811: vi-repeat-change must not be the "motion" of vi-change, lest it infinitely repeat itself
2016-11-02 16:27:29 -07:00
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
Oliver Kiddle
267f945ffe
38287: fix position for the end of a visual selection range for the cursor on an empty last line in the buffer
2016-04-14 15:52:50 +02:00
Peter Stephenson
e1c0a947cc
Read full multibyte string early for self-insert
2015-09-11 21:40:45 +01:00
Barton E. Schaefer
43079e5d8e
36274: clear virangeflag when getvirange() has an error (the next keystroke is not a motion/selection).
2015-08-22 21:54:31 -07:00
Oliver Kiddle
88f4e24d4c
33924: allow vi line/characterwise mode to be forced
2014-12-08 17:24:48 +01:00
Oliver Kiddle
7a4a309973
33860: minor fixes to vi mode changes
2014-12-05 20:13:33 +01:00
Oliver Kiddle
69594a6cf0
33738: account for a selection in vi-replace-chars
2014-11-21 11:40:01 +01:00
Oliver Kiddle
0a4223d908
unposted: reindent large block
2014-11-17 23:03:10 +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
36878852ef
33636: add support for a linewise visual selection mode
2014-11-17 22:50:34 +01:00
Oliver Kiddle
492b6cec28
33635: adapt region to function as vim style visual selection mode
2014-11-17 22:47:59 +01:00
Oliver Kiddle
25cc978a99
33633: support vim style text objects
2014-11-17 00:49:32 +01:00
Oliver Kiddle
15fc2cd4f0
33632: use viopp and visual local keymaps if they exist
2014-11-17 00:49:31 +01:00
Oliver Kiddle
f26abf3a17
33695: fix various vi-indent problems and vi-swap-case on a blank line
2014-11-15 21:27:44 +01:00
Oliver Kiddle
f01188ec2a
33639: fix bug with vi operators on a blank line
...
and with backward bracket matching
2014-11-09 17:51:26 +01:00
Oliver Kiddle
c7ff843ecf
33604: fix change merging for vi mode where a change has just been undone
2014-11-05 22:50:48 +01:00
Oliver Kiddle
73ca153159
33593: support numeric argument to vi-join
2014-11-03 00:36:00 +01:00
Oliver Kiddle
fd302c9837
33570, 33576: make killring/yank-pop work in vi mode after
...
vi-put-before and vi-put-after
2014-10-30 21:52:36 +01:00
Oliver Kiddle
16cfa78aa9
33528: take notice of last column position when using vi-yank
...
and an upward cursor movement
2014-10-29 13:34:37 +01:00
Oliver Kiddle
746b53d5d7
33520: correct cursor positioning following a vi mode yank operation
2014-10-24 00:18:32 +02:00
Oliver Kiddle
bdedf7b40b
33518: add support for "_ vi buffer and arguments to vi-set-buffer from a zle widget
2014-10-23 21:47:23 +02:00
Oliver Kiddle
a39c3adece
33512: add support for "0 vi buffer and yank to it
2014-10-23 17:00:31 +02:00
Jun T
ba44ba6e6f
32480: Fix crash in vi mode with too few previous changes
2014-03-13 16:29:19 +00:00
Oliver Kiddle
e1bc9d0a44
32342: fix overstrike for vi mode and use varying vi commands at line start
2014-02-05 21:55:18 +01:00
Oliver Kiddle
2cd3b9ab74
32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based on
...
Jun T: 32324, 32330), 32347, Jun T: 32344, 32349:
add split-undo zle widget for configurable breaks in undo sequence
2014-02-05 21:45:19 +01:00
Oliver Kiddle
a8c4ed64ee
32314: merge undo events corresponding to vi change in the vi-cmd-mode widget so undo from insert mode is useful again
2014-01-31 14:03:47 +01:00
Peter Stephenson
c56f5aed59
32308: Improve initialising of vi change.
...
Better handling when entering viins on entry to editor.
Slightly changed since post to use vi command a.
2014-01-28 16:12:41 +00:00
Peter Stephenson
1424e923b1
24915: some more fix-ups for combining characters
2008-05-04 18:30:02 +00:00
Peter Stephenson
2b84984769
24865: bad character adjustment in vireplacechars()
2008-04-23 08:43:38 +00:00
Peter Stephenson
f9224e5a04
24859: combining chars: overwriting and vi replace and append
2008-04-21 17:30:34 +00:00
Peter Stephenson
b8ec06c870
24853: use metafied strings for inner loops over history
2008-04-20 21:17:29 +00:00
Peter Stephenson
dea42c692f
24852: more combining chars fallout
2008-04-20 16:57:21 +00:00
Peter Stephenson
fb0db37297
fix vi-replace-chars
2008-04-17 16:18:41 +00:00
Peter Stephenson
97dcf15556
24808: initial support for combining characters in zle
2008-04-13 16:58:42 +00:00
Peter Stephenson
bc32da6a67
24786: handle read -t properly in zle via getbyte()
2008-04-03 15:20:18 +00:00
Peter Stephenson
949f5b6dee
22431: set WIDGET etc. more consistently when executing zle functions
2006-04-25 15:00:25 +00:00
Wayne Davison
8fde3fdf76
- In vireplacechars(), changed "ch" into a ZLE_INT_T.
...
- Changed some islower()/isupper()/iblank() calls on zleline to
use the new ZC_i<type> versions.
2005-11-01 02:50:30 +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
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
Wayne Davison
5e803c0fcf
Got rid of an empty #ifdef/#else/#endif.
2005-08-17 19:26:03 +00:00
Andrey Borzenkov
ae6c23ae2c
20872: fix ZS_{icntrl,tolower} vs. ZC_{incntrl,tolower} confusion
2005-02-26 07:40:54 +00:00
Peter Stephenson
f7ceca4fec
20869: more small Unicode tweaks
2005-02-25 15:10:01 +00:00