Fix commenting in visual mode

e127b6491962f9d3b999673a48ecb4fb4031a911
Alexis Sellier committed ago 1 parent 130d6e25
.vimrc +4 -1
211 211
212 212
" Navigate relative to the current file
213 213
cmap     %/         %:p:h/
214 214
215 215
map <Leader>m       :make<CR>
216 -
map <C-_>           <Plug>CommentaryLine
217 216
map <Leader>.       @:
218 217
map <Leader>e       :e ~/.vimrc<CR>
219 218
map <Leader>s       :source ~/.vimrc<CR>
220 219
220 +
" Commenting
221 +
nmap <C-_>           <Plug>CommentaryLine
222 +
xmap <C-_>           <Plug>Commentary
223 +
221 224
if has("nvim")
222 225
  tnoremap <Esc> <C-\><C-n>
223 226
endif
224 227
225 228
if executable('ag')