From 445d70572d2126582d9675b0fd4eef5281c0de11 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Mon, 23 Jul 2018 11:19:01 -0500 Subject: [PATCH] Add For When That Escape Key Is Hard To Reach as a vim til --- README.md | 3 ++- ...r-when-that-escape-key-is-hard-to-reach.md | 21 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 vim/for-when-that-escape-key-is-hard-to-reach.md diff --git a/README.md b/README.md index 2fd1432..7541470 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/). For a steady stream of TILs from a variety of rocketeers, checkout [til.hashrocket.com](https://til.hashrocket.com/). -_693 TILs and counting..._ +_694 TILs and counting..._ --- @@ -714,6 +714,7 @@ _693 TILs and counting..._ - [Filter Lines Through An External Program](vim/filter-lines-through-an-external-program.md) - [Fix The Spelling Of A Word](vim/fix-the-spelling-of-a-word.md) - [Fold A Visual Selection And Expand It Back](vim/fold-a-visual-selection-and-expand-it-back.md) +- [For When That Escape Key Is Hard To Reach](vim/for-when-that-escape-key-is-hard-to-reach.md) - [Format Long Lines To Text Width](vim/format-long-lines-to-text-width.md) - [From Ruby Variables To JavaScript Variables](vim/from-ruby-variables-to-javascript-variables.md) - [Generate and Edit Rails Migration](vim/generate-and-edit-rails-migration.md) diff --git a/vim/for-when-that-escape-key-is-hard-to-reach.md b/vim/for-when-that-escape-key-is-hard-to-reach.md new file mode 100644 index 0000000..36eff50 --- /dev/null +++ b/vim/for-when-that-escape-key-is-hard-to-reach.md @@ -0,0 +1,21 @@ +# For When That Escape Key Is Hard To Reach + +Using Vim to its full potential requires using just about every key on the +keyboard. Of all those keys, the escape key is particularly important. It's +how you get back to normal node. + +If you find the escape key hard to reach or your laptop vendor decided you +don't need it anymore, what's the alternative? + +There is a built-in alternative: + +``` +Ctrl-[ +``` + +> Note: If your `` key is hard to hit on your keyboard, train yourself to +> use `CTRL-[`. + +See `:help Ctrl-[` for more details. + +[source](https://twitter.com/tenderlove/status/1021412757805993984?s=11)