vim-mode-plus-move-selected-text

Move selected text like object

t9md

5,982

16

0.12.0

MIT

GitHub

This package consumes the following services:

Build Status

vim-mode-plus-move-selected-text

Move selected text like object.

This is operator plugin for vim-mode-plus.
Require latest vim-mode-plus.

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'