On Vim, when I want to comment multiple lines I always use the following procedure:
1. select the first caracter of your block
2. press Ctrl+V ( this is rectangular visual selection mode)
3. type j for each line more you want to be commented
4. type Shift-i (like I for "insert at start")
5. type // (or # or " or ...)
6. you will see the modification appearing only on the first line
7. IMPORTANT LAST STEP: type Esc key, and there you see the added character appear on all lines
This works fine on Vim. However, on NeoVim it doesn't work at all... Can I comment multiple lines on NeoVim without using any specific plugin for that?
init.vimfile from NeoVim, I found a line withinoremap <Esc> <Nop>... Taking it out solved the problem. However, the commandnvim -u NONE -U NONE -N filedidn't work for initializing NeoVim without any configuration... I think the syntax is different in this case... – raylight Jun 19 '21 at 20:17--clean(click that) as noted at the end of the linked answer (that I just added yesterday)? That's basically-u NONE -i NONEplus additional sterilization. It'll also tell you why you don't have/need Vim's-N(which essentially does:set nocompatible). – B Layer Jun 19 '21 at 20:34nvim -u NONE -i NONE fileandnvim --clean filework fine for testing nvim without the configurations. – raylight Jun 19 '21 at 20:44