Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Argumentative aids with manipulating and moving between function arguments.
VimL
branch: master

Merge 'issue-8'

Fixes issue #8
latest commit 63a5f7deb6
Peter Rincker authored
Failed to load latest commit information.
doc Fix minor typo in docs
plugin Merge 'issue-8'
README.markdown Fix typo in README

README.markdown

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, 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 <Plug> mappings.

nmap [; <Plug>Argumentative_Prev
nmap ]; <Plug>Argumentative_Next
xmap [; <Plug>Argumentative_XPrev
xmap ]; <Plug>Argumentative_XNext
nmap <; <Plug>Argumentative_MoveLeft
nmap >; <Plug>Argumentative_MoveRight
xmap i; <Plug>Argumentative_InnerTextObject
xmap a; <Plug>Argumentative_OuterTextObject
omap i; <Plug>Argumentative_OpPendingInnerTextObject
omap a; <Plug>Argumentative_OpPendingOuterTextObject
Something went wrong with that request. Please try again.