mjbrownie / swapit

vim plugin: Extensible Keyword Swapper
39 stars 8 forks source link

Allow command chaining for :ClearSwapList and :SwapIdea #18

Closed inkarkat closed 10 years ago

inkarkat commented 10 years ago

Especially for :ClearSwapList, one may want to put this into

let b:undo_ftplugin .= '|ClearSwapList'

To enable appending other such commands, the command must support chaining, and because it doesn't take arguments, this is trivially done through -bar.