Commit graph

16 commits

Author SHA1 Message Date
David Strobach
9ba2eb5934 abbrevs: Allow for setting cursor position within expanded abbrev 2020-08-13 14:12:16 +02:00
David Strobach
7cf5a91673 Revert abbrevs expansion on the second consecutive space keypress 2020-08-04 16:19:41 +02:00
Bob Hyman
53bfe8c99c
Add ptk3 (#3521)
* delete package ptk; rename ptk2 to ptk_shell.; leave ptk2 as alias for ptk_shell.
* SHELL_TYPE "prompt_toolkit" only; remove ptk1 specific behavior.
* Doc updates: eliminate reference to prompt-toolkit < 2.0
* update requirements files ptk>=2; test shell_style="none"
* fix ptk2 stub per code review
* Add ptk2 to list of packages to install.
2020-04-18 10:44:27 -04:00
Morten Enemark Lund
0d8c0b613a
Merge pull request #3492 from laloch/abbrevs-completions-confirm
abbrevs: do not handle return key while a completion is selected
2020-03-31 14:17:24 +02:00
David Strobach
7e2b8105fa abbrevs: do not handle return key while a completion is selected 2020-03-30 20:05:38 +02:00
David Strobach
e7df18840d abbrevs: only trigger completion if the word is preceded by space 2020-03-27 23:12:34 +01:00
David Strobach
9978f6bdd7 abbrevs: fix possible exception and do some cleanup 2020-03-25 23:36:29 +01:00
David Strobach
20578fe806 black 2020-03-25 22:45:12 +01:00
David Strobach
6d1713c423 abbrevs: move abbrevs dict to the session context 2020-03-25 22:42:35 +01:00
David Strobach
43a4b9b66a abbrevs: fix ptk2 2020-03-25 20:46:41 +01:00
David Strobach
947fa2d0b5 abbrevs: don't overwrite the dictionary if it already exists 2020-03-25 20:35:19 +01:00
David Strobach
e5621ef369 add some docs 2020-03-25 20:12:30 +01:00
David Strobach
76633b0e47 abbrevs: do not expand within strings 2020-03-25 18:29:05 +01:00
David Strobach
43f15fb5e2 abbrevs: only expand whole words on return key press 2020-03-25 18:02:02 +01:00
David Strobach
32b093b422 abbrevs: add handler for return key 2020-03-25 17:30:28 +01:00
David Strobach
d619127503 Add fish-like command abbreviations 2020-03-25 14:59:50 +01:00