t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

Is moving lines supported? #959

Closed eyaleizenberg closed 6 years ago

eyaleizenberg commented 6 years ago

For example :m-3, :m+2

Check list

t9md commented 6 years ago

Not supported directly. And in case you misunderstanding, I'm not :w like ex-mode pkg maintainer.

vim-mode-plus does not provide any :w like command(command mode command).

Then how can I do similar?

Atom natively support move lines command.

atom-vim-mode-plus-1171013-706-k3tu1a_72002uik9_md_ __var_folders_f0_r8q_rcqd1g1104ktb8kjzn7w0000gn_t_how_to_re-map_subword_movement__ _issue__960_ _t9md

And if you want more intuitive way to move block of text. I've released separate vmp-plugin package bellow. See GIF anime on project page.

https://github.com/t9md/atom-vim-mode-plus-move-selected-text