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
Daniel Shahaf
f368720b8b
39252: internal: quotestring: Drop the 'e' parameter, which no caller uses.
2016-09-11 09:22:18 +00:00
Oliver Kiddle
c7eead3950
38286: cursor correction following yank-pop is only applicable to vi command mode
2016-04-14 15:52:44 +02:00
Jun-ichi Takimoto
a4020e10a3
37868: add 'static' to file local variables
2016-02-03 01:25:33 +09:00
Barton E. Schaefer
8a818381cf
36525: revert only the selfinsert() bit of 36496
...
selfinsert() may be called with incomplete wide character processing from
places other than getkeymapcmd()
2015-09-12 20:49:13 -07:00
Daniel Shahaf
d37b59fe09
36443: Revert "35834: strip a final newline from pasted text: inserting is hard to tell apart from accepting it"
...
This reverts commit f17eb26a34
.
Conflicts:
ChangeLog
Src/Zle/zle_misc.c
2015-09-11 21:49:16 +00:00
Peter Stephenson
e1c0a947cc
Read full multibyte string early for self-insert
2015-09-11 21:40:45 +01:00
Peter Stephenson
881474edcb
unposted: fix up for 5.0.8-test-2
2015-08-21 21:33:37 +01:00
Daniel Shahaf
fa573a3579
36109: bracketed-paste: change quoting style
2015-08-17 21:53:16 +00:00
Daniel Hahler
5f8a18a561
unposted: fix minor typos
2015-08-14 02:35:32 +02:00
Oliver Kiddle
f17eb26a34
35834: strip a final newline from pasted text: inserting is hard to tell apart from accepting it
2015-08-12 18:05:59 +02:00
Oliver Kiddle
b4aff3bc52
35824: allow highlighting of just pasted text and put text from bracketed paste in cut buffers
2015-07-23 05:36:27 +02:00
Barton E. Schaefer
a1f8d4ffc7
35826: add getsparam_u() to return unmetafied string, use it for a number of references to non-special params
2015-07-22 12:52:24 -07:00
Peter Stephenson
2118390dc1
unposted: add missing (void) argument list to bracketedestring()
2015-06-23 11:28:47 +01: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
de22f2bfa6
34919: update interrupt parse error for ZLE cases.
...
Covers both send-break and push-input.
2015-04-17 17:37:26 +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
7a4a309973
33860: minor fixes to vi mode changes
2014-12-05 20:13:33 +01:00
Oliver Kiddle
d2505f108e
33823: overwrite mode shouldn't replace newlines
2014-11-30 23:37:01 +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
0ea8f28e7b
33700: new widget for put in vim style visual selection mode
2014-11-17 16:32:04 +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
m0viefreak
cd2eb07a78
m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
...
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix
auto-removable suffix highlighting
Completion/Unix/Command/_git: fix compadd for auto-removable suffix in
_git_commit_ranges and _git_stash
2014-03-23 13:02:12 -07:00
Carl Drougge
60372fbda6
32196: copy-prev-shell-word needs a lexer flag
2014-01-02 20:49:04 +00:00
Peter Stephenson
0a5702457b
28510: add (z+c+) and (z+C+) parameter flags
2010-12-12 22:44:50 +00:00
Peter Stephenson
e61af474c1
26876 with updated documentation: add ZLE_{REMOVE,SPACE}_SUFFIX_CHARS
2009-04-24 09:00:29 +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
b2d08a2155
25744: dynamic named directories and further doshfunc() simplification
2008-09-26 09:11:27 +00:00
Peter Stephenson
2920c227d3
25677: add %x and %I prompt escapes for shell source code debugging
...
tidy up interface to doshfunc()
2008-09-16 15:02:01 +00:00
Peter Stephenson
1424e923b1
24915: some more fix-ups for combining characters
2008-05-04 18:30:02 +00:00
Peter Stephenson
62b7e68a63
unposted: fix overwrite without MULTIBYTE_SUPPORT
2008-04-23 21:08:31 +00:00
Peter Stephenson
2cec7aae44
24861 (with tweaks): logic to use alternative wcwidth() if needed;
...
slightly improve test for overwriting with combining characters.
2008-04-22 15:08:04 +00:00
Peter Stephenson
a58d02fd2e
24860: better overwrite mode
2008-04-21 17:58:58 +00:00
Peter Stephenson
f9224e5a04
24859: combining chars: overwriting and vi replace and append
2008-04-21 17:30:34 +00:00
Peter Stephenson
3cf29e7513
24853: bits missed from patch
2008-04-20 21:19:52 +00:00
Peter Stephenson
b8ec06c870
24853: use metafied strings for inner loops over history
2008-04-20 21:17:29 +00:00
Peter Stephenson
1875c12734
24819: fix transposing characters and sneaky combination generation
2008-04-15 16:49:55 +00:00
Peter Stephenson
fe6d34f024
24816: some places where we need cursor alignment with combining characters
2008-04-14 14:57:52 +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
4af9d97317
23807: fix interactive completion mode
2007-08-30 14:38:26 +00:00
Peter Stephenson
c6dfb2999d
users/11419: zle copy-region-as-kill <string>
...
adds text to the kill ring
2007-04-19 14:16:22 +00:00
Peter Stephenson
80acfd135c
22684: improve getkeystring() interface and make printf do octal escapes
2006-09-10 18:10:48 +00:00
Wayne Davison
587db0585c
Call ZS_memchr() instead of plain memchr() so that suffix-removal
...
works again.
2006-02-09 22:14:49 +00:00
Peter Stephenson
94953f70b9
22124: handle bad multibyte input better
2006-01-06 14:23:00 +00:00
Wayne Davison
37e08571a4
Fixed parsedigit() to have it use its arg instead of "lastchar".
2005-11-30 16:49:44 +00:00
Peter Stephenson
e66af50a98
22014: argument-base, insert-unicode-char
2005-11-24 10:25:33 +00:00
Wayne Davison
2288d7760b
Got rid of some compiler warnings about comparisons between signed
...
and unsigned variables.
2005-11-15 09:34:00 +00:00
Wayne Davison
e79af955f0
Got rid of some unsigned-char/char pointer casts.
2005-11-15 08:44:17 +00:00