gko / upside-down

plugin to move code around

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upside-down

preview

This is vim plugin that allows you to move your code using following shortcuts:

Up and down

  • Alt/⌥
  • Alt/⌥ j
  • Alt/⌥
  • Alt/⌥ k

Left and right

  • Alt/⌥
  • Alt/⌥ h
  • Alt/⌥
  • Alt/⌥ l

Installation

With vim-plug:

Plug 'gko/upside-down'

in your .vimrc

macOS

In macOS don't forget to check the «Use option as meta key»:

terminal

And «Esc+» option in iterm2:

iterm2

Like it?

⭐ this repo

About

plugin to move code around

License:MIT License


Languages

Language:Vim Script 100.0%