From 104d5ef0822bda7874c7f37c3753f6293e1a1e10 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Tue, 9 Jun 2015 08:30:29 -0500 Subject: [PATCH] Add End Of The Word as a vim til. --- README.md | 1 + vim/end-of-the-word.md | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 vim/end-of-the-word.md diff --git a/README.md b/README.md index f0821f2..5ac2647 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ smart people at [Hashrocket](http://hashrocket.com/). - [Coerce The Current Filetype](vim/coerce-the-current-filetype.md) - [Count the Number of Matches](vim/count-the-number-of-matches.md) - [Create A New File In A New Directory](vim/create-a-new-file-in-a-new-directory.md) +- [End Of The Word](vim/end-of-the-word.md) - [Generate and Edit Rails Migration](vim/generate-and-edit-rails-migration.md) - [Head of File Name](vim/head-of-file-name.md) - [Help For Non-Normal Mode Features](vim/help-for-non-normal-mode-features.md) diff --git a/vim/end-of-the-word.md b/vim/end-of-the-word.md new file mode 100644 index 0000000..27216b7 --- /dev/null +++ b/vim/end-of-the-word.md @@ -0,0 +1,9 @@ +# End Of The Word + +Word-based movement can serve as a quick way to get around locally in Vim. I +most often use `w` and `b` for this kind of movement. While `w` and `b` move +me to the beginning of the next and previous word, respectively, I find that +sometimes it would be more convenient if I were at the end of a word. + +The `e` and `ge` commands serve this purpose well. `e` will move me to the +end of the next word and `ge` will move me to the end of the previous word.