mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-14 06:13:47 -05:00
CTRL-Q to terminate the finder (#11)
This commit is contained in:
2
fzf
2
fzf
@@ -706,7 +706,7 @@ class FZF
|
|||||||
actions[ctrl(:h)] = actions[127]
|
actions[ctrl(:h)] = actions[127]
|
||||||
actions[ctrl(:n)] = actions[ctrl(:j)]
|
actions[ctrl(:n)] = actions[ctrl(:j)]
|
||||||
actions[ctrl(:p)] = actions[ctrl(:k)]
|
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]
|
actions[:stab] = actions[9]
|
||||||
|
|
||||||
emit(:key) { [@query.get, cursor] } unless @query.empty?
|
emit(:key) { [@query.get, cursor] } unless @query.empty?
|
||||||
|
|||||||
Reference in New Issue
Block a user