From d38ed0cbf7a512022778f424b7fe2dec1537793f Mon Sep 17 00:00:00 2001 From: Greg Chapple Date: Wed, 7 Jan 2015 09:45:12 +0000 Subject: [PATCH] Bind '0' to start of line in normal mode - #75 --- src/iota/modes/normal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iota/modes/normal.rs b/src/iota/modes/normal.rs index d4e2855..e5c76c6 100644 --- a/src/iota/modes/normal.rs +++ b/src/iota/modes/normal.rs @@ -40,7 +40,7 @@ impl NormalMode { keymap.bind_key(Key::Char('B'), Command::MoveCursor(Direction::LeftWord(1, WordEdgeMatch::Whitespace))); keymap.bind_key(Key::Char('w'), Command::MoveCursor(Direction::RightWord(1, WordEdgeMatch::Alphabet))); keymap.bind_key(Key::Char('b'), Command::MoveCursor(Direction::LeftWord(1, WordEdgeMatch::Alphabet))); - keymap.bind_key(Key::Char('^'), Command::LineStart); + keymap.bind_key(Key::Char('0'), Command::LineStart); keymap.bind_key(Key::Char('$'), Command::LineEnd); // editing