From f2e01d7e513067ddb57c75f6e38cdcf434946cf8 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 22 Oct 2018 00:02:58 +0200 Subject: Major refactoring for version 2.0 vim-plug has been removed and replaced with Vims internal bundle mechanism. But I already noticed, that there is also GLVM now and started trying that as well. --- plugin/AlignPlugin.vim | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 plugin/AlignPlugin.vim (limited to 'plugin/AlignPlugin.vim') diff --git a/plugin/AlignPlugin.vim b/plugin/AlignPlugin.vim new file mode 100644 index 0000000..50c53d6 --- /dev/null +++ b/plugin/AlignPlugin.vim @@ -0,0 +1,41 @@ +" AlignPlugin: tool to align multiple fields based on one or more separators +" Author: Charles E. Campbell +" Date: Nov 02, 2008 +" GetLatestVimScripts: 294 1 :AutoInstall: Align.vim +" GetLatestVimScripts: 1066 1 :AutoInstall: cecutil.vim +" Copyright: Copyright (C) 1999-2012 Charles E. Campbell {{{1 +" Permission is hereby granted to use and distribute this code, +" with or without modifications, provided that this copyright +" notice is copied with it. Like anything else that's free, +" Align.vim is provided *as is* and comes with no warranty +" of any kind, either expressed or implied. By using this +" plugin, you agree that in no event will the copyright +" holder be liable for any damages resulting from the use +" of this software. +" +" Romans 1:16,17a : For I am not ashamed of the gospel of Christ, for it is {{{1 +" the power of God for salvation for everyone who believes; for the Jew first, +" and also for the Greek. For in it is revealed God's righteousness from +" faith to faith. +" --------------------------------------------------------------------- +" Load Once: {{{1 +if &cp || exists("g:loaded_AlignPlugin") + finish +endif +let g:loaded_AlignPlugin = "v37" +let s:keepcpo = &cpo +set cpo&vim + +" --------------------------------------------------------------------- +" Public Interface: {{{1 +com! -bang -range -nargs=* Align ,call Align#Align(0,) +com! -range -nargs=0 AlignReplaceQuotedSpaces ,call Align#AlignReplaceQuotedSpaces() +com! -nargs=* AlignCtrl call Align#AlignCtrl() +com! -nargs=0 AlignPush call Align#AlignPush() +com! -nargs=0 AlignPop call Align#AlignPop() + +" --------------------------------------------------------------------- +" Restore: {{{1 +let &cpo= s:keepcpo +unlet s:keepcpo +" vim: ts=4 fdm=marker -- cgit v1.2.3