Suraj N. Kurapati
c4a83561a1
README: add Fedora 21 to fallback up/down bindkey
...
https://github.com/zsh-users/zsh-history-substring-search/issues/37#issuecomment-96327615
2015-04-26 20:17:10 -07:00
Suraj N. Kurapati
6d7bc718ae
skip HIST_FIND_NO_DUPS if HIST_IGNORE_ALL_DUPS set
...
Thanks to @ELLIOTTCABLE for suggesting this optimization:
https://github.com/zsh-users/zsh-history-substring-search/issues/19#issuecomment-90295460
2015-04-06 17:33:27 -07:00
Suraj N. Kurapati
b5c81fd750
README: document HIST_FIND_NO_DUPS as alternative
...
Elliott Cable wrote:
> HIST_IGNORE_ALL_DUPS doesn't provide the functionality I want;
>
> I don't want my history actually modified; I simply want to skip
> duplicate entries when using my history-substring-search keybind. |=<
https://github.com/zsh-users/zsh-history-substring-search/issues/19#issuecomment-90289051
2015-04-06 17:24:00 -07:00
Suraj N. Kurapati
fc7eb3cbf0
GH-42: speed up HIST_FIND_NO_DUPS: drop O(n) prune
...
Don't prune all duplicates from the search space *before* performing the
search! Instead, simply redo the search when a duplicate result is found.
2015-03-22 11:16:12 -07:00
Suraj N. Kurapati
5866858947
Merge pull request #41 from parkercoates/master
...
GH-19: Respect the HIST_FIND_NO_DUPS option.
2015-03-17 10:59:44 -07:00
Suraj N. Kurapati
3c7b079275
Merge zsh-syntax-highlighting #143 to close #15
...
The problem reported in issue #15 was fixed upstream in #143 :
https://github.com/zsh-users/zsh-syntax-highlighting/pull/143
2015-02-17 12:16:55 -08:00
Suraj N. Kurapati
9f9fc7d550
README: MacOSX 10.9 users need to bind ^[[A/B too
...
Thanks to Andrea Leopardi for reporting this in issue #37 .
2014-08-30 10:38:17 -07:00
Suraj N. Kurapati
1e76804052
README: document that ZSH 4.3 or newer is required
...
closes #24
2013-11-02 12:55:57 -07:00
Suraj N. Kurapati
82fbef5132
drop default key bindings (move them into README)
...
https://github.com/sorin-ionescu/prezto/issues/422
https://github.com/sorin-ionescu/prezto/commit/3c5363ef9bcfda4cc5cd46ca85a7109f783c9539
2013-04-25 14:46:22 -07:00
Suraj N. Kurapati
3bd84be43e
we need to bind ^[[A and ^[[B not ^[A and ^[B
2013-02-22 12:21:34 -08:00
Suraj N. Kurapati
428ea10598
Merge branch 'bindkey'; closes issue #12
2013-01-05 17:47:45 -08:00
Suraj N. Kurapati
04c2eca00c
use explicit return codes instead of true & false
2012-03-28 11:00:53 -07:00
Suraj N. Kurapati
a23cfbb11f
GH-10: retain not-found highlight at boundaries
2012-03-28 06:44:05 -07:00
Suraj N. Kurapati
226ae9a368
GH-10: clear highlights before displaying result
2012-03-27 21:36:09 -07:00
Suraj N. Kurapati
527f95fee9
GH-9: retain search query highlight on cursor move
2012-03-13 13:54:54 -07:00
Suraj N. Kurapati
0943070a9d
GH-8: do not interfere with self-insert overrides
2012-03-12 21:23:37 -07:00
Suraj N. Kurapati
ba2e1a76aa
extendedglob used in *end() function; closes #6
2011-09-30 17:02:29 -07:00
Suraj N. Kurapati
db51e71ec7
Merge branch 'local_options'
2011-09-30 11:18:48 -07:00
Suraj N. Kurapati
c5c4ab8eea
change options locally and restore them on return
2011-09-22 11:16:34 -07:00
Suraj N. Kurapati
0e58320e78
Merge pull request #5 from sorin-ionescu/issue-2
...
fix #2 : always use up/down-line-or-history
2011-09-17 12:08:19 -07:00
Suraj N. Kurapati
acd181e11f
README: update URLs to new zsh-users organization
2011-08-04 14:20:43 -07:00
Suraj N. Kurapati
1ec51023d7
move project description into README & markdownify
2011-08-04 14:19:56 -07:00
Suraj N. Kurapati
981b787ca0
separate markdown URL list into references section
2011-07-25 13:42:21 -07:00
Suraj N. Kurapati
810095f097
follow the oh-my-zsh coding style guidelines
...
https://github.com/robbyrussell/oh-my-zsh/wiki/Coding-style-guide
2011-06-28 14:27:10 -07:00
Suraj N. Kurapati
02a1971540
begin writing usage & configuration documentation
2011-06-28 12:46:19 -07:00
Suraj N. Kurapati
89eec57d06
clean up shell programming style to fit ZSH
2011-06-27 19:04:53 -07:00
Suraj N. Kurapati
59e6bfbdfd
merge search-highlight func into search-end func
2011-06-26 11:30:46 -07:00
Suraj N. Kurapati
86bbedb993
rename number to index; use locals and (( math ))
2011-06-25 20:58:31 -07:00
Suraj N. Kurapati
f1ab1a7601
reorganize configuration, functions, and details
2011-06-25 20:58:31 -07:00
Suraj N. Kurapati
ffaecb6efc
remove useless last_entry_in_history variable
2011-06-25 20:58:31 -07:00
Suraj N. Kurapati
89513675c3
shorten names of number_of_matches variables
2011-06-25 20:58:31 -07:00
Suraj N. Kurapati
7f24864a0e
refactor assignment of move_cursor_eol variable
2011-06-25 20:58:31 -07:00
Suraj N. Kurapati
2685846742
rename backward/forward to up/down respectively
2011-06-25 20:58:31 -07:00
Suraj N. Kurapati
cf35f06261
rename up/down-highlight() functions to *-search()
2011-06-25 20:58:31 -07:00
Suraj N. Kurapati
bb9f93c0f6
rename functions; use return values vs. globals
2011-06-25 20:58:31 -07:00
Suraj N. Kurapati
42ac9185c9
format comments to fit screen and be readable
2011-06-25 20:58:31 -07:00
Suraj N. Kurapati
eb2d958b15
prefix internal variables and functions with '_'
...
https://github.com/robbyrussell/oh-my-zsh/pull/215#r45547
2011-06-15 15:48:32 -07:00
Suraj N. Kurapati
79f7f9ba46
remove intermediate variable; was used immediately
2011-06-15 15:40:32 -07:00
Suraj N. Kurapati
1d7ea438d3
zsh-syntax-highlighting plugin changed its API
...
https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-1361889
2011-06-15 15:20:18 -07:00
Suraj N. Kurapati
942a22206b
add contributors to license; link to non-OMZ repo
2011-06-15 15:20:18 -07:00
Suraj N. Kurapati
2132c4b4a6
add *.plugin.zsh file to integrate into oh-my-zsh
2011-06-15 15:20:18 -07:00
Suraj N. Kurapati
c647fb423c
add variable to configure case-sensitivity etc.
2011-06-15 15:20:18 -07:00
Suraj N. Kurapati
f53a3405ba
namespace, inline, refactor multiline buffer logic
2011-06-15 15:20:17 -07:00
Suraj N. Kurapati
14adfd9836
cursor movements should not make $BUFFER new query
...
Suppose you have just pressed "arrow-up", and you get a single-line in
your terminal. You move your cursor into $BUFFER. After this the edited
$BUFFER becomes the new search string. That breaks the searching model.
2011-06-09 00:16:36 -07:00
Suraj N. Kurapati
dd276a80f1
ignore case when searching and highlighting query
2011-06-09 00:16:35 -07:00
Suraj N. Kurapati
e50a664321
add README with instructions on script activation
2011-06-09 00:16:28 -07:00
Suraj N. Kurapati
7b71437106
highlight query on top of zsh-syntax-highlighting
2011-06-09 00:10:28 -07:00
Suraj N. Kurapati
1e02a2118e
rename _search* variables to be self-documenting
2011-06-09 00:10:28 -07:00
Suraj N. Kurapati
9cb4212c40
make attribution more descriptive in file header
2011-06-09 00:10:28 -07:00
Suraj N. Kurapati
b200932843
remove length restriction for command highlighting
...
That decision should be made by the ZSH Syntax Highlighting plugin.
2011-06-09 00:10:28 -07:00
Suraj N. Kurapati
25a9b38c76
remove unnecessary parentheses in if-statements
2011-06-09 00:10:28 -07:00
Suraj N. Kurapati
dcd7cc6323
simplify last widget == current widget check
...
Restored from Peter Stephenson's original version of this plugin:
http://www.zsh.org/mla/users/2009/msg00818.html
2011-06-09 00:10:28 -07:00
Suraj N. Kurapati
b8bb5bd8b0
remove global variable in favor of O(1) hash check
2011-06-09 00:10:28 -07:00
Suraj N. Kurapati
93d4cb73c5
rename constants and variables to reflect filename
2011-06-09 00:10:28 -07:00
Suraj N. Kurapati
415b5c60c7
refactor repeated ZLE region highlighting logic
2011-06-09 00:10:28 -07:00
Suraj N. Kurapati
dcc4f7ffb0
put comments ABOVE the code they are meant for
2011-06-09 00:10:27 -07:00
Suraj N. Kurapati
186e240a63
remove debugging logic that writes to /tmp/ok2
2011-06-09 00:10:27 -07:00
Suraj N. Kurapati
26a7f99add
refactor calls to _zsh_highlight-zle-buffer func
2011-06-09 00:10:27 -07:00
Suraj N. Kurapati
9fd4576ae7
split dual-roled function into two distinct ones
2011-06-09 00:10:27 -07:00
Suraj N. Kurapati
b8c4337ddd
escaped newlines and tabs were expanded on recall
...
Kudos to Sorin Ionescu for finding this same solution independently.
https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-811332
https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-1046603
2011-06-09 00:10:23 -07:00
Suraj N. Kurapati
4e129559a5
import history substring search plugin from fizsh-1.0.1
2011-06-09 00:10:14 -07:00