• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

vim-mode-plus-exchange

Exchange two areas of text like vim-exchange.
  • #vim
  • #exchange
  • #swap
dillonkearns
0.4.0 966
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

vim-mode-plus-exchange package

A port of Tom McDonald's vim-exchange.

Exchange demo

Note Package requires vim-mode-plus

cx{motion} sets the first area for the exchange (or initiates it once ). Notice that the . command can be used to mark a second area for the exchange using the same {motion} as the first.

Exchange demo

cxx marks a line to be exchanged. In visual-mode, x marks the selection to be exchanged.

cxc clears pending exchanges.

See these pages for more:

  • Swapping two regions of text with exchange.vim
  • vim-exchange

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by