Skip to content
Snippets Groups Projects
Commit b54fd30e authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Fix ctrl-b and ctrl-f

parent cb0246ad
No related branches found
No related tags found
No related merge requests found
......@@ -328,8 +328,8 @@ begin
:left => proc { cursor = [0, cursor - 1].max },
:right => proc { cursor = [input.length, cursor + 1].min },
}.tap { |actions|
actions[ctrl :b] = actions[68]
actions[ctrl :f] = actions[67]
actions[ctrl :b] = actions[:left]
actions[ctrl :f] = actions[:right]
actions[ctrl :h] = actions[127]
actions[ctrl :n] = actions[ctrl :j]
actions[ctrl :p] = actions[ctrl :k]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment