Barton E. Schaefer
5455798bb5
Oliver: 40118: alternate fix replacing 40115
...
This commit reverts 40115 (commit 3594f55f
) thus restoring 38579, then
applies 40118: Relocate BUFFER/CURSOR reset to work around "fc -p" issue
2016-12-24 00:15:21 -08:00
Zhiming Wang
3594f55fc0
40115: revert 38579 due to bug restoring BUFFER after history search
...
This reverts commit 20948d0889
.
2016-12-06 21:37:30 -08:00
Oliver Kiddle
5dc7b35ff6
unposted: set new vichange flag for surround widget
2016-11-25 23:07:53 +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
488d73c07d
39884: fix history-beginning-search-menu for history lines containing a pipe character
2016-11-09 16:55:13 +01:00
Barton E. Schaefer
87c951c6bd
unposted: add "--" to zle widget call for conventional sanity
2016-10-29 10:08:53 -07:00
Barton E. Schaefer
9cfd26bf10
unposted: handle empty pastes and "zle bracketed-paste variablename" form.
2016-10-28 16:44:35 -07:00
Mikael Magnusson
c3fbd97f9b
bracketed-paste-url-magic: Handle magnet links too, and allow for schemes without //
2016-09-19 00:34:13 +02:00
Daniel Shahaf
7154052ebe
39046 + 39061: New :P history modifier.
2016-08-22 03:34:30 +00:00
Oliver Kiddle
b816bb42cf
38957: make use of updates to match-words-by-style and better support completion of word-style styles for zstyle
2016-07-28 16:16:25 +02:00
Oliver Kiddle
7830a8c498
unposted: fix vi-pipe for visual mode: don't need to force line mode
2016-07-28 16:07:59 +02:00
Peter Stephenson
26361e438b
38953: Fix some issues with match-words-by-style.
...
Add keyword retrieval of words. Improve test for start of
word in subwords for use in delete-whole-word. If line after
cursor is empty, white space is treated as ws-after-cursor.
2016-07-28 09:51:19 +01:00
Oliver Kiddle
ac05343049
38936: fix vi-pipe function for option compatibility
2016-07-24 22:33:14 +02:00
Oliver Kiddle
932ff2b6f8
38929: new vim style text object using match-words-by-style mechanism
2016-07-24 22:18:34 +02:00
Barton E. Schaefer
b3dba0f7c1
Relocate add-zle-hook-widget, everything else in Functions/Zle is a widget.
2016-07-17 12:07:43 -07:00
Barton E. Schaefer
e3884c60ed
38866: update add-zle-hook-widget doc for 38850, bug fixes
...
Edge case handling, wrap in anonymous function for kshautoload management.
2016-07-17 12:04:48 -07:00
Barton E. Schaefer
3e61af3ff4
38850: Simplify indexing scheme to store hooks in the order they are added
...
Also, better handling of edge cases and of autoloading/sourcing file
2016-07-13 22:14:54 -07:00
Peter Stephenson
c135c416b2
38796: Fix subword matching on last character of subword.
2016-07-08 15:32:44 +01: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
76f28cc908
38749: fixes for case at start of a line and for ksharrays
2016-06-22 22:15:52 +02:00
Barton E. Schaefer
0b8ab3a21a
38715: add-zle-hook-widget: assorted ksharrays fixes; assign an index to any hook that is added without one, to preserve append ordering
2016-06-19 19:50:37 -07:00
Peter Stephenson
4cacf1624f
38693: Add RPN mode to zcalc
2016-06-16 11:39:42 +01:00
Barton E. Schaefer
8e2ec4517f
38670: New function for managing ZLE special widgets, modeled after Functions/Misc/add-zsh-hook.
2016-06-12 18:50:10 -07:00
Oliver Kiddle
20948d0889
38579: simplify saving and restoring of state
2016-06-09 22:58:45 +02:00
Barton E. Schaefer
c5c2fa4fb5
unposted: update documentary comments to remove references to self-insert-unmeta.
2016-05-09 08:27:52 -07:00
Barton E. Schaefer
e54578ff74
37971: fix potential issues when interacting with user-defined widgets
...
Cf. users/21284: Eric Freese
2016-02-14 11:35:18 -08:00
Barton E. Schaefer
4a30b542a0
37570: give truth to the doc assertion transpose-words-match is a drop-in replacement for transpose-words
2016-01-13 19:51:07 -08:00
Barton E. Schaefer
c275839033
37567: use (Z:n:) to split the buffer into words so line breaks are treated as whitespace
2016-01-13 19:50:24 -08:00
Daniel Shahaf
1f2bdc2aa2
unposted (after users/20873): Theoretical fix: don't parse print/echo escape sequences in $zle_bracketed_paste.
2015-12-19 10:48:48 +00:00
Peter Stephenson
1f75d7ff2c
37386: localise mbegin, mend, match in URL magic
2015-12-11 14:05:29 +00:00
Oliver Kiddle
f546ea64df
users/20873: disable bracketed paste while running external editor from zle
2015-12-11 05:34:48 +01:00
Daniel Shahaf
253df6d4bb
37295: kill-word-match: Join kills
2015-12-03 23:47:24 +00:00
Peter Stephenson
4add525883
37170: suppress global create warning in function
2015-11-20 12:42:35 +00:00
Peter Stephenson
1eef57b3d1
37027: allow subword context to discriminate between words
2015-10-30 16:59:41 +00:00
Barton E. Schaefer
aba7c00698
36994: declare local REPLY for use with "zle .read-command"; use .self-insert instead of .self-insert-unmeta
2015-10-27 20:29:07 -07:00
Barton E. Schaefer
b947789d7c
36871: move initial call to "zle .bracketed-paste-magic" to occur earlier in the function
...
Just in case any later initialization might have side-effects.
2015-10-21 14:47:41 -07:00
Mikael Magnusson
99aff5bb0c
unposted: bracketed-paste-url-magic: actually do what the comment says
2015-10-01 20:16:24 +02:00
Mikael Magnusson
76da752fd7
36692: bracketed-paste-url-magic: simpler alternative for handling pasted urls
2015-10-01 03:55:21 +02:00
Barton E. Schaefer
56ed4df898
36587: use +LINE:COLUMN to place the cursor when invoking emacs variants, for emacsclient
2015-09-22 08:52:52 -07:00
Barton E. Schaefer
b957cdd21a
unposted: revert 36483 as multibyte is now handled by "zle .read-command"; adapt to new default behavior of zle_highlight for paste
2015-09-12 17:16:43 -07:00
Peter Stephenson
f5e8527a8c
36483: handle incomplete multibyte characters in bracketed-paste-magi
2015-09-11 18:40:22 +01:00
Axel Beckert
a9df6aaa70
36338: Replace "5.0.9" with "5.1" in source comments
2015-08-30 22:47:00 +02:00
Barton E. Schaefer
2ed3b84fa6
36266: preserve emulation and setopt context for init and finish functions, handle vi modes
2015-08-21 13:38:19 -07:00
Barton E. Schaefer
c239a7bd91
36212: save and restore HISTNO along with other editor state, for sanity of "zle undo"
2015-08-17 20:59:00 -07:00
Barton E. Schaefer
2f2808098b
unposted: mention bracketed-paste-magic in url-quote-magic comments
2015-08-16 22:52:21 -07:00
Barton E. Schaefer
795e6eb9b3
36195, 36196: wrapper of bracketed-paste for compatibilty with url-quote-magic and other self-insert wrapper widgets
2015-08-16 22:23:06 -07:00
Oliver Kiddle
832130c57d
36131: make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is referenced for a clear change number marking the current state
2015-08-13 16:18:26 +02:00
Oliver Kiddle
8bbfbfebbc
unposted (c.f. Bart: 35902): use - after zle -U in case $key is -
2015-08-05 15:44:18 +02:00
Daniel Shahaf
a8e18dc370
35807: edit-command-line: Fix for non-7bit-data (after 35769)
...
Bug reported and fix suggested by Mikael.
2015-07-24 14:11:27 +00:00
Barton E. Schaefer
045bd4e3a6
35823: fix handling of MARK and CURSOR, clean up documentary comment
2015-07-22 12:48:03 -07:00