U
U
uvelichitel2016-01-30 16:48:42
vim
uvelichitel, 2016-01-30 16:48:42

How to comment out a piece of code in vim?

The question is in the title. I don’t want to install heavy plugins, I want to fit in vimrc. How to make it (comment out, uncomment) with built-in commands or a short function?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
amatory10, 2016-01-30
@uvelichitel

www.stackoverflow.com/a/1676672/4972875

D
Daniil Kolesnichenko, 2016-02-01
@KolesnichenkoDS

https://github.com/tpope/vim-commentary

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question