I don't want to always type the word. it's annoying.
feedback
|
From https://www.linux.com/learn/tutorials/442422-vim-tips-using-tabs Use | |||||||
feedback
|
|
Another approach is a user-defined command. Unfortunately, those can't begin with a lower-case letter, so your next best option is
| |||
|
feedback
|
|
Notwithstanding the other suggestions, here is a more exact answer to your question: I don't think it's possible completely equivalently, but this set of mappings would get you pretty close:
or equivalently, but better:
| ||||
|
feedback
|
|
Pick a key you do not use under vim, like say ), and and remap that key to the tabnew command:
To enter the last CR (^M), type ControlV then Enter | |||||||||||
feedback
|
|
A builtin shorter alias for | |||
|
feedback
|
