mirror of
https://github.com/junegunn/fzf.git
synced 2025-09-02 13:23:49 -07:00
Fix ctrl-b and ctrl-f
This commit is contained in:
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]
|
||||||
|
Reference in New Issue
Block a user