1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add For When That Escape Key Is Hard To Reach as a vim til

This commit is contained in:
jbranchaud
2018-07-23 11:19:01 -05:00
parent 9527ca8882
commit 445d70572d
2 changed files with 23 additions and 1 deletions

View File

@@ -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)

View File

@@ -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 `<Esc>` 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)