insert a '#' in the beginning of every selected line.
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 24 2022 18:41:57)
Manjaro Linux x86_64
Kernel: 5.10.105-1-MANJARO
Gnome terminal/gvim
xterm-256color
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Works just fine for me. Did you start with "vim --clean" ?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
It may also depend on the lines. Can you please give an example with the content to be commented out?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Works just fine for me. Did you start with "vim --clean" ?
vim --clean works fine.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
It may also depend on the lines. Can you please give an example with the content to be commented out?
What I should do? as @brammool say, when I run vim --clean, it works fine.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
reproduce with a minimal vimrc without problems. See https://vimhelp.org/vim_faq.txt.html#faq-2.5
And show the content of the file where you are trying to use the block insert.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Most likely a plugin is interfering. Disable all your plugins (how depends on how you installed them).
You can also try to set 'filetype' to see if that makes a difference.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Thanks, every one.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Closed #10069.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()