Atom Packages Directory

a package directory for a text editor of the 21st Century

Vim Mode Plus Exchange

Install with:
    apm install vim-mode-plus-exchange

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

Keywords: vim, exchange, swap Suggest keywords
Fork me on GitHub