Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gko/upside-down
- Owner: gko
- License: mit
- Created: 2019-01-15T18:49:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-19T13:07:48.000Z (about 6 years ago)
- Last Synced: 2024-11-08T20:49:20.479Z (3 months ago)
- Topics: code, move, plugin, vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 3.73 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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