Vim cheatsheet
Written . Last changed .
| Action | Keys |
|---|---|
| Toggle comment | shift + v, gc (built into Neovim 0.10+. In Vim 9.1, run :packadd comment first) |
No newline at end of file
# Open in binary mode
nvim -b ~/file.txt
# Then, in the editor
:set noeol