vim:abbreviations
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vim:abbreviations [2022/07/19 16:09] – 85.203.36.249 | vim:abbreviations [2022/07/19 17:22] (current) – [Escaping insert mode] 185.192.69.72 | ||
---|---|---|---|
Line 104: | Line 104: | ||
</ | </ | ||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * The **@** sign in this case is not important. | ||
+ | |||
+ | </ | ||
---- | ---- | ||
+ | |||
+ | ==== Escaping insert mode ==== | ||
+ | |||
+ | All those **< | ||
+ | |||
+ | We can " | ||
+ | |||
+ | <code vim> | ||
+ | :iabbrev < | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * We replaced the five **< | ||
+ | * In VIM, you would press that **4hi** yourself. | ||
+ | * In fact, since we are just entering in insert mode to make one command (4h) and then going back we could simplify it a little bit. | ||
+ | |||
+ | </ | ||
+ | |||
+ | <code vim> | ||
+ | :iabbrev < | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
===== File Specific Abbreviations ===== | ===== File Specific Abbreviations ===== |
vim/abbreviations.1658246986.txt.gz · Last modified: 2022/07/19 16:09 by 85.203.36.249