Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
djvdq
on March 3, 2023
|
parent
|
context
|
favorite
| on:
Use GNU Emacs
In Vim you can do the same with key mapping. Like below, you have it for three different modes (normal, visual and insert):
nnoremap @@ :update<cr>
vnoremap @@ <c-c>:update<cr>gv
inoremap @@ <c-o>:update<cr>
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
nnoremap @@ :update<cr>
vnoremap @@ <c-c>:update<cr>gv
inoremap @@ <c-o>:update<cr>