]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/plugin/AlignPlugin.vim
Remove task Warrior
[rbdr/dotfiles] / vim / plugin / AlignPlugin.vim
1 " AlignPlugin: tool to align multiple fields based on one or more separators
2 " Author: Charles E. Campbell, Jr.
3 " Date: Nov 02, 2008
4 " GetLatestVimScripts: 294 1 :AutoInstall: Align.vim
5 " GetLatestVimScripts: 1066 1 :AutoInstall: cecutil.vim
6 " Copyright: Copyright (C) 1999-2007 Charles E. Campbell, Jr. {{{1
7 " Permission is hereby granted to use and distribute this code,
8 " with or without modifications, provided that this copyright
9 " notice is copied with it. Like anything else that's free,
10 " Align.vim is provided *as is* and comes with no warranty
11 " of any kind, either expressed or implied. By using this
12 " plugin, you agree that in no event will the copyright
13 " holder be liable for any damages resulting from the use
14 " of this software.
15 "
16 " Romans 1:16,17a : For I am not ashamed of the gospel of Christ, for it is {{{1
17 " the power of God for salvation for everyone who believes; for the Jew first,
18 " and also for the Greek. For in it is revealed God's righteousness from
19 " faith to faith.
20 " ---------------------------------------------------------------------
21 " Load Once: {{{1
22 if &cp || exists("g:loaded_AlignPlugin")
23 finish
24 endif
25 let g:loaded_AlignPlugin = "v35"
26 let s:keepcpo = &cpo
27 set cpo&vim
28
29 " ---------------------------------------------------------------------
30 " Public Interface: {{{1
31 com! -bang -range -nargs=* Align <line1>,<line2>call Align#Align(<bang>0,<q-args>)
32 com! -range -nargs=0 AlignReplaceQuotedSpaces <line1>,<line2>call Align#AlignReplaceQuotedSpaces()
33 com! -nargs=* AlignCtrl call Align#AlignCtrl(<q-args>)
34 com! -nargs=0 AlignPush call Align#AlignPush()
35 com! -nargs=0 AlignPop call Align#AlignPop()
36
37 " ---------------------------------------------------------------------
38 " Restore: {{{1
39 let &cpo= s:keepcpo
40 unlet s:keepcpo
41 " vim: ts=4 fdm=marker