ridiculousfish
ce4c145f1c
Eliminate dangerous command_length() function. Use editable_line_t in a
...
few places we missed.
2014-01-26 14:55:41 -08:00
ridiculousfish
b9372944f5
Refactor reader to work on selectable 'editable_line_t' so that most
...
commands can operate on pager search field
2014-01-26 14:47:15 -08:00
ridiculousfish
f58dff62c7
Beginnings of work for search field feature of new pager
2014-01-26 00:41:30 -08:00
ridiculousfish
6d13b8bbc0
Teach down-or-search how to use down-arrow to begin pager navigation
2014-01-25 15:32:13 -08:00
ridiculousfish
2139334c36
Fix for issue where wc on OS X would produce leading spaces, causing
...
down-or-search to fail to match the case statement and therefore do the wrong thing.
2014-01-25 15:22:28 -08:00
ridiculousfish
67bb12e569
Attempt to fix the Linux build by including stdint.h
2014-01-24 18:53:12 -08:00
ridiculousfish
2d43517914
Run 'make depend' to update header dependencies
2014-01-24 18:37:04 -08:00
ridiculousfish
df60c00d16
Experimental new "inline pager" implementation, reminiscent of zsh. Pager contents now appear below the prompt and disappear when no longer needed. They can also be navigated with arrow keys or tab.
...
New pager is disabled by default for now. It can be enabled by setting the fish_new_pager variable to 1.
Work and discussed is tracked in https://github.com/fish-shell/fish-shell/issues/1264
2014-01-24 18:12:46 -08:00
ridiculousfish
0fbddb0df1
Add fish_new_pager variable to enable new pager on request, disabled by default.
2014-01-24 18:10:42 -08:00
ridiculousfish
4c5c1fc9ef
Suppress the pager progress message if the listing fits onscreen
2014-01-24 18:10:42 -08:00
ridiculousfish
4ffd2380c3
Remove yet more unnecessary fish_pager.cpp specific code from the new pager
2014-01-24 18:10:42 -08:00
ridiculousfish
5849cd3a2e
Remove some unnecessary fish_pager.cpp specific code from the new pager
2014-01-24 18:10:41 -08:00
ridiculousfish
0a1960865e
Support for "merged completions" (multiple completions on the same line)
...
in new pager. Support for using up-arrow to end pager navigation.
2014-01-24 18:10:41 -08:00
ridiculousfish
830ab99e6e
Merge branch 'master' into pager
2014-01-24 18:10:41 -08:00
ridiculousfish
2e4b7b3d19
Fix pager to correctly join completions with the same description.
...
Closes #1263
2014-01-24 10:47:49 -08:00
David Adam
8cb051d44d
use annotated tags only for version checking
...
Note: if you have previously cloned the repository, the tags for
previous versions have been edited. Use `git fetch --tags` to
synchronise your local copy.
2014-01-24 20:51:06 +08:00
ridiculousfish
535445a555
Replace assertions with new do_test macro in fish_tests.cpp
2014-01-23 18:19:52 -08:00
ridiculousfish
f6afddd94b
Fix for tab-completing arguments. Closes #1261
2014-01-23 18:07:21 -08:00
Julian Aron Prenner
844b01cb6b
Add 'and' input function; fixes a bug with t,T
...
'and' will prevent later input functions from being executed if the
previous one did not succeed (e.g. a jump to a char not on the command
line)
2014-01-23 10:23:04 +01:00
ridiculousfish
0f2ee308de
Use ellipsis in pager progress message
2014-01-22 17:50:03 -08:00
ridiculousfish
7d3f808e4c
Various tweaks and improvements to new pager, including disclosure
...
feature
2014-01-22 17:45:27 -08:00
Julian Aron Prenner
45465e0c45
Merge branch 'bind_mode' of github.com:furunkel/fish-shell into bind_mode
2014-01-22 10:01:53 +01:00
Julian Aron Prenner
4a9be7bf11
Experimental support for f,F,t,T vi commands.
...
Input functions can now have arguments
2014-01-22 10:00:44 +01:00
Julian Aron Prenner
c8e0d18d18
Change mode colors in prompt
2014-01-22 09:00:57 +01:00
ridiculousfish
ee9a4082b6
Allow down arrow to enter pager. Clean up repainting within
...
reader_readline
2014-01-21 16:25:55 -08:00
ridiculousfish
e6c70bf392
Merge branch 'master' into pager
2014-01-21 16:09:03 -08:00
ridiculousfish
9edf9ad2ac
Correct the correspondence between name_arr and the input codes.
2014-01-21 16:08:35 -08:00
ridiculousfish
f714d80c93
Support for scrolling through the pager
2014-01-21 14:35:18 -08:00
ridiculousfish
605c306bef
Correctly clear pager contents on ctrl-C
2014-01-20 13:05:18 -08:00
furunkel
5e2cda183a
Merge pull request #8 from maxfl/bind_mode
...
Add tmux support
2014-01-20 09:52:12 -08:00
Maxim Gonchar
f284f00935
Add tmux support
2014-01-20 21:28:54 +04:00
Maxim Gonchar
777e4fe49e
Merge branch 'bind_mode' of https://github.com/furunkel/fish-shell into bind_mode
2014-01-20 21:28:36 +04:00
furunkel
8daf0223dc
Merge pull request #7 from maxfl/bind_mode
...
More clear way of setting cursor shape
2014-01-20 05:25:33 -08:00
Maxim Gonchar
f77fb0b948
Merge branch 'bind_mode' of https://github.com/furunkel/fish-shell into bind_mode
2014-01-20 17:13:51 +04:00
Maxim Gonchar
71992158bf
Retab again
...
default_keybindings are left with tabs as it was in the beginning
2014-01-20 17:12:32 +04:00
Julian Aron Prenner
fd8ab78372
Update $fish_bind_mode only if necessary
2014-01-20 14:03:48 +01:00
Maxim Gonchar
1514ab8ec5
Retab
2014-01-20 17:03:46 +04:00
Maxim Gonchar
3591900070
More clear way of setting cursor shape
2014-01-20 16:47:13 +04:00
Julian Aron Prenner
44c6fa68cf
Make Ctrl-x autocomplete suggestions; cosmetics
2014-01-20 13:07:32 +01:00
furunkel
7df4a966ea
Merge pull request #6 from maxfl/bind_mode
...
Add cursor shape handler
2014-01-20 01:07:56 -08:00
ridiculousfish
998ce1fe89
Support for correctly resizing pager contents.
2014-01-19 23:52:35 -08:00
Maxim Gonchar
1279888567
Add cursor shape handler
2014-01-20 10:19:41 +04:00
ridiculousfish
d9d65577f4
Improved navigation of pager list. Added tests for it too.
2014-01-19 16:41:40 -08:00
Julian Aron Prenner
f2f6055109
Merge branch 'bind_mode' of github.com:furunkel/fish-shell into bind_mode
2014-01-19 17:56:43 +01:00
furunkel
db0506c1df
Merge pull request #5 from Gonzih/bind_mode
...
Add x and X bindings in visual mode, fix e and E in visual mode.
2014-01-19 06:36:34 -08:00
Max Gonzih
114f803a88
Fix e and E in visual vi mode
2014-01-19 17:07:23 +03:00
Max Gonzih
69778efb6b
Add x binding to delete whole line in visual mode
2014-01-19 17:04:02 +03:00
Max Gonzih
e7df20f69b
Add x binding to delete selection in visual vi mode
2014-01-19 16:50:56 +03:00
Julian Aron Prenner
1157d330a6
Merge remote-tracking branch 'upstream/master' into bind_mode
2014-01-19 11:01:24 +01:00
Julian Aron Prenner
cd64a777c3
Set $fish_bind_mode to default on fish startup; set $fish_key_bindings
...
when sourcing fish_vi_mode.fish
2014-01-19 10:27:39 +01:00