[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] VI embedded commands
- Subject: [ale] VI embedded commands
- From: brian.mathis+ale at betteradmin.com (Brian Mathis)
- Date: Tue, 13 Mar 2012 21:14:22 -0400
- In-reply-to: <CAAt=rgAE4R2OBpB5qgqKetG03_sVcxHtYP2b3Ne+O=P92qvTyQ@mail.gmail.com>
- References: <1331675364.30743.26.camel@cfowler-desktop> <CAAt=rgAE4R2OBpB5qgqKetG03_sVcxHtYP2b3Ne+O=P92qvTyQ@mail.gmail.com>
Don't forget, modelines don't run if you are root.
? Brian Mathis
On Tue, Mar 13, 2012 at 6:26 PM, James Sumners <james.sumners at gmail.com> wrote:
> I don't have mode lines enabled[1], but I do have the rest in my vimrc
> -- https://bitbucket.org/jsumners/rcfiles/src/tip/vimrc
>
> [1] -- http://vim.wikia.com/wiki/Modeline_magic
>
> On Tue, Mar 13, 2012 at 17:49, Chris Fowler <cfowler at outpostsentinel.com> wrote:
>> Can someone please tell me how to enable embedded command parsing in
>> VIM?
>>
>> For example in Perl I always have this as the last line of the file:
>>
>> # vi: set ts=2 sw=2: #
>>
>> I've installed 11.10 and need to turn this on. ?I'm also missing the
>> feature where VIM saves the line I'm on for a file as well as the
>> ability to copy, close VIM, open another file and paste.
>>
>> Maybe a link to a much better vimrc than what is supplied in /etc/vimrc.
>>
>> Oh yea I forgot: emacs sux.
>>
>>
>> Thanks,
>> Chris
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>
>
>
> --
> James Sumners
> http://james.roomfullofmirrors.com/
>
> "All governments suffer a recurring problem: Power attracts
> pathological personalities. It is not that power corrupts but that it
> is magnetic to the corruptible. Such people have a tendency to become
> drunk on violence, a condition to which they are quickly addicted."
>
> Missionaria Protectiva, Text QIV (decto)
> CH:D 59
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo