有没有快速更改的命令
Cnotrol
to
Control
While in normal mode, with your cursor on top of the first character to swap, you can type xp to delete one character and put it after the cursor, effectively swapping the two characters.
一个可能有用的命令(直接取自Vim 页面上的交换 http://vim.wikia.com/wiki/Swapping_characters,_words_and_lines) 将会
:nnoremap <silent> gc xph
to map gc (or another command of your choice) to swapping two characters. Note that the h
simply moves the cursor back to its original position, on top of the first of the two characters to be swapped.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)