Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gko/upside-down

plugin to move code around
https://github.com/gko/upside-down

code move plugin vim vim-plugin

Last synced: about 1 month ago
JSON representation

plugin to move code around

Awesome Lists containing this project

README

        

# Upside-down

![preview](https://media.giphy.com/media/1eExTIaFIOMnV7Hses/giphy.gif)

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](https://github.com/junegunn/vim-plug):

```vimscript
Plug 'gko/upside-down'
```

in your [.vimrc](https://github.com/gko/vimio/blob/master/init.vim)

### macOS

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

![terminal](https://raw.githubusercontent.com/gko/upside-down/master/terminal.png)

And «Esc+» option in iterm2:

![iterm2](https://raw.githubusercontent.com/gko/upside-down/master/iterm2.png)

## Like it?

:star: this repo