From 4c61f82fb28b7d181f80c160e6f2345123b1d63f Mon Sep 17 00:00:00 2001 From: Joachim Henke <37883863+jo-he@users.noreply.github.com> Date: Sat, 6 Jul 2019 17:37:30 +0200 Subject: [PATCH] fix a few typos --- README.asciidoc | 2 +- doc/pages/keys.asciidoc | 4 ++-- doc/pages/options.asciidoc | 2 +- src/input_handler.cc | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index 1ca7b110..66d05115 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -493,7 +493,7 @@ Changes tabstop option or the count parameter for tabstop. * ``: rotate selections content, if specified, the count groups - selections, so `3` rotate (1, 2, 3) and (3, 4, 6) + selections, so `3` rotate (1, 2, 3) and (3, 4, 6) independently. * ``: rotate selections content backwards diff --git a/doc/pages/keys.asciidoc b/doc/pages/keys.asciidoc index c144e34e..d8681e99 100644 --- a/doc/pages/keys.asciidoc +++ b/doc/pages/keys.asciidoc @@ -746,10 +746,10 @@ The following keys are recognized by this mode to help with editing erase to previous WORD begin, save erased content to *clipboard* **:: - erase to previous word end, save erased content to *clipboard* + erase to next word begin, save erased content to *clipboard* **:: - erase to previous WORD end, save erased content to *clipboard* + erase to next WORD begin, save erased content to *clipboard* **:: erase to end of line, save erased content to *clipboard* diff --git a/doc/pages/options.asciidoc b/doc/pages/options.asciidoc index 008c7606..6e836df7 100644 --- a/doc/pages/options.asciidoc +++ b/doc/pages/options.asciidoc @@ -261,7 +261,7 @@ are exclusively available to built-in options. timeout, in milliseconds, with no user input that will trigger the *PromptIdle*, *InsertIdle* and *NormalIdle* hooks, and autocompletion. -*fs_checkout_timeout* `int`:: +*fs_check_timeout* `int`:: _default_ 500 + timeout, in milliseconds, between checks in normal mode of modifications of the file associated with the current buffer on the filesystem. diff --git a/src/input_handler.cc b/src/input_handler.cc index 5bda3324..a048cc05 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -490,7 +490,7 @@ public: } else if (key == alt('f')) to_next_word_begin(m_cursor_pos, m_line); - else if (key == alt('W')) + else if (key == alt('F')) to_next_word_begin(m_cursor_pos, m_line); else if (key == alt('b')) to_prev_word_begin(m_cursor_pos, m_line); @@ -514,7 +514,7 @@ public: else if (key == ctrl('w') or key == alt(Key::Backspace)) erase_move(&to_prev_word_begin); else if (key == ctrl('W')) - erase_move(&to_prev_word_begin); + erase_move(&to_prev_word_begin); else if (key == alt('d')) erase_move(&to_next_word_begin); else if (key == alt('D'))