Junegunn Choi
a749e6bd16
Fix temp directory in a test case
2016-09-21 01:15:35 +09:00
Junegunn Choi
1d4057c209
[perf] Avoid allocating rune array for ascii string
...
In the best case (all ascii), this reduces the memory footprint by 60%
and the response time by 15% to 20%. In the worst case (every line has
non-ascii characters), 3 to 4% overhead is observed.
2016-08-14 00:41:30 +09:00
Junegunn Choi
1e74dbb937
:hidden property of previous --preview-window should be cleared
...
Fix #636 . Patch suggested by @edi9999.
2016-08-12 01:16:59 +09:00
Junegunn Choi
dd4be1da38
Allow alt-enter and alt-space for --bind ( #571 )
2016-05-13 00:43:50 +09:00
Junegunn Choi
e72a360337
Minor refactoring
...
- Slightly more efficient processing of Options
- Do not return reference type arguments that are mutated inside the
function
- Use util.Constrain function when appropriate
2016-02-18 01:46:18 +09:00
Junegunn Choi
81a88693c1
Make --extended default
...
Close #400
2015-11-03 22:49:32 +09:00
Junegunn Choi
a4eb3323da
Fix #370 - Panic when trying to set colors when colors are disabled
2015-10-09 12:16:47 +09:00
Junegunn Choi
d0f2c00f9f
Fix --with-nth performance; use simpler regular expression
...
Related #317
2015-08-11 00:15:41 +09:00
Junegunn Choi
766427de0c
Fix --with-nth performance; avoid regex if possible
...
Close #317
2015-08-10 18:34:20 +09:00
Junegunn Choi
a0e6147bb5
Fix #292 - Allow binding of colon and comma
2015-07-16 21:14:08 +09:00
Junegunn Choi
a8b2c257cd
Improve handling of key names
...
Remember the exact string given as the key name so that it's possible to
correctly handle synonyms and print the original string.
2015-06-19 00:31:48 +09:00
Junegunn Choi
8677dbded1
Change alternative notation for execute action ( #265 )
...
e.g. fzf --bind "ctrl-m:execute:COMMAND..." --bind ctrl-j:accept
2015-06-15 23:27:05 +09:00
Junegunn Choi
794ad5785d
Fix .
to match newlines as well ( #265 )
2015-06-15 23:11:22 +09:00
Junegunn Choi
fa5b58968e
Add alternative execute notation that does not require closing char
...
This can be used to avoid parse errors that can happen when the command
contains the closing character. Since the command does not finish at
a certain character, the key binding should be the last one in the
group. Suggested by @tiziano88. (#265 )
e.g. fzf --bind "ctrl-m:execute=COMMAND..." --bind ctrl-j:accept
2015-06-15 23:00:38 +09:00
Junegunn Choi
7db53e6459
Add synonyms for some keys to be used with --bind and --toggle-sort
...
enter (return), space, tab, btab, esc, up, down, left, right
2015-06-15 01:26:18 +09:00
Junegunn Choi
022435a90a
More alternative notations for execute action
...
execute(...)
execute[...]
execute~...~
execute!...!
execute@...@
execute#...#
execute$...$
execute%...%
execute^...^
execute&...&
execute*...*
execute:...:
execute;...;
execute/.../
execute|...|
2015-06-14 23:36:49 +09:00
Junegunn Choi
6c99cc1700
Add bind action for executing arbitrary command ( #265 )
...
e.g. fzf --bind "ctrl-m:execute(less {})"
fzf --bind "ctrl-t:execute[tmux new-window -d 'vim {}']"
2015-06-14 12:25:08 +09:00
Junegunn Choi
fdbfe36c0b
Color customization ( #245 )
2015-06-03 01:46:03 +09:00
Junegunn Choi
1592bedbe8
Custom key binding support ( #238 )
2015-05-21 00:32:03 +09:00
Junegunn Choi
50292adacb
Implement --toggle-sort option ( #173 )
2015-03-31 22:05:16 +09:00
Junegunn Choi
2a167aa030
Implement --expect option to support simple key bindings ( #163 )
2015-03-29 02:59:32 +09:00
Junegunn Choi
c35d98dc42
Nullify --nth option when it's irrelevant
2015-01-23 06:26:00 +09:00
Junegunn Choi
7a2bc2cada
Lint
2015-01-12 03:18:40 +09:00
Junegunn Choi
f3177305d5
Rewrite fzf in Go
2015-01-04 00:37:29 +09:00