mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-13 08:29:04 +08:00
Fix ctrl-b and ctrl-f
This commit is contained in:
1 parent
cb0246add6
commit
b54fd30edb
1 file changed
+2
-2
@@ -328,8 +328,8 @@ begin
|
|||||||
:left => proc { cursor = [0, cursor - 1].max },
|
:left => proc { cursor = [0, cursor - 1].max },
|
||||||
:right => proc { cursor = [input.length, cursor + 1].min },
|
:right => proc { cursor = [input.length, cursor + 1].min },
|
||||||
}.tap { |actions|
|
}.tap { |actions|
|
||||||
actions[ctrl :b] = actions[68]
|
actions[ctrl :b] = actions[:left]
|
||||||
actions[ctrl :f] = actions[67]
|
actions[ctrl :f] = actions[:right]
|
||||||
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]
|
||||||
|
|||||||
Reference in new issue
Block a user