CTRL-Q to terminate the finder (#11)

This commit is contained in:
Junegunn Choi 2013-12-20 14:01:28 +09:00
parent 636c86cf6f
commit b30f21e074

2
fzf
View File

@ -706,7 +706,7 @@ class FZF
actions[ctrl(:h)] = actions[127]
actions[ctrl(:n)] = actions[ctrl(:j)]
actions[ctrl(:p)] = actions[ctrl(:k)]
actions[ctrl(:g)] = actions[ctrl(:c)] = actions[:esc]
actions[ctrl(:q)] = actions[ctrl(:g)] = actions[ctrl(:c)] = actions[:esc]
actions[:stab] = actions[9]
emit(:key) { [@query.get, cursor] } unless @query.empty?