mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-28 15:56:27 +00:00
Fix ctrl-b and ctrl-f
This commit is contained in:
parent
cb0246add6
commit
b54fd30edb
4
fzf
4
fzf
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user