From b54fd30edb5a7f3a27ca2840ae4ffaf6c445a8fc Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 24 Oct 2013 10:30:24 +0900 Subject: [PATCH] Fix ctrl-b and ctrl-f --- fzf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fzf b/fzf index 2feb577f..6beb97e0 100755 --- a/fzf +++ b/fzf @@ -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]