This package consumes the following services:
vim-mode-plus-move-selected-text
Move selected text like object.
This is operator plugin for vim-mode-plus.
Require latest vim-mode-plus.
- Works only in visual mode.
- Support all submode(
linewise
,characterwise
,blockwise
). - Can revert consecutive movement by single undo.
- Can switch
overwrite
mode viavim-mode-plus-user:toggle-overwrite
command. - Green cursor color indicate your are now in
overwrite
mode.
This package is feature migration from my vim-textmanip plugin for pure Vim.
keymap example
No keymap by default.
Set following keymap to in your keymap.cson
.
'atom-text-editor.vim-mode-plus.visual-mode':
'ctrl-t': 'vim-mode-plus-user:move-selected-text-toggle-overwrite'
'ctrl-k': 'vim-mode-plus-user:move-selected-text-up'
'ctrl-j': 'vim-mode-plus-user:move-selected-text-down'
'ctrl-h': 'vim-mode-plus-user:move-selected-text-left'
'ctrl-l': 'vim-mode-plus-user:move-selected-text-right'
'cmd-K': 'vim-mode-plus-user:duplicate-selected-text-up'
'cmd-J': 'vim-mode-plus-user:duplicate-selected-text-down'
'cmd-H': 'vim-mode-plus-user:duplicate-selected-text-left'
'cmd-L': 'vim-mode-plus-user:duplicate-selected-text-right'