简体   繁体   中英

How to disable “s” and “S” keybindings in Paredit.vim

the default "s" and "S" in paredit.vim override my vim-sneak plugin defaults "s" keybindings. Do you know of a way to disable paredit.vim default keybindings?

Open paredit.vim file and comment these lines by adding " at the beginning of each one:

nnoremap <buffer> <silent> s  :<C-U>call PareditEraseFwd()<CR>i

nnoremap <buffer> <silent> S  V:<C-U>call PareditChange(visualmode(),1)<CR>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM