Skip to content

Commit

Permalink
Bind '0' to start of line in normal mode - #75
Browse files Browse the repository at this point in the history
  • Loading branch information
gchp committed Jan 7, 2015
1 parent f8ba2cb commit d38ed0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iota/modes/normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d38ed0c

Please sign in to comment.