Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/peterrincker/vim-argumentative

Argumentative aids with manipulating and moving between function arguments.
https://github.com/peterrincker/vim-argumentative

Last synced: about 1 month ago
JSON representation

Argumentative aids with manipulating and moving between function arguments.

Awesome Lists containing this project

README

        

# argumentative.vim

Argumentative aids with manipulating and moving between function arguments.

* Shifting arguments with `<,` and `>,`
* Moving between argument boundaries with `[,` and `],`
* New text objects `a,` and `i,`

## Installation

If you don't have a preferred installation method, I recommend
installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and
then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/PeterRincker/vim-argumentative.git

Once help tags have been generated, you can view the manual with
`:help argumentative`.

## Customization

Argumentative mappings can be changed from the default by simply adding
mappings in your `~/.vimrc` file to argumentative's `` mappings.

nmap [; Argumentative_Prev
nmap ]; Argumentative_Next
xmap [; Argumentative_XPrev
xmap ]; Argumentative_XNext
nmap <; Argumentative_MoveLeft
nmap >; Argumentative_MoveRight
xmap i; Argumentative_InnerTextObject
xmap a; Argumentative_OuterTextObject
omap i; Argumentative_OpPendingInnerTextObject
omap a; Argumentative_OpPendingOuterTextObject