Commit graph

290 commits

Author SHA1 Message Date
Sebastian Gniazdowski
f4a1c8fdf5 Updated README.md #12 2018-08-04 17:33:04 +02:00
Sebastian Gniazdowski
9745d3d67a hsmw: reset-prompt-protect zstyle – allow users to run zle reset-prompt
Set:
    zstyle :plugin:history-search-multi-word reset-prompt-protect 1
to be able to use `zle reset-prompt' in your e.g. sched calls, in
presence of zdharma/fast-syntax-highlighting, zsh-users/zsh-syntax-high-
lighting, zsh-users/zsh-autosuggestions and other plugins that hook up
into Zshell by overloading Zle widgets. In general, HSMW should be
loaded in bulk (no gap) with all those plugins, right before them.

Issue #12
2018-08-04 17:23:44 +02:00
Sebastian Gniazdowski
ce48a53e36 hsmw: More typo-like lackings of % substitution
Issue #12, not directly related, but discovered at time of examining it
2018-08-04 16:32:17 +02:00
Sebastian Gniazdowski
ace6f6ee56 Updated README.md 2018-08-04 16:27:50 +02:00
Sebastian Gniazdowski
7e2d79bb01 hsmw: A somewhat typo, missing % substitution
Issue #12, not directly related, but discovered at time of examining it
2018-08-04 16:20:41 +02:00
Sebastian Gniazdowski
73e7ea47b9 plugin.zsh: Don't use ZERO, but 0 instead 2018-06-01 09:48:43 +02:00
Sebastian Gniazdowski
4cde68a196 *-highlight: (k) subscript flag is sufficient, no need for (K) 2018-05-25 19:51:22 +02:00
Sebastian Gniazdowski
d79531331f *-highlight: FAST_BLIST_PATTERNS 2018-05-25 17:18:31 +02:00
psprint
1d4d584c45
Merge pull request #9 from kapsh/readme
readme: update links to psprint user
2018-04-29 18:55:32 +02:00
Alexander Kapshuna
99c8b9e715 readme: update links to psprint user 2018-04-29 18:39:50 +03:00
Sebastian Gniazdowski
2a593787b2 *highlight: Highlight path at command position if it leads to directory 2018-03-17 07:51:48 +01:00
Sebastian Gniazdowski
517ae74172 *highlight: Correctly highlight complex [[ conditions 2018-03-17 07:49:00 +01:00
Sebastian Gniazdowski
6763e91914 Updated README.md 2018-01-05 16:24:46 +01:00
Sebastian Gniazdowski
a9e10d0732 Updated README.md 2018-01-05 16:20:34 +01:00
Sebastian Gniazdowski
96d27fcd69 hsmw: Fix warncreateglobal warning 2017-10-18 13:39:37 +02:00
Sebastian Gniazdowski
a7b5e92100 Updated README.md (NEWS) 2017-06-13 07:23:59 +02:00
Sebastian Gniazdowski
74eb3c46f2 Zstyle to configure if BUFFER should be cleared, default false 2017-06-13 07:20:01 +02:00
Sebastian Gniazdowski
3624e8e8c1 hsmw: Indent whole file via Emacs 2017-06-13 06:57:54 +02:00
Sebastian Gniazdowski
14d0704d91 Emacs mode-lines for all files 2017-06-13 06:50:47 +02:00
Sebastian Gniazdowski
bc12fd9bea Updated README.md (PayPal button) 2017-05-23 18:47:16 +02:00
Sebastian Gniazdowski
76b901e6e7 Updated README.md 2017-04-12 09:13:31 +02:00
Sebastian Gniazdowski
a69613d352 *-highlight: Highlight closing square bracket 2017-04-10 10:40:12 +02:00
Sebastian Gniazdowski
e3d3093681 *-highlight: Correctly highlight ')' 2017-04-10 10:38:06 +02:00
Sebastian Gniazdowski
cf3364f018 Updated README.md 2017-04-05 10:14:43 +02:00
Sebastian Gniazdowski
49fea60bf7 hsmw: Optimization – uniquify $history at search, not at store
zprof before 1791, after 1479 (17% gain)
2017-04-05 10:12:19 +02:00
Sebastian Gniazdowski
6960043a50 *highlight: Update modelines 2017-03-26 08:50:23 +02:00
Sebastian Gniazdowski
5ab8df95ba *highlight: Update copyright dates 2017-03-26 08:48:11 +02:00
Sebastian Gniazdowski
e4fd270cb5 *highlight: ## -> # in previous patch 2017-03-25 18:10:24 +01:00
Sebastian Gniazdowski
c05d35e0a0 *highlight: Better highlighting of in-string variables 2017-03-25 15:15:48 +01:00
Sebastian Gniazdowski
026b888ad2 *-context-main: Remove a debug print 2017-03-23 14:03:27 +01:00
Sebastian Gniazdowski
3a6913dc77 Add Github badges to README.md 2017-02-15 08:48:06 +01:00
Sebastian Gniazdowski
fbaad2a834 Fix LICENSE file 2017-02-07 12:49:39 +01:00
Sebastian Gniazdowski
c2e08979f8 Highlight options by default 2017-01-27 13:19:48 +01:00
Sebastian Gniazdowski
82e639c11e Input-driven case-sensivity of search 2017-01-27 13:08:52 +01:00
Sebastian Gniazdowski
b0f9de1bb6 hsmw: Inform about bump functionality (Ctrl-J) 2016-12-09 08:35:37 +01:00
Sebastian Gniazdowski
cec22e3e15 hsmw: New feature – jump of history entries (Ctrl-J) 2016-11-30 07:53:44 +01:00
Sebastian Gniazdowski
a215847fae *ctx*: Reset index when moving previous/next 2016-11-13 13:47:24 +01:00
Sebastian Gniazdowski
6a0bc43f7f Updated README.md 2016-11-12 16:40:37 +01:00
Sebastian Gniazdowski
4cc439897c *ctx*: Use ${#BUFFER} when highlighting message about context 2016-11-12 16:38:18 +01:00
Sebastian Gniazdowski
1dbbb371a0 Support for context of command (Ctrl-K, then Ctrl-N/Ctrl-P) 2016-11-12 15:55:21 +01:00
Sebastian Gniazdowski
4465b57f95 Better handling of "synhl" zstyle, via -T zstyle option 2016-11-05 11:44:50 +01:00
Sebastian Gniazdowski
9f6da82c9b Merge branch 'temporary'
Two commits done in detached head state
2016-11-05 11:40:48 +01:00
Sebastian Gniazdowski
e6bc8ff0c0 Zstyle to configure whether to check paths for existence
parse.zsh -oo, after changes:

Running time: 1.5653990000
num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)  350        1557,37     4,45   99,99%   1199,04     3,43   76,98%  -hsmw-highlight-process
 2) 2800         294,91     0,11   18,93%    294,91     0,11   18,93%  -hsmw-highlight-string
 3) 1750          40,81     0,02    2,62%     40,81     0,02    2,62%  -hsmw-highlight-check-path
 4) 1400          22,61     0,02    1,45%     22,61     0,02    1,45%  -hsmw-highlight-main-type
 5)    1           0,12     0,12    0,01%      0,12     0,12    0,01%  -hsmw-highlight-fill-option-variables
 6)    1           0,02     0,02    0,00%      0,02     0,02    0,00%  -hsmw-highlight-init
2016-11-05 11:36:39 +01:00
Sebastian Gniazdowski
175d0ae6d4 Updated README.md 2016-11-05 08:03:58 +01:00
Sebastian Gniazdowski
009d13369c *highlight: Stop highlighting function name after () is typed 2016-11-03 13:17:37 +01:00
Sebastian Gniazdowski
64f47cec06 *highlight,*plugin.zsh: Highlight variables when 256 color terminal 2016-11-03 11:49:07 +01:00
Sebastian Gniazdowski
2bf4e674ba *highlight: Optimize alias handling more 2016-11-02 18:52:19 +01:00
Sebastian Gniazdowski
daa2ec31b5 *highlight: One case less, no ;| fall through
15xx values are now very common, though the gains are low

parse.zsh -oo, after changes:

Running time: 1.5569020000
num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)  350        1549,43     4,43   99,99%   1194,57     3,41   77,09%  -hsmw-highlight-process
 2) 2800         294,41     0,11   19,00%    294,41     0,11   19,00%  -hsmw-highlight-string
 3) 1750          40,59     0,02    2,62%     40,59     0,02    2,62%  -hsmw-highlight-check-path
 4) 1400          19,87     0,01    1,28%     19,87     0,01    1,28%  -hsmw-highlight-main-type
 5)    1           0,09     0,09    0,01%      0,09     0,09    0,01%  -hsmw-highlight-fill-option-variables
 6)    1           0,01     0,01    0,00%      0,01     0,01    0,00%  -hsmw-highlight-init
2016-11-02 12:13:31 +01:00
Sebastian Gniazdowski
48a117959a *highlight: Optimization: remove *-stack-pop call, squash conditions
parse.zsh -oo, after changes:

Running time: 1.5628500000
num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)  350        1555,27     4,44  100,00%   1199,16     3,43   77,10%  -hsmw-highlight-process
 2) 2800         295,11     0,11   18,97%    295,11     0,11   18,97%  -hsmw-highlight-string
 3) 1750          40,98     0,02    2,64%     40,98     0,02    2,64%  -hsmw-highlight-check-path
 4) 1400          20,01     0,01    1,29%     20,01     0,01    1,29%  -hsmw-highlight-main-type
 5)    1           0,07     0,07    0,00%      0,07     0,07    0,00%  -hsmw-highlight-fill-option-variables
 6)    1           0,01     0,01    0,00%      0,01     0,01    0,00%  -hsmw-highlight-init
2016-11-02 11:58:41 +01:00
Sebastian Gniazdowski
36aa966a09 *highlight: Prepare *-stack-pop for removal – shorter, compressed 2016-11-02 11:32:34 +01:00