Coder Social home page Coder Social logo

arrowkeyrepurpose's Introduction

Arrow Key Repurpose

A small simple plugin for repurposing the arrow keys in Vim. Taken from some blog somewhere, which was in turn taken from an older version of this page on the vim wiki, then modified by myself for my own purposes.

This plugin is mostly for shifting your text around. Up and down move the current line thusly by adding and removing empty lines from above it, and shift plus up and down will add and remove empty lines below. Right and left unifies Vim's built-in mappings for indenting and unindenting in normal, visual, and insert mode.

It is important to note that I still keep my hands on the home row, even while using these mappings, by use of a Windows program called touchcursor.

Installation

There are currently two recommended ways to install this plugin, though other plugin managers are likely easily adapted:

Pathogen:

Navigate to your bundle directory. By default, this will be something like “~/.vim/bundle”.

Then run the command:

“hg clone https://bitbucket.org/atimholt/arrowkeyrepurpose”

(minus the quotes)

NeoBundle:

Add this line to your vimrc (minus the quotes), under the conditions described by the NeoBundle documentation:

“NeoBundle 'bb:atimholt/ArrowKeyRepurpose', {'type': 'hg'}”

arrowkeyrepurpose's People

Contributors

atimholt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.