tyru / caw.vim

Vim comment plugin: supported operator/non-operator mappings, repeatable by dot-command, 300+ filetypes
379 stars 48 forks source link

Can't comment blank line with default configuration g:caw_hatpos_skip_blank_line = 0 #153

Open yan42685 opened 3 years ago

yan42685 commented 3 years ago

cant-commont-blank-line

minimal init.vim

call plug#begin('~/.vim/plugged')
Plug 'tyru/caw.vim', {'on': ['<Plug>(caw:hatpos:toggle)']}
imap <c-_> <esc><Plug>(caw:hatpos:toggle)
nmap <c-_> <Plug>(caw:hatpos:toggle)
vmap <c-_> <Plug>(caw:hatpos:toggle)
call plug#end()