hauleth/sad.vim

sad doesn't work when keys are remapped and in visual mode

mohammed-elhakim-sociomantic opened this issue · 2 comments

As the title says, when using:

nmap <leader>s <Plug>(sad-change-forward)
nmap <leader>S <Plug>(sad-change-backward)

A command such as ve<Leader>s doesn't do what is expected.

nmap is only for normal mode. The fix is to add mappings using xmap for Visual mode. I will post a fix in documentation soon.

Ah! Thanks for the clarification!