Commit Graph

31 Commits

Author SHA1 Message Date
Jakub Jirutka
6de948c9c5 Add widget autosuggest-execute-suggestion
It basically means this: go to the end of line (i.e. accept the
suggestion) and then hit enter.
2015-05-22 00:54:27 +02:00
Jakub Jirutka
bbd5300d60 Fix indentation in autosuggest-backward-delete-char() 2015-05-21 01:08:17 +02:00
Michael Robinson
5b23a17241 Merge pull request #58 from jirutka/patch-3 2015-05-20 11:13:48 +12:00
Jakub Jirutka
62af373a59 Fix highlighting for paths completion using Tab 2015-05-18 16:33:50 +02:00
Jakub Jirutka
258e06c9ab Fix and unify formatting and code-style 2015-05-18 14:51:21 +02:00
Jakub Jirutka
4b6512d1e8 Fix highlight cache invalidation
To work better with recent version of zsh-syntax-highlighting.
2015-05-16 20:35:13 +02:00
Michael Robinson
7446059f63 Merge pull request #31 from maksimr/patch-1
fix:Add autosuggest to highlighters list only once
2014-12-09 15:45:18 +13:00
Thiago de Arruda
85739dbe76 Disable autosuggestion server startup.
The server is not working even in zsh5. Disable it until fixed.
2014-09-22 10:08:24 -03:00
Maksim Ryzhikov
6dbb419a7a fix:Add autosuggest to highlighters list only once 2014-08-11 10:26:39 +04:00
Mihai Sucan
1cbd78c850 add a config for RIGHT arrow to accept the suggestion, like in fish 2014-02-23 22:54:31 +02:00
Ricardo M. Vilchis
7e69ddda7f Suspend autosuggest on 'history-substring-search-up' and 'history-substring-search-down' (zsh-history-substring-plugin commands). Accept on 'end-of-line' (Ctrl-e or END key) 2014-01-31 08:58:28 -06:00
Vladimir Rudnyh
48f03e2b0c Suspend autosuggest on 'history-beginning-search-backward' and 'history-beginning-search-forward' commands 2013-12-04 23:07:24 +04:00
Vladimir Rudnyh
ea19b7bcf8 Add highlight color config variables 2013-12-03 23:45:56 +04:00
Vladimir Rudnyh
196cfa0eb0 Remove spaces at the end of lines 2013-12-03 23:25:52 +04:00
Thiago de Arruda
8af98f7d29 Validate original widget name when restoring on
autosuggest-pause
2013-11-08 11:49:33 -03:00
Thiago de Arruda
7d737e3cc8 Fixed accept-line and motion widgets integration
with zsh-syntax-highlighting
2013-11-08 08:20:57 -03:00
Thiago de Arruda
7cb87a8a55 Integrate with zsh-syntax-highlighting 2013-11-07 20:12:33 -03:00
Thiago de Arruda
936056fd9b Refactored, only use completion server on
zsh > 5.0.3(where the zle -F issue will be fixed)
2013-11-07 18:42:17 -03:00
Thiago de Arruda
6d2146a542 Refactored into a widget to enable asynchronous
update of the zle buffer
2013-10-29 14:27:42 -03:00
Thiago de Arruda
2d67624963 Improved criteria used to popup autosuggestions 2013-10-29 10:46:39 -03:00
Thiago de Arruda
3734b1eb4e Fixed options completion 2013-10-29 08:17:03 -03:00
Thiago de Arruda
c6c97ab7bd Got basic completions working, need to ignore
cases like 'kill name<tab>' which should replace the word
2013-10-29 05:42:03 -03:00
Thiago de Arruda
1e6e900abf Refactored completion server to use zsocket 2013-10-28 19:51:04 -03:00
Thiago de Arruda
c183ca22de Adapted Valodim's capture completion script to
implement a simple completion service
2013-10-28 17:05:57 -03:00
Thiago de Arruda
edc762de64 Remove user completion obstructions 2013-10-27 14:40:10 -03:00
Thiago de Arruda
7efb859477 Reimplement insert/delete widgets based on
predict-on code
2013-10-27 10:49:21 -03:00
Thiago de Arruda
e9dc49def4 Improved widget name convention consistency 2013-10-27 06:53:52 -03:00
Thiago de Arruda
24fa67b2b2 Remove highlighting on accept-line 2013-10-26 16:32:51 -03:00
Thiago de Arruda
1e622d76f1 Fixed 'tab' key in autosuggestion 2013-10-26 15:05:12 -03:00
Thiago de Arruda
9b2574dc82 Add automatic pause/resume of autosuggestions
based on cursor position
2013-10-26 14:11:53 -03:00
Thiago de Arruda
5595bcde18 First commit 2013-10-26 13:05:17 -03:00