
Vim-commentary
Install commentary
Plug 'tpope/vim-commentary'Configuration
You can add your own custom key mapping for it.
For Ex:
nnoremap <space>/ :Commentary<CR>
vnoremap <space>/ :Commentary<CR>Then, Just press
In visual mode select the text you want to comment out and press
However, I still prefer these default settings. ``` To comment/uncomment on a motion such as 4j: 'gc