Tuesday, July 31, 2012

Re: vim: how to press after execution of external cmd

On 1/08/12 1:05 PM, ping wrote:
> b.t.w, just curious is there anything about vim that you don't know of? :D

Yeah, but I try not to answer those questions.

Smiles,

Ben.



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: What's the best way to move to an arbitrary location on your screen?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/31/2012 10:38 PM, sc wrote:
> On Tue, Jul 31, 2012 at 01:20:14PM -0700, jeroen wrote:
>> On Tuesday, July 31, 2012 9:41:09 PM UTC+2, Ben Fritz wrote:
>>>
>>> Then I will usually use f, F, t, or T, or a / search, or
>>> w/W/b/B to get to the correct column, possibly with an initial
>>> _ or g_ to position the cursor at the beginning or end of the
>>> line (or ^ and $, but I use Dvorak making _ and g_ much faster
>>> to reach).
>>>
>>> Using f/F/t/T is nice because I can follow it up with ; or , if
>>> I didn't supply the right count, and I have a mapping which
>>> will highlight all the matching characters within the line so I
>>> can quickly get the count right on my second try if needed.
>
>> Would you care to share this mapping? It seems very interesting.
>
> it isn't Ben's exclusive mapping, it's everybody's -- see:
>
> :h f
>
> f is the linewise search command -- it is famous for the fact that
> it searches current line only (and to the right only).
>

I know about the f/F/t/T commands. What I was referring to was the
mapping to highlight all the matching characters: "...and I have a
mapping which will highlight all the matching characters within the
line..."

Jeroen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAEBCAAGBQJQGMv7AAoJEBrqc/v4ufiMQP4P/j2uX7cWwoGHkC3JDjGfESsz
S2YuMOzoFKPjxOECTkmYkQVrfClAD+9EtdsTPsLfah2rA2zi5nFm4nUPSkOy4TOy
YDR6gFBTRhzJxPPiRP/ZwvVzLGA17MNOHhPnTc6jhyc9JKtowppDNh2XAdf0UqV1
7L3asiv+HXAiSishHm/N7+lpFz/XuKPey1CweEkp+lClmiSEqjDjnKwU4j6PE1jM
3mMYJOhvO2aBVfy0pB//Nh//+YwMRzXYjpxflkntC3k2wt+Itw2umS9vdoz9a67I
+x3I/EZgWNOLL4Z0aQgYFZDTQFBkikplYgxYETzP5ODrf8eyc9PhAD7//Dw1rBeL
wmlCKAXMGjuU7MNHaQW87epYCLhJvix5chX03eLaAvMjWOpNSvDGPBsENefP7oZ/
QnuAz57msmb0bxXJeN485VQ8STjN8VoLVUFpTSsFx1RaYNNK/Rj23UhFrDZ3rF/f
XJiizlos7vpHDz3/I18Q89UeaskAJFvYAx9Yp7CVTAEDvj8LdKVTiQufB8pMA9BH
mm5ivK9inhcysc3y/0K4r1iae8HDYSF402vZHlrZ7LjBgWgH7iB5ECJLdbK0tPqe
eQON4C5gbR3EzTNoKErWLYkRCn2IziCHAFbY0XTdzVzbYQAvY1dZIAPbQWkyTs1n
qmkDrqU+EEAp2KhSJA+u
=nCCI
-----END PGP SIGNATURE-----

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

syntax highlighting question

hi all,

i gather from the lack of response that my previous question has no feasible answer. anyway, i have updated the question a bit to give some other possible ways of solving the problem. any pointers in the right direction would be much appreciated. i am pretty competent with vim but i have little to no vim scripting. then again i am a quick learner and very eager haha...

here is the updated question: http://stackoverflow.com/questions/11661614/vim-php-javascriptinstrings-option


I noticed that the syntax/php.vim file on my ubuntu machine has a php_htmlInStrings option. I can turn this option on to display HTML syntax highlighting within strings in my php files, which is great. I would also like to do javascript syntax highlighting within strings in a php file. Does anybody know if this can be done and if so how can I do it?

edited - added extra possibilities

I should also mention that I would be happy with a solution where i have to parse all my javascript strings though a php function before outputting the result. This might get around the problem suggested by connor below where vim has trouble deciding if the string contains javascript. for example:

$js = "some regular text which is not javascript##now vim has
detected that this part is javscript##back to regular text"
;
parse
($js);
function parse($str)
{
   
return str_replace('##', '', $str);
}

The reason I would be happy to do this is because I will probably be incorporating a html/css/js variable minifier into my project which will be doing substitutions on strings anyway.

Of course if there is a vim-specific equivalent character for ## which will not show up in the source code and would not need to be filtered out then this would be preferable...


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: how to press after execution of external cmd

On 7/31/2012 10:52 PM, Ben Schmidt wrote:
>> thanks, but...
>> I tried following, still I need to press 4 enter...
>>
>> function! s:Asciidoc2All()
>> let a:destdir = "/Dropbox/temp-transfer/"
>> let a:filebasename = "%:t:r"
>> let tohtml = "silent w|!asciidoc -a toc -a toclevels=6 -o" . a:destdir
>> . "/" .
>> a:filebasename . ".html \"%\""
>> let tofodt = "silent w|!asciidoc -b odt -o" . a:destdir . "/" .
>> a:filebasename .
>> ".fodt \"%\""
>> let tofodp = "silent w|!asciidoc -b odp -o" . a:destdir . "/" .
>> a:filebasename .
>> ".fodp \"%\""
>> let topdf = "silent w|!a2x -f pdf --verbose --no-xmllint -D" .
>> a:destdir . "/" . "
>> \"%\""
>> execute tohtml
>> execute tofodt
>> execute tofodp
>> execute topdf
>> endfunction
>
> :silent will only apply to :w where you have placed it. You probably
> want it to apply to the shell command by putting it between the | and
> the !, or to the whole lot by putting it before :execute.
>
> Ben.
>
that works, again..
thanks!

b.t.w, just curious is there anything about vim that you don't know of? :D

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: how to press after execution of external cmd

> thanks, but...
> I tried following, still I need to press 4 enter...
>
> function! s:Asciidoc2All()
> let a:destdir = "/Dropbox/temp-transfer/"
> let a:filebasename = "%:t:r"
> let tohtml = "silent w|!asciidoc -a toc -a toclevels=6 -o" . a:destdir . "/" .
> a:filebasename . ".html \"%\""
> let tofodt = "silent w|!asciidoc -b odt -o" . a:destdir . "/" . a:filebasename .
> ".fodt \"%\""
> let tofodp = "silent w|!asciidoc -b odp -o" . a:destdir . "/" . a:filebasename .
> ".fodp \"%\""
> let topdf = "silent w|!a2x -f pdf --verbose --no-xmllint -D" . a:destdir . "/" . "
> \"%\""
> execute tohtml
> execute tofodt
> execute tofodp
> execute topdf
> endfunction

:silent will only apply to :w where you have placed it. You probably
want it to apply to the shell command by putting it between the | and
the !, or to the whole lot by putting it before :execute.

Ben.



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

答复: Ctags or taglsit can support verilog?

Yes, my vim correctly detected Verilog file.
I use ctags 5.8.

-----邮件原件-----
发件人: vim_use@googlegroups.com [mailto:vim_use@googlegroups.com] 代表
David Fishburn
发送时间: 2012年8月1日 2:56
收件人: vim_use@googlegroups.com
抄送: vim_use@googlegroups.com
主题: Re: Ctags or taglsit can support verilog?


On Jul 31, 2012, at 12:59 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:

> On Monday, July 30, 2012 10:11:05 PM UTC-5, jun wang wrote:
>> I use ctags generate tags in Verilog file,but I enter
>> ":TlistToggle",it display none If I c file,it can work!
>> What happened?
>>
>> Best
>> Regard
>
> Is your Verilog file being correctly detected by Vim as a Verilog file
> type? If memory serves me, TagList uses the filetype to determine how
> to run

What version of ctags are you using? Trunk or 5.8.
You can also extend the taglist through your vimrc which I have done when
usin my own compiled ctags (trunk) for all the new stuff.

--
David Fishburn


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: who/where/when set my ft?

On 7/31/2012 8:13 PM, Ben Schmidt wrote:
> On 1/08/12 10:07 AM, Ben Schmidt wrote:
>>>>> filetype=asciidoc
>>>>> Last set from /etc/vim/ftdetect/asciidoc_filetype.vim
>>>>>
>>>>> what is that /etc/vim/ folder doing here?
>>>>>
>>>>> runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,~/.vim/after
>>>>>
>>>>>
>>
>>> :scriptnames
>>> 1: /usr/share/vim/vimrc
>>> 2: /usr/share/vim/vim73/syntax/syntax.vim
>>> 3: /usr/share/vim/vim73/syntax/synload.vim
>>> 4: /usr/share/vim/vim73/syntax/syncolor.vim
>>> 5: /usr/share/vim/vim73/filetype.vim
>>> 6: /home/ping/.vim/ftdetect/csv.vim
>>> 7: /home/ping/.vim/ftdetect/mkd.vim
>>> 8: /home/ping/.vim/ftdetect/myft.vim
>>> 9: /home/ping/.vim/ftdetect/taskpaper.vim
>>> 10: /etc/vim/ftdetect/asciidoc_filetype.vim <-----------
>>
>>> ***the file right before it:
>>> 9: /home/ping/.vim/ftdetect/taskpaper.vim
>>
>> In this case, we don't want the file just before it, but the one a few
>> files back: /usr/share/vim/vim73/filetype.vim has clearly issued
>> :runtime! which is sourcing all scripts in the ftdetect subdirectory of
>> each directory in runtimepath, as a bunch of unrelated files under
>> ftdetect are being sourced.
>>
>> Indeed the filetype.vim distributed with vim does include the command
>> :runtime! ftdetect/*.vim
>>
>> So, either:
>>
>> - runtimepath was different when filetype.vim was loaded. You can have a
>> good guess about this by giving giving :verbose runtimepath? and
>> checking whether it was set by a script before or after filetype.vim
>> in the :scriptnames list.
>>
>> - more likely, one of the directories or subdirectories in your runtime
>> path is symlinked (or possibly but probably not hardlinked) to
>> something in /etc/vim. It's not /usr/share/vim/vim73, because that is
>> appearing in :scriptnames as itself, but there's a good chance that
>> /usr/share/vim/vimfiles is symlinked (or hardlinked) to /etc/vim. That
>> would fit nicely with some distributions' policies of putting
>> user-written/mutable configuration files under /etc but distributed
>> static configuration/support files under /usr. (It comes up as the
>> real path rather than the path in runtimepath presumably because Vim
>> does realpath() on the files so that duplicates are correctly
>> identified and script-local scope can work reliably.)
>
> P.S. You can check this by doing ls -ld /usr/share/vim/vimfiles in a
> terminal, though you probably know that.
>

ping@640g-laptop:~$ ls -ld /usr/share/vim/vimfiles
lrwxrwxrwx 1 root root 8 2010-03-07 06:50 /usr/share/vim/vimfiles ->
/etc/vim

:set runtimepath?

runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,~/.vim/after


>> Hope this helps,
>>
>> Ben.

Ben, you are exactly right!

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: how to press after execution of external cmd

On 7/31/2012 8:17 PM, Ben Schmidt wrote:
> On 1/08/12 7:38 AM, ping wrote:
>> hi experts:
>> I now everything after
>> :!ext-prog
>> will be treated as param of that ext-prog. so I can't
>> :!ext-prog param1 param2 <enter>
>> but then how to avoid keep typing <enter> in following cases?
>>
>> command! AsciidocA call s:Asciidoc2All()
>>
>> function! s:Asciidoc2All()
>> w|!asciidoc -a toc -a toclevels=6 -o /mnt/public_html/temp/%:t:r.html "%"
>> w|!asciidoc -b odt -o ~/Dropbox/temp-transfer/%:t:r.fodt "%"
>> w|!asciidoc -b odp -o ~/Dropbox/temp-transfer/%:t:r.fodp "%"
>> w|!a2x -f pdf --verbose --no-xmllint "%"
>> endfunction
>>
>>
>> I tried following doesn't work:
>>
>> command! AsciidocA call s:Asciidoc2All()
>>
>> function! s:Asciidoc2All()
>> w|!asciidoc -a toc -a toclevels=6 -o /mnt/public_html/temp/%:t:r.html "%"
>> <enter>
>> w|!asciidoc -b odt -o ~/Dropbox/temp-transfer/%:t:r.fodt "%"
>> <enter>
>> w|!asciidoc -b odp -o ~/Dropbox/temp-transfer/%:t:r.fodp "%"
>> <enter>
>> w|!a2x -f pdf --verbose --no-xmllint "%"
>> endfunction
>>
>
> :help :silent
>
> ?
>
> Ben.
>
>
>
thanks, but...
I tried following, still I need to press 4 enter...

function! s:Asciidoc2All()
let a:destdir = "/Dropbox/temp-transfer/"
let a:filebasename = "%:t:r"
let tohtml = "silent w|!asciidoc -a toc -a toclevels=6 -o" .
a:destdir . "/" . a:filebasename . ".html \"%\""
let tofodt = "silent w|!asciidoc -b odt -o" .
a:destdir . "/" . a:filebasename . ".fodt \"%\""
let tofodp = "silent w|!asciidoc -b odp -o" .
a:destdir . "/" . a:filebasename . ".fodp \"%\""
let topdf = "silent w|!a2x -f pdf --verbose --no-xmllint -D" .
a:destdir . "/" . " \"%\""
execute tohtml
execute tofodt
execute tofodp
execute topdf
endfunction

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

RE: How to turn off auto-indentation?

Yves S. Garret wrote:
> How do I turn of _all_ auto-indentation and just
> have me worry about that stuff?

See:
http://vim.wikia.com/wiki/How_to_stop_auto_indenting

> What am I doing wrong and what is the purpose of :close?

The :close command closes the current window, whereas you want
to "close" (that is, delete) the current buffer. There is a
diagram showing what's what here:
http://vim.wikia.com/wiki/Buffers

As well as entering :bd to delete the current buffer (if it has
been saved), you can enter :ls to list buffers then issue a
command like this to delete several of them (the numbers are
read from the :ls list):
:bd 5 13 2

John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Difference between and

The help page on key-notation (:help key-notation) states that several keys are equivalent for others

- <C-H> and <BS>
- <C-I> and <Tab>
- <C-L> and <FF>

For most keys this appears to be true. Attempts to map with the LHS of <C-I> and <Tab> would conflict and the last one typed would win. For example

:imap <Tab> hit tab
:imap <C-I> hit control i
:imap

This will actually print the following.

i <Tab> hit control i

This behavior is expected. The keys are equivalent and hence the latter mapping should win out exactly as if I had typed <Tab> in the second mapping. This behavior appears to play out for 6 of the 7 equivalent key pairs listed on that page.

It doesn't play out though for <C-H> and <BS>. These appear to be different keys even though they have the same ASCII value

:imap <C-H> hit control h
:imap <BS> hit backspace
:imap

This will print both mappings out to the screen. Subsequent key strokes of <C-H> and <BS> will insert the expected value into insert mode.

Why is the <C-H> and <BS> pair different in this respect? I can't seem to find any justification for this difference?

I'm using gVim 7.2 on Windows (7 or server 2008).

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: How to turn off auto-indentation?

On Tue, Jul 31, 2012 at 04:33:47PM -0400, Yves S. Garret wrote:
> Hello,

> 2 - Say I'm modifying multiple files. The "buffers" feature makes it much
> easier to have multiple files in a single window and then switch between
> them. This keeps my desktop sane by having just one window to look at.
> However, when I'm finished with a particular file (or it was modified by
> one of my apps and I don't care about it any more) I would like to do
> :close and just be done with it. But... that buffer does not "close".
> What am I doing wrong and what is the purpose of :close?

you are looking for :bd which is short for :bdelete which deletes
buffers from the buffer list

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: how to press after execution of external cmd

On 1/08/12 7:38 AM, ping wrote:
> hi experts:
> I now everything after
> :!ext-prog
> will be treated as param of that ext-prog. so I can't
> :!ext-prog param1 param2 <enter>
> but then how to avoid keep typing <enter> in following cases?
>
> command! AsciidocA call s:Asciidoc2All()
>
> function! s:Asciidoc2All()
> w|!asciidoc -a toc -a toclevels=6 -o /mnt/public_html/temp/%:t:r.html "%"
> w|!asciidoc -b odt -o ~/Dropbox/temp-transfer/%:t:r.fodt "%"
> w|!asciidoc -b odp -o ~/Dropbox/temp-transfer/%:t:r.fodp "%"
> w|!a2x -f pdf --verbose --no-xmllint "%"
> endfunction
>
>
> I tried following doesn't work:
>
> command! AsciidocA call s:Asciidoc2All()
>
> function! s:Asciidoc2All()
> w|!asciidoc -a toc -a toclevels=6 -o /mnt/public_html/temp/%:t:r.html "%"
> <enter>
> w|!asciidoc -b odt -o ~/Dropbox/temp-transfer/%:t:r.fodt "%"
> <enter>
> w|!asciidoc -b odp -o ~/Dropbox/temp-transfer/%:t:r.fodp "%"
> <enter>
> w|!a2x -f pdf --verbose --no-xmllint "%"
> endfunction
>

:help :silent

?

Ben.



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: who/where/when set my ft?

On 1/08/12 10:07 AM, Ben Schmidt wrote:
>>>> filetype=asciidoc
>>>> Last set from /etc/vim/ftdetect/asciidoc_filetype.vim
>>>>
>>>> what is that /etc/vim/ folder doing here?
>>>>
>>>> runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,~/.vim/after
>>>>
>
>> :scriptnames
>> 1: /usr/share/vim/vimrc
>> 2: /usr/share/vim/vim73/syntax/syntax.vim
>> 3: /usr/share/vim/vim73/syntax/synload.vim
>> 4: /usr/share/vim/vim73/syntax/syncolor.vim
>> 5: /usr/share/vim/vim73/filetype.vim
>> 6: /home/ping/.vim/ftdetect/csv.vim
>> 7: /home/ping/.vim/ftdetect/mkd.vim
>> 8: /home/ping/.vim/ftdetect/myft.vim
>> 9: /home/ping/.vim/ftdetect/taskpaper.vim
>> 10: /etc/vim/ftdetect/asciidoc_filetype.vim <-----------
>
>> ***the file right before it:
>> 9: /home/ping/.vim/ftdetect/taskpaper.vim
>
> In this case, we don't want the file just before it, but the one a few
> files back: /usr/share/vim/vim73/filetype.vim has clearly issued
> :runtime! which is sourcing all scripts in the ftdetect subdirectory of
> each directory in runtimepath, as a bunch of unrelated files under
> ftdetect are being sourced.
>
> Indeed the filetype.vim distributed with vim does include the command
> :runtime! ftdetect/*.vim
>
> So, either:
>
> - runtimepath was different when filetype.vim was loaded. You can have a
> good guess about this by giving giving :verbose runtimepath? and
> checking whether it was set by a script before or after filetype.vim
> in the :scriptnames list.
>
> - more likely, one of the directories or subdirectories in your runtime
> path is symlinked (or possibly but probably not hardlinked) to
> something in /etc/vim. It's not /usr/share/vim/vim73, because that is
> appearing in :scriptnames as itself, but there's a good chance that
> /usr/share/vim/vimfiles is symlinked (or hardlinked) to /etc/vim. That
> would fit nicely with some distributions' policies of putting
> user-written/mutable configuration files under /etc but distributed
> static configuration/support files under /usr. (It comes up as the
> real path rather than the path in runtimepath presumably because Vim
> does realpath() on the files so that duplicates are correctly
> identified and script-local scope can work reliably.)

P.S. You can check this by doing ls -ld /usr/share/vim/vimfiles in a
terminal, though you probably know that.

> Hope this helps,
>
> Ben.
>
>
>

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: What's the best way to move to an arbitrary location on your screen?

On Tue, Jul 31, 2012 at 02:58:55PM EDT, Daan wrote:

> I've been learning Vim for a while, and one situation has been coming
> up a lot for me:
>
> 1) I'm scrolling through a sourcefile, and see an interesting word I'd
> like to edit or yank. 2) I look left at the line number of the word,
> and type [line number]G 3) I keep pressing w/W/b/B until I reach the
> word, (except if the word happens to be the first or last word of the
> line, or located near a unique symbol)
>
> However, this feels inefficient (especially step 2), and I'm hoping to
> find a better solution.
>
> Some things I think might be possible, but have no experience with:
> - Use H/M/L to move roughly to the line, then 0/gm/$ to move roughly
> to the column, then using small motions to get to the final spot.
> - Learn to guess [number]j/h/k/l way better (perhaps with relative
> line numbers) to do something like "7j33l". - Use / and type
> characters until it matches, then press enter. - Use the easy motion
> plugin.
>
> Please comment on the above¹ or share your method. :)

I tend to use '/' or '?' extensively for cursor navigation beyond the
current line and possibly a couple of lines just before or just after
it.. if I use the same trick all the time, there's hope yet I might get
good at it. ;-)

What I do when I aim for the word 'world' in 'hello world', that I may
have spotted somewhere on my screen, is to search not for 'hello' or
'world' but rather 'lo wo', which appears to be less likely to match as
often as either 'hello' or 'world'..²

I have no formal explanation... but I noticed that it almost invariably
weeds out a significant number of false positives.. at least in the
context of the stuff I usually edit.

I haven't bothered to look into it but a possible improvement might be
to use a mapping and/or a function that would cause the cursor to move
three columns to the right so it ends up right on top of the second word
automatically. I'd rather be flexible..

Otherwise, when the target word starts in column 1 or is at the end of
the line.. or follows a <Tab>, I tend to prefer using a simple regex
with the usual anchors (^/$) or \t.

I prefer sticking to these two related techniques for 'long jumps'
rather than mixing in others - e.g. line numbers and such. All in all
I think it makes me more efficient..

CJ

¹ Well, effectively moving moving the cursor is not trivial: it's half
of the job of editing..!

² Note, that I touch-type and am therefore fairly quick at typing any
sequence of letters that happens to be under my eyes without the least
overhead.. And also, as a human.. I have kinda gotten used to spotting
sequences of two letters+space(s)+two letters that are fairly unlikely
to occur in other spots.. I don't always do it 'by the book'.. caveat
emptor..

--
Oh My God!!! Larry is back!

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: who/where/when set my ft?

>>> filetype=asciidoc
>>> Last set from /etc/vim/ftdetect/asciidoc_filetype.vim
>>>
>>> what is that /etc/vim/ folder doing here?
>>>
>>> runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,~/.vim/after

> :scriptnames
> 1: /usr/share/vim/vimrc
> 2: /usr/share/vim/vim73/syntax/syntax.vim
> 3: /usr/share/vim/vim73/syntax/synload.vim
> 4: /usr/share/vim/vim73/syntax/syncolor.vim
> 5: /usr/share/vim/vim73/filetype.vim
> 6: /home/ping/.vim/ftdetect/csv.vim
> 7: /home/ping/.vim/ftdetect/mkd.vim
> 8: /home/ping/.vim/ftdetect/myft.vim
> 9: /home/ping/.vim/ftdetect/taskpaper.vim
> 10: /etc/vim/ftdetect/asciidoc_filetype.vim <-----------

> ***the file right before it:
> 9: /home/ping/.vim/ftdetect/taskpaper.vim

In this case, we don't want the file just before it, but the one a few
files back: /usr/share/vim/vim73/filetype.vim has clearly issued
:runtime! which is sourcing all scripts in the ftdetect subdirectory of
each directory in runtimepath, as a bunch of unrelated files under
ftdetect are being sourced.

Indeed the filetype.vim distributed with vim does include the command
:runtime! ftdetect/*.vim

So, either:

- runtimepath was different when filetype.vim was loaded. You can have a
good guess about this by giving giving :verbose runtimepath? and
checking whether it was set by a script before or after filetype.vim
in the :scriptnames list.

- more likely, one of the directories or subdirectories in your runtime
path is symlinked (or possibly but probably not hardlinked) to
something in /etc/vim. It's not /usr/share/vim/vim73, because that is
appearing in :scriptnames as itself, but there's a good chance that
/usr/share/vim/vimfiles is symlinked (or hardlinked) to /etc/vim. That
would fit nicely with some distributions' policies of putting
user-written/mutable configuration files under /etc but distributed
static configuration/support files under /usr. (It comes up as the
real path rather than the path in runtimepath presumably because Vim
does realpath() on the files so that duplicates are correctly
identified and script-local scope can work reliably.)

Hope this helps,

Ben.



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: How to turn off auto-indentation?

On 2012-07-31, Yves S. Garret wrote:
> Hello,
>
> I've started to use gVim in place of Notepad++ on my Windows 7 machine
> (something I prefer since I use vim on my Ubuntu box). However, I'm running
> into 2 particular issues that are quite annoying.
>
> 1 - When I try to modify JavaScript and I write the function, the editor
> automatically inserts a tab (8 spaces) before the existing spaces and somehow
> after I delete the tab, it also seems to have deleted 2 spaces on top of that!
> I like code high-lighting, makes code readable, but generally I hate any sort
> of auto-indentation (a preference -- or lack of a preference? -- that spans all
> existing browsers and now just in VI). How do I turn of _all_ auto-indentation
> and just have me worry about that stuff?

The Vim program does not have indentation enabled by default.
Indentation is enabled by a configuration file or from the command
line. If you don't want it enabled, just find the place where it is
enabled and delete or modify that line.

In your case, you're probably sourcing $VIMRUNTIME/vimrc_example.vim
which contains this line:

filetype plugin indent on

It's not a good idea to modify any file under $VIMRUNTIME, so you
can instead just turn off filetype-dependent indentation by putting
this in your _vimrc:

filetype indent off

See

:help filetype-indent-off


> 2 - Say I'm modifying multiple files. The "buffers" feature makes it much
> easier to have multiple files in a single window and then switch between them.
> This keeps my desktop sane by having just one window to look at. However, when
> I'm finished with a particular file (or it was modified by one of my apps and I
> don't care about it any more) I would like to do :close and just be done with
> it. But... that buffer does not "close". What am I doing wrong and what is
> the purpose of :close?

Note that from ":help :close", :close does not close a buffer, it
closes a window. For an explanation of the difference, see

:help windows-intro

Vim cannot display no window and a window cannot contain no
buffer. When you have only one window, :close will do nothing.

If you want to replace the buffer in your last window with an empty
buffer, just use

:enew

HTH,
Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

vim: how to press after execution of external cmd

hi experts:
I now everything after
:!ext-prog
will be treated as param of that ext-prog. so I can't
:!ext-prog param1 param2 <enter>
but then how to avoid keep typing <enter> in following cases?

command! AsciidocA call s:Asciidoc2All()

function! s:Asciidoc2All()
w|!asciidoc -a toc -a toclevels=6 -o
/mnt/public_html/temp/%:t:r.html "%"
w|!asciidoc -b odt -o ~/Dropbox/temp-transfer/%:t:r.fodt "%"
w|!asciidoc -b odp -o ~/Dropbox/temp-transfer/%:t:r.fodp "%"
w|!a2x -f pdf --verbose --no-xmllint "%"
endfunction


I tried following doesn't work:

command! AsciidocA call s:Asciidoc2All()

function! s:Asciidoc2All()
w|!asciidoc -a toc -a toclevels=6 -o
/mnt/public_html/temp/%:t:r.html "%"
<enter>
w|!asciidoc -b odt -o ~/Dropbox/temp-transfer/%:t:r.fodt "%"
<enter>
w|!asciidoc -b odp -o ~/Dropbox/temp-transfer/%:t:r.fodp "%"
<enter>
w|!a2x -f pdf --verbose --no-xmllint "%"
endfunction

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: What's the best way to move to an arbitrary location on your screen?

On Jul 31, 2012, at 3:38 PM, sc <toothpik@swbell.net> wrote:

> On Tue, Jul 31, 2012 at 01:20:14PM -0700, jeroen wrote:
>> On Tuesday, July 31, 2012 9:41:09 PM UTC+2, Ben Fritz wrote:
>>>
>>> Then I will usually use f, F, t, or T, or a / search, or w/W/b/B to get to the correct column, possibly with an initial _ or g_ to position the cursor at the beginning or end of the line (or ^ and $, but I use Dvorak making _ and g_ much faster to reach).
>>>
>>> Using f/F/t/T is nice because I can follow it up with ; or , if I didn't supply the right count, and I have a mapping which will highlight all the matching characters within the line so I can quickly get the count right on my second try if needed.
>
>> Would you care to share this mapping? It seems very interesting.
>
> it isn't Ben's exclusive mapping, it's everybody's -- see:
>
> :h f
>
> f is the linewise search command -- it is famous for the fact that it
> searches current line only (and to the right only).
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: What's the best way to move to an arbitrary location on your screen?

On Tue, Jul 31, 2012 at 01:20:14PM -0700, jeroen wrote:
> On Tuesday, July 31, 2012 9:41:09 PM UTC+2, Ben Fritz wrote:
> >
> > Then I will usually use f, F, t, or T, or a / search, or w/W/b/B to get to the correct column, possibly with an initial _ or g_ to position the cursor at the beginning or end of the line (or ^ and $, but I use Dvorak making _ and g_ much faster to reach).
> >
> > Using f/F/t/T is nice because I can follow it up with ; or , if I didn't supply the right count, and I have a mapping which will highlight all the matching characters within the line so I can quickly get the count right on my second try if needed.

> Would you care to share this mapping? It seems very interesting.

it isn't Ben's exclusive mapping, it's everybody's -- see:

:h f

f is the linewise search command -- it is famous for the fact that it
searches current line only (and to the right only).

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

How to turn off auto-indentation?

Hello,

   I've started to use gVim in place of Notepad++ on my Windows 7 machine (something I prefer since I use vim on my Ubuntu box).  However, I'm running into 2 particular issues that are quite annoying.

1 - When I try to modify JavaScript and I write the function, the editor automatically inserts a tab (8 spaces) before the existing spaces and somehow after I delete the tab, it also seems to have deleted 2 spaces on top of that!  I like code high-lighting, makes code readable, but generally I hate any sort of auto-indentation (a preference -- or lack of a preference? -- that spans all existing browsers and now just in VI).  How do I turn of _all_ auto-indentation and just have me worry about that stuff?

2 - Say I'm modifying multiple files.  The "buffers" feature makes it much easier to have multiple files in a single window and then switch between them.  This keeps my desktop sane by having just one window to look at.  However, when I'm finished with a particular file (or it was modified by one of my apps and I don't care about it any more) I would like to do :close and just be done with it.  But... that buffer does not "close".  What am I doing wrong and what is the purpose of :close?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: What's the best way to move to an arbitrary location on your screen?

On Tuesday, July 31, 2012 9:41:09 PM UTC+2, Ben Fritz wrote:
>
> Then I will usually use f, F, t, or T, or a / search, or w/W/b/B to get to the correct column, possibly with an initial _ or g_ to position the cursor at the beginning or end of the line (or ^ and $, but I use Dvorak making _ and g_ much faster to reach).
>
> Using f/F/t/T is nice because I can follow it up with ; or , if I didn't supply the right count, and I have a mapping which will highlight all the matching characters within the line so I can quickly get the count right on my second try if needed.

Would you care to share this mapping? It seems very interesting.

> I keep forgetting about gm, I should start using that one more.
First time I come across 'gm'. Very useful indeed!

Thx,
Jeroen

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: What's the best way to move to an arbitrary location on your screen?

On Tuesday, July 31, 2012 1:58:55 PM UTC-5, Daan wrote:
> I've been learning Vim for a while, and one situation has been coming up a lot for me:
>
> 1) I'm scrolling through a sourcefile, and see an interesting word I'd like to edit or yank.
> 2) I look left at the line number of the word, and type [line number]G
> 3) I keep pressing w/W/b/B until I reach the word, (except if the word happens to be the first or last word of the line, or located near a unique symbol)
>
> However, this feels inefficient (especially step 2), and I'm hoping to find a better solution.
>
> Some things I think might be possible, but have no experience with:
> - Use H/M/L to move roughly to the line, then 0/gm/$ to move roughly to the column, then using small motions to get to the final spot.
> - Learn to guess [number]j/h/k/l way better (perhaps with relative line numbers) to do something like "7j33l".
> - Use / and type characters until it matches, then press enter.
> - Use the easy motion plugin.
>
> Please comment on the above or share your method. :)

I almost always have relative line numbering turned on, which as you mentions allows me to very quickly do 7j or 12k or whatever to get to the right line.

Then I will usually use f, F, t, or T, or a / search, or w/W/b/B to get to the correct column, possibly with an initial _ or g_ to position the cursor at the beginning or end of the line (or ^ and $, but I use Dvorak making _ and g_ much faster to reach).

Using f/F/t/T is nice because I can follow it up with ; or , if I didn't supply the right count, and I have a mapping which will highlight all the matching characters within the line so I can quickly get the count right on my second try if needed.

I keep forgetting about gm, I should start using that one more.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: buffer size

On Tuesday, July 31, 2012 12:09:25 PM UTC-5, rockybalboa4 wrote:
> What ways are there to check the buffer size?
>
>  
>
> getfsize()
>
>  
>
>  
>
> redir @"
>
> execute "silent normal! g\<C-g>"
>
> redir END
>
>  
>
>  

There's the line2byte() function as well. I assume you want size in bytes?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

What's the best way to move to an arbitrary location on your screen?

I've been learning Vim for a while, and one situation has been coming up a lot for me:

1) I'm scrolling through a sourcefile, and see an interesting word I'd like to edit or yank.
2) I look left at the line number of the word, and type [line number]G
3) I keep pressing w/W/b/B until I reach the word, (except if the word happens to be the first or last word of the line, or located near a unique symbol)

However, this feels inefficient (especially step 2), and I'm hoping to find a better solution.

Some things I think might be possible, but have no experience with:
- Use H/M/L to move roughly to the line, then 0/gm/$ to move roughly to the column, then using small motions to get to the final spot.
- Learn to guess [number]j/h/k/l way better (perhaps with relative line numbers) to do something like "7j33l".
- Use / and type characters until it matches, then press enter.
- Use the easy motion plugin.

Please comment on the above or share your method. :)

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: Vim on Vista: right-click 'Edit with Vim' problem

On Jul 31, 2012, at 6:16 AM, Leszek Świrski <leszek.swirski@gmail.com> wrote:

> In case anyone else has the same problem, I fixed it by fixing my gvim path in
> HKLM\SOFTWARE\Vim\Gvim
> (It was set to vim72, I had vim73)
>

Which installer did you run to install Vim 7.3?

--
David Fishburn

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: Ctags or taglsit can support verilog?

On Jul 31, 2012, at 12:59 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:

> On Monday, July 30, 2012 10:11:05 PM UTC-5, jun wang wrote:
>> I use ctags generate tags in Verilog file,but I enter ":TlistToggle",it display none
>> If I c file,it can work!
>> What happened?
>>
>> Best
>> Regard
>
> Is your Verilog file being correctly detected by Vim as a Verilog file type? If memory serves me, TagList uses the filetype to determine how to run

What version of ctags are you using? Trunk or 5.8.
You can also extend the taglist through your vimrc which I have done when usin my own compiled ctags (trunk) for all the new stuff.

--
David Fishburn


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

buffer size

What ways are there to check the buffer size?
 
getfsize()
 
 
redir @"
execute "silent normal! g\<C-g>"
redir END
 
 
More?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: Ctags or taglsit can support verilog?

On Monday, July 30, 2012 10:11:05 PM UTC-5, jun wang wrote:
> I use ctags generate tags in Verilog file,but I enter ":TlistToggle",it display none
> If I c file,it can work!
> What happened?
>  
> Best
> Regard

Is your Verilog file being correctly detected by Vim as a Verilog file type? If memory serves me, TagList uses the filetype to determine how to run CTags.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: who/where/when set my ft?

On 2012-07-31, ping wrote:
> On 07/31/2012 11:08 AM, Gary Johnson wrote:
> >On 2012-07-31, ping wrote:
> >
> >>I tried these debugging tools but still have no clear clue.
> >>I even tried vim -V temp1.log or vim -V4 temp1.log, the 1st part of
> >>the result flushed away from my screen and I couldn't capture
> >>anything into here, from the rest of the output I couldn't find
> >>anything related to /etc/vim
> >
> >If you immediately follow the -V argument by a filename (i.e.,
> >without an intervening space), the debug information will be
> >captured to that file instead of being spewed across your screen. I
> >think level 2 will capture what we're interested in here.
> >
> > vim -V2verboselog [other arguments]

> thanks! that's another good tip to learn about debugging vim.
>
> so I tried that:
> vim -V2temp-vim-verbose-log temp1.log
>
> and from the result temp-vim-verbose-log file I couldn't find a match
> on /etc/vim:
> ping@640g-laptop:~$ grep "/etc/vim" temp-vim-verbose-log
> ping@640g-laptop:~$

[...]

> and only 1 file contains an close entry:
> "/usr/share/vim/vimrc"
> 51 " Source a global configuration file if available
> 52 if filereadable("/etc/vim/vimrc.local")
> 53 source /etc/vim/vimrc.local
> 54 endif
> 55

It's odd that someone would put system/local Vim configuration files
in both /usr/share/vim and /etc. In my experience, package
maintainers choose one or the other.

Somewhere in that temp-vim-verbose-log file there should have been a
message about /etc/vim/ftdetect/asciidoc_filetype.vim, so maybe I
had the level wrong. ":help 'verbose'" lists the levels and what
they do. Maybe 8 would work better. (I usually just set 15 and go
searching through the mess that results.)

What are you running on that laptop? If a Linux distribution, which
one?

Regards,
Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: who/where/when set my ft?

On 07/31/2012 11:08 AM, Gary Johnson wrote:
> On 2012-07-31, ping wrote:
>
>> I tried these debugging tools but still have no clear clue.
>> I even tried vim -V temp1.log or vim -V4 temp1.log, the 1st part of
>> the result flushed away from my screen and I couldn't capture
>> anything into here, from the rest of the output I couldn't find
>> anything related to /etc/vim
>
> If you immediately follow the -V argument by a filename (i.e.,
> without an intervening space), the debug information will be
> captured to that file instead of being spewed across your screen. I
> think level 2 will capture what we're interested in here.
>
> vim -V2verboselog [other arguments]
>
> Regards,
> Gary
>

thanks! that's another good tip to learn about debugging vim.

so I tried that:
vim -V2temp-vim-verbose-log temp1.log

and from the result temp-vim-verbose-log file I couldn't find a match on
/etc/vim:
ping@640g-laptop:~$ grep "/etc/vim" temp-vim-verbose-log
ping@640g-laptop:~$

so I tried another raw method: I open all 10 scripts from :scriptnames
captures, and did a search into them:

:scriptnames
1: /usr/share/vim/vimrc
2: /usr/share/vim/vim73/syntax/syntax.vim
3: /usr/share/vim/vim73/syntax/synload.vim
4: /usr/share/vim/vim73/syntax/syncolor.vim
5: /usr/share/vim/vim73/filetype.vim
6: /home/ping/.vim/ftdetect/csv.vim
7: /home/ping/.vim/ftdetect/mkd.vim
8: /home/ping/.vim/ftdetect/myft.vim
9: /home/ping/.vim/ftdetect/taskpaper.vim
10: /etc/vim/ftdetect/asciidoc_filetype.vim <-----------

ping@640g-laptop:~$ vim /usr/share/vim/vimrc
/usr/share/vim/vim73/syntax/syntax.vim
/usr/share/vim/vim73/syntax/synload.vim
/usr/share/vim/vim73/syntax/syncolor.vim
/usr/share/vim/vim73/filetype.vim /home/ping/.vim/ftdetect/csv.vim
/home/ping/.vim/ftdetect/mkd.vim /home/ping/.vim/ftdetect/myft.vim
/home/ping/.vim/ftdetect/taskpaper.vim

and only 1 file contains an close entry:
"/usr/share/vim/vimrc"
51 " Source a global configuration file if available
52 if filereadable("/etc/vim/vimrc.local")
53 source /etc/vim/vimrc.local
54 endif
55
~



~


/usr/share/vim/vimrc

but even that doesn't explain why this script was involved here:
10: /etc/vim/ftdetect/asciidoc_filetype.vim

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: who/where/when set my ft?

On 2012-07-31, ping wrote:

> I tried these debugging tools but still have no clear clue.
> I even tried vim -V temp1.log or vim -V4 temp1.log, the 1st part of
> the result flushed away from my screen and I couldn't capture
> anything into here, from the rest of the output I couldn't find
> anything related to /etc/vim

If you immediately follow the -V argument by a filename (i.e.,
without an intervening space), the debug information will be
captured to that file instead of being spewed across your screen. I
think level 2 will capture what we're interested in here.

vim -V2verboselog [other arguments]

Regards,
Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vim: who/where/when set my ft?

On 07/31/2012 04:02 AM, Tony Mechelynck wrote:
> On 31/07/12 03:03, ping wrote:
>> On 7/30/2012 5:45 PM, Tim Chase wrote:
>>> On 07/30/12 16:38, ping wrote:
>>>> guys:
>>>> I just run into an annoying issue.
>>>> I open a text file and found it was set to some filetype (say,
>>>> asciidoc).
>>>> this is not what I expected.
>>>> how to find out which config lines in which config file/script set
>>>> this?
>>>
>>> I'd check the output of
>>>
>>> :verbose set filetype?
>>>
>>> which should tell you where it was last set.
>>>
>>> -tim
>>>
>>>
>>
>> surprisingly...
>>
>> filetype=asciidoc
>> Last set from /etc/vim/ftdetect/asciidoc_filetype.vim
>>
>> what is that /etc/vim/ folder doing here?
>>
>>
>> runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,~/.vim/after
>>
>>
>>
>>
>> regards
>> ping
>>
>
> Look near the middle of the output of :version, where I have the following:
>
> system vimrc file: "$VIM/vimrc"
> user vimrc file: "$HOME/.vimrc"
> user exrc file: "$HOME/.exrc"
> system gvimrc file: "$VIM/gvimrc"
> user gvimrc file: "$HOME/.gvimrc"
> system menu file: "$VIMRUNTIME/menu.vim"
> fall-back for $VIM: "/usr/local/share/vim"
>
> what do you see? If you got your Vim from a Linux distribution (rather
> than by compiling it yourself, as I do) you might have different values
> for some of the above.
>
> Also, as Ben said, looking at the output of :scriptnames could be
> enlightening. That command tells you which scripts Vim has sourced, and
> list them in the order in which they were first encountered in this
> session. This "/etc/vim/ftdetect/asciidoc_filetype.vim" may have been
> sourced from one of the scripts listed before it, or from an autocommand
> (you can list them all with the :au command).
>
>
> Best regards,
> Tony.

I tried these debugging tools but still have no clear clue.
I even tried vim -V temp1.log or vim -V4 temp1.log, the 1st part of the
result flushed away from my screen and I couldn't capture anything into
here, from the rest of the output I couldn't find anything related to
/etc/vim


here are the checking flows:

***
:scriptnames
1: /usr/share/vim/vimrc
2: /usr/share/vim/vim73/syntax/syntax.vim
3: /usr/share/vim/vim73/syntax/synload.vim
4: /usr/share/vim/vim73/syntax/syncolor.vim
5: /usr/share/vim/vim73/filetype.vim
6: /home/ping/.vim/ftdetect/csv.vim
7: /home/ping/.vim/ftdetect/mkd.vim
8: /home/ping/.vim/ftdetect/myft.vim
9: /home/ping/.vim/ftdetect/taskpaper.vim
10: /etc/vim/ftdetect/asciidoc_filetype.vim <-----------
11: /home/ping/.vimrc
12: /usr/share/vim/vim73/syntax/nosyntax.vim
13: /usr/share/vim/vim73/ftplugin.vim
14: /usr/share/vim/vim73/indent.vim
15: /usr/share/vim/vim73/colors/default.vim
16: /usr/share/vim/vim73/ftplugin/man.vim
17: /home/ping/.vim/.myabbreviations.vim
18: /home/ping/.vim/plugin/02tlib.vim
19: /home/ping/.vim/plugin/AlignMapsPlugin.vim
20: /home/ping/.vim/plugin/AlignPlugin.vim
21: /home/ping/.vim/plugin/AnsiEscPlugin.vim
22: /home/ping/.vim/plugin/DrawItPlugin.vim
23: /home/ping/.vim/plugin/EasyMotion.vim
24: /home/ping/.vim/plugin/LogiPat.vim
25: /home/ping/.vim/plugin/MinesPlugin.vim
26: /home/ping/.vim/plugin/NERD_tree.vim
27: /home/ping/.vim/plugin/Rndm.vim
28: /home/ping/.vim/plugin/SeeTab.vim
29: /home/ping/.vim/plugin/Sum.vim
30: /home/ping/.vim/plugin/Tabular.vim
31: /home/ping/.vim/plugin/TabularMaps.vim
32: /home/ping/.vim/autoload/tabular.vim
33: /home/ping/.vim/plugin/ZoomWinPlugin.vim
34: /home/ping/.vim/plugin/blog.vim
35: /home/ping/.vim/plugin/bufexplorer.vim
36: /home/ping/.vim/plugin/calendar.vim
37: /home/ping/.vim/plugin/cecutil.vim
38: /home/ping/.vim/plugin/conque_term.vim
39: /home/ping/.vim/plugin/create_start_fold_marker.vim
40: /home/ping/.vim/plugin/csv.vim
41: /home/ping/.vim/plugin/easytags.vim
42: /home/ping/.vim/autoload/xolox/misc/os.vim
43: /home/ping/.vim/autoload/xolox/misc/path.vim
44: /home/ping/.vim/autoload/xolox/easytags.vim
45: /home/ping/.vim/autoload/xolox/misc/option.vim
46: /home/ping/.vim/plugin/fakeclip.vim
47: /home/ping/.vim/plugin/foldcol.vim
48: /home/ping/.vim/plugin/fuf.vim
49: /home/ping/.vim/autoload/l9.vim
50: /home/ping/.vim/autoload/fuf.vim
51: /home/ping/.vim/autoload/fuf/buffer.vim
52: /home/ping/.vim/autoload/fuf/file.vim
53: /home/ping/.vim/autoload/fuf/coveragefile.vim
54: /home/ping/.vim/autoload/fuf/dir.vim
55: /home/ping/.vim/autoload/fuf/bookmarkfile.vim
56: /home/ping/.vim/autoload/fuf/bookmarkdir.vim
57: /home/ping/.vim/autoload/fuf/tag.vim
58: /home/ping/.vim/autoload/fuf/buffertag.vim
59: /home/ping/.vim/autoload/fuf/taggedfile.vim
60: /home/ping/.vim/autoload/fuf/jumplist.vim
61: /home/ping/.vim/autoload/fuf/changelist.vim
62: /home/ping/.vim/autoload/fuf/quickfix.vim
63: /home/ping/.vim/autoload/fuf/line.vim
64: /home/ping/.vim/autoload/fuf/help.vim
65: /home/ping/.vim/autoload/fuf/givenfile.vim
66: /home/ping/.vim/autoload/fuf/givendir.vim
67: /home/ping/.vim/autoload/fuf/givencmd.vim
68: /home/ping/.vim/autoload/fuf/callbackfile.vim
69: /home/ping/.vim/autoload/fuf/callbackitem.vim
70: /home/ping/.vim/plugin/justify.vim
71: /home/ping/.vim/plugin/l9.vim
72: /home/ping/.vim/plugin/mark.vim
73: /home/ping/.vim/plugin/matchit.vim
74: /home/ping/.vim/plugin/mpage.vim
75: /home/ping/.vim/plugin/mru.vim
76: /home/ping/.vim/plugin/netrwPlugin.vim
77: /home/ping/.vim/plugin/perl-support.vim
78: /home/ping/.vim/plugin/project.vim
79: /home/ping/.vim/plugin/session_manager.vim
80: /home/ping/.vim/plugin/sessionman.vim
81: /home/ping/.vim/plugin/showmarks.vim
82: /home/ping/.vim/plugin/sketch.vim
83: /home/ping/.vim/plugin/sokoban.vim
84: /home/ping/.vim/plugin/supertab.vim
85: /home/ping/.vim/plugin/surround.vim
86: /home/ping/.vim/plugin/tabname.vim
87: /home/ping/.vim/plugin/taglist.vim
88: /home/ping/.vim/plugin/tdvimFolddigest.vim
89: /home/ping/.vim/plugin/tetris.vim
90: /home/ping/.vim/plugin/totd.vim
91: /home/ping/.vim/plugin/txtbrowser.vim
92: /home/ping/.vim/plugin/utl.vim
93: /home/ping/.vim/plugin/utl_rc.vim
94: /home/ping/.vim/plugin/utl_scm.vim
95: /home/ping/.vim/plugin/utl_uri.vim
96: /home/ping/.vim/plugin/vifm.vim
97: /home/ping/.vim/plugin/viki.vim
98: /home/ping/.vim/plugin/vimim.vim
99: /home/ping/.vim/plugin/vimwiki.vim
100: /home/ping/.vim/plugin/visincrPlugin.vim
101: /home/ping/.vim/plugin/voom.vim
102: /home/ping/.vim/plugin/voom_addons/custom_headlines.vim
103: /home/ping/.vim/plugin/voom_addons/voom_info.vim
104: /usr/share/vim/vim73/plugin/getscriptPlugin.vim
105: /usr/share/vim/vim73/plugin/gzip.vim
106: /usr/share/vim/vim73/plugin/matchparen.vim
107: /usr/share/vim/vim73/plugin/netrwPlugin.vim
108: /usr/share/vim/vim73/plugin/rrhelper.vim
109: /usr/share/vim/vim73/plugin/spellfile.vim
110: /usr/share/vim/vim73/plugin/tarPlugin.vim
111: /usr/share/vim/vim73/plugin/tohtml.vim
112: /usr/share/vim/vim73/plugin/vimballPlugin.vim
113: /usr/share/vim/vim73/plugin/zipPlugin.vim
114: /usr/share/vim/vim73/scripts.vim
115: /home/ping/.vim/syntax/jel.vim
116: /home/ping/.vim/autoload/tdvimFolddigest.vim
117: /home/ping/.vim/autoload/viki.vim


***the file right before it:
9: /home/ping/.vim/ftdetect/taskpaper.vim

1 " Vim filetype detection file


2 " Language: Taskpaper
(http://hogbaysoftware.com/projects/taskpaper)
3 " Maintainer: David O'Callaghan <david.ocallaghan@cs.tcd.ie>
4 " URL: https://github.com/davidoc/taskpaper.vim
5 " Last Change: 2011-03-28
6 "
7 augroup taskpaper
8 au! BufRead,BufNewFile *.taskpaper setfiletype taskpaper
9 augroup END


***
:version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 11 2011 05:22:13)
Compiled by buildd@
Huge version with GTK2-GNOME GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
+cindent +clientserver +clipboard +cmdline_compl +cmdline_hist
+cmdline_info +comments +conceal +cryptv +cscope +cursorbind +cursorshape
+dialog_con_gui +diff +digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra
+extra_search +farsi +file_in_path +find_in_path +float +folding -footer
+fork() +gettext -hangul_input +iconv +insert_expand +jumplist
+keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap
-lua +menu +mksession +modify_fname +mouse +mouseshape +mouse_dec
+mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm
+multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra
+perl +persistent_undo +postscript +printer +profile +python -python3
+quickfix +reltime +rightleft +ruby +scrollbind +signs
+smartindent -sniff +startuptime +statusline -sun_workshop +syntax
+tag_binary +tag_old_static -tag_any_white +tcl +terminfo +termresponse
+textobjects +title +toolbar +user_commands +vertsplit +virtualedit
+visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows
+writebackup +X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread
-D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/u
sr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
-DORBIT2=1 -pthread -D_REENTRANT
-I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0
-I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1
-I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr
/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -
I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0
-I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/inclu
de -I/usr/include/cairo -I/usr/include/gio-unix-2.0/
-I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng12
-Wall -g -O2 -I/usr/include/tcl8.4 -D_REENTRANT=1
-D_THREAD_SAFE=1 -D_LARG
EFILE64_SOURCE=1 -I/usr/lib/ruby/1.8/x86_64-linux -DRUBY_VERSION=18
Linking: gcc -L. -Wl,-Bsymbolic-functions -rdynamic
-Wl,-export-dynamic -Wl,-E -Wl,--as-needed -o vim -pthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lgdk_pixbuf-2.0 -lpangocairo
-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lgnomeui-2 -lbonoboui-2
-lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activat
ion -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo
-lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0
-lgobject-2.0 -lg
thread-2.0 -lrt -lglib-2.0 -lXt -lncurses -lselinux -lacl -lgpm
-Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.10/CORE
-lperl -L/usr/lib/python2.6/config -lpython2.6 -lutil -Xlinker -export-d
ynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -ltcl8.4 -lieee
-lruby1.8 -lrt -lm


***
--- Auto-Commands ---
BufExplorer BufNew
* call s:BEAddBuffer()
BufExplorer BufDelete
* call s:BEDeactivateBuffer(0)
BufExplorer BufWipeout
* call s:BEDeactivateBuffer(1)
filetypedetect BufEnter
*.xpm if getline(1) =~ "XPM2" | setf xpm2 | else | setf xpm
| endif
*.xpm2 setf xpm2
fuf#buffer BufEnter
* call s:updateBufTimes()
FileExplorer BufEnter
* sil! call s:LocalBrowse(expand("<amatch>"))
FoldDigest BufEnter
g:FoldDigest_Window_Title
call tdvimFolddigest#AutoRefresh()
* call tdvimFolddigest#ChangeBufferRefresh()
viki BufEnter
* if exists("b:vikiEnabled") && b:vikiEnabled == 1 | call
viki#MinorModeReset() | endif
if exists("b:vikiEnabled") && b:vikiEnabled &&
exists("b:vikiCheckInexistent") && b:vikiCheckInexistent > 0 | call
viki#CheckInexistent() | endif
BufEnter
*.vba setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff !=
'unix'| setlocal ma ff=unix noma |endif|call vimball#ShowMesg(0,"Source
this file to extract it! (:so %)")
*.vba.gz setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff !=
'unix'| setlocal ma ff=unix noma |endif|call vimball#ShowMesg(0,"Source
this file to extract it! (:so %)")
*.vba.bz2 setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff !=
'unix'| setlocal ma ff=unix noma |endif|call vimball#ShowMesg(0,"Source
this file to extract it! (:so %)")
*.vba.zip setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff !=
'unix'| setlocal ma ff=unix noma |endif|call vimball#ShowMesg(0,"Source
this file to extract it! (:so %)")
BufExplorer BufEnter
* call s:BEActivateBuffer()
BufFilePost
__Tag_List__
call s:Tlist_Vim_Session_Load()
__PyLog__ call Voom_LogSessionLoad()
*_VOOM\d\+
call Voom_TreeSessionLoad()
FufGlobal BufLeave
* let s:bufferCursorPosMap[bufnr('')] = getpos('.')
viki BufLeave
* if &filetype == 'viki' | let b:vikiCheckInexistent =
line(".") | endif
vimwiki BufLeave
*.wiki call s:setup_buffer_leave()
filetypedetect BufNewFile
?\+.orig exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.bak exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.old exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.new exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.dpkg-dist
exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.dpkg-old
exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.rpmsave
exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.rpmnew
exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
*~ let s:name = expand("<afile>") | let s:short =
substitute(s:name, '\~$', '', '') | if s:name != s:short && s:short !=
"" | exe "doau filetypedetect BufRead " . fnameescape(s:short) | endif
| unlet! s:name s:short
?\+.in if expand("<afile>:t") != "configure.in" | exe "doau
filetypedetect BufRead " . fnameescape(expand("<afile>:r")) | endif
*.inp call s:Check_inp()
*.aap setf aap
etc/a2ps.cfg
setf a2ps
etc/a2ps/*.cfg
setf a2ps
a2psrc setf a2ps
.a2psrc setf a2ps
*.abap setf abap
*.abc setf abc
*.abl setf abel
*.wrm setf acedb
*.adb setf ada
*.ads setf ada
*.ada setf ada
*.gpr setf ada
*.tdf setf ahdl
*.run setf ampl
build.xml setf ant
proftpd.conf*
call s:StarSetf('apachestyle')
.htaccess setf apache
/etc/httpd/*.conf
setf apache
httpd.conf*
call s:StarSetf('apache')
srm.conf* call s:StarSetf('apache')
access.conf*
call s:StarSetf('apache')
apache.conf*
call s:StarSetf('apache')
apache2.conf*
call s:StarSetf('apache')
/etc/apache2/*.conf*
call s:StarSetf('apache')
/etc/httpd/conf.d/*.conf*
call s:StarSetf('apache')
*.a65 setf a65
*.scpt setf applescript
*.am if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
/home/ping/.asoundrc
setf alsaconf
/usr/share/alsa/alsa.conf
setf alsaconf
/etc/asound.conf
setf alsaconf
*.aml setf aml
.arch-inventory
setf arch
=tagging-method
setf arch
*.art setf art
*.asn setf asn
*.asn1 setf asn
*.asa if exists("g:filetype_asa") | exe "setf " .
g:filetype_asa | else | setf aspvbs | endif
*.asp if exists("g:filetype_asp") | exe "setf " .
g:filetype_asp | elseif getline(1) . getline(2) . getline(3) =~?
"perlscript" | setf aspperl | else | setf aspvbs | endif
/boot/grub/menu.lst
setf grub
/boot/grub/grub.conf
setf grub
/etc/grub.conf
setf grub
*.asm call s:FTasm()
*.[sS] call s:FTasm()
*.[aA] call s:FTasm()
*.mac call s:FTasm()
*.lst call s:FTasm()
*.mar setf vmasm
*.atl setf atlas
*.as setf atlas
*.au3 setf autoit
*.ahk setf autohotkey
[mM]akefile.am
setf automake
GNUmakefile.am
setf automake
*.at setf m4
*.ave setf ave
*.awk setf awk
*.mch setf b
*.ref setf b
*.imp setf b
*.bas call s:FTVB("basic")
*.vbs setf vb
*.dsm setf vb
*.ctl setf vb
*.iba setf ibasic
*.ibi setf ibasic
*.fb setf freebasic
*.bi setf freebasic
*.bat setf dosbatch
*.sys setf dosbatch
*.cmd if getline(1) =~ '^/\*' | setf rexx | else | setf
dosbatch | endif
*.btm call s:FTbtm()
*.bc setf bc
*.bdf setf bdf
*.bib setf bib
*.bst setf bst
named.conf
setf named
rndc.conf setf named
named.root
setf bindzone
*.db call s:BindzoneCheck('')
*.bl setf blank
/etc/blkid.tab
setf xml
/etc/blkid.tab.old
setf xml
*.c call s:FTlpc()
calendar setf calendar
*/.calendar/*
call s:StarSetf('calendar')
*/share/calendar/*/calendar.*
call s:StarSetf('calendar')
*/share/calendar/calendar.*
call s:StarSetf('calendar')
*.cs setf cs
*.cabal setf cabal
*.toc setf cdrtoc
etc/cdrdao.conf
setf cdrdaoconf
etc/defaults/cdrdao
setf cdrdaoconf
etc/default/cdrdao
setf cdrdaoconf
/home/ping/.cdrdao
setf cdrdaoconf
cfengine.conf
setf cfengine
*.chai setf chaiscript
*.cdl setf cdl
*.recipe setf conaryrecipe
*.crm setf crm
*.cyn setf cynpp
*.cc if exists("cynlib_syntax_for_cc")|setf cynlib|else|setf
cpp|endif
*.cpp if exists("cynlib_syntax_for_cpp")|setf cynlib|else|setf
cpp|endif
*.cxx setf cpp
*.c++ setf cpp
*.hh setf cpp
*.hxx setf cpp
*.hpp setf cpp
*.ipp setf cpp
*.moc setf cpp
*.tcc setf cpp
*.inl setf cpp
*.C setf cpp
*.H setf cpp
*.h call s:FTheader()
*.chf setf ch
*.tlh setf cpp
*.css setf css
*.con setf cterm
changelog.Debian
setf debchangelog
changelog.dch
setf debchangelog
NEWS.Debian
setf debchangelog
NEWS.dch setf debchangelog
[cC]hange[lL]og
if getline(1) =~ '; urgency='| setf debchangelog| else|
setf changelog| endif
NEWS if getline(1) =~ '; urgency='| setf debchangelog| endif
*..ch setf chill
*.ch call s:FTchange()
*.chopro setf chordpro
*.crd setf chordpro
*.cho setf chordpro
*.crdpro setf chordpro
*.chordpro
setf chordpro
*.dcl setf clean
*.icl setf clean
*.eni setf cl
*.ent call s:FTent()
*.prg if exists("g:filetype_prg") | exe "setf " .
g:filetype_prg | else | setf clipper | endif
CMakeLists.txt
setf cmake
*.cmake setf cmake
*.cmake.in
setf cmake
/home/ping/.cmus/{autosave,rc,command-history,*.theme}
setf cmusrc
*/cmus/{rc,*.theme}
setf cmusrc
*.cbl setf cobol
*.cob setf cobol
*.lib setf cobol
*.cpy if getline(1) =~ '^##' | setf python | else | setf
cobol | endif
*.atg setf coco
*.cfm setf cf
*.cfi setf cf
*.cfc setf cf
configure.in
setf config
configure.ac
setf config
*.cu setf cuda
*.dcd setf dcd
*enlightenment/*.cfg
setf c
*Eterm/*.cfg
setf eterm
lynx.cfg setf lynx
*baseq[2-3]/*.cfg
setf quake
*id1/*.cfg
setf quake
*quake[1-3]/*.cfg
setf quake
*.qc setf c
*.cfg setf cfg
*.feature setf cucumber
*.csp setf csp
*.fdr setf csp
*.pld setf cupl
*.si setf cuplsim
*/debian/control
setf debcontrol
control if getline(1) =~ '^Source:'| setf debcontrol| endif
/etc/apt/sources.list
setf debsources
denyhosts.conf
setf denyhosts
*.desc setf desc
*.d call s:DtraceCheck()
*.desktop setf desktop
.directory
setf desktop
dict.conf setf dictconf
.dictrc setf dictconf
dictd.conf
setf dictdconf
*.diff setf diff
*.rej setf diff
*.patch setf diff
.dir_colors
setf dircolors
/etc/DIR_COLORS
setf dircolors
*.rul if
getline(1).getline(2).getline(3).getline(4).getline(5).getline(6) =~?
'InstallShield' | setf ishd | else | setf diva | endif
*.com call s:BindzoneCheck('dcl')
*.dot setf dot
*.lid setf dylanlid
*.intr setf dylanintr
*.dylan setf dylan
*.def setf def
*.drac setf dracula
*.drc setf dracula
*lvs setf dracula
*lpe setf dracula
*.ds setf datascript
*.dsl setf dsl
*.dtd setf dtd
*.ed\(f\|if\|n\|o\)
setf edif
*.ecd setf ecd
*.e call s:FTe()
*.E call s:FTe()
*/etc/elinks.conf
setf elinks
*/.elinks/elinks.conf
setf elinks
*.erl setf erlang
*.hrl setf erlang
*.yaws setf erlang
filter-rules
setf elmfilt
*esmtprc setf esmtprc
*.ec setf esqlc
*.EC setf esqlc
*.strl setf esterel
*.csc setf csc
exim.conf setf exim
*.exp setf expect
exports setf exports
*.fan setf fan
*.fwt setf fan
*.factor setf factor
.fetchmailrc
setf fetchmail
*.fex setf focexec
*.focexec setf focexec
auto.master
setf conf
*.mas setf master
*.master setf master
*.fs setf forth
*.ft setf forth
*.frt setf reva
*.F setf fortran
*.FOR setf fortran
*.FPP setf fortran
*.FTN setf fortran
*.F77 setf fortran
*.F90 setf fortran
*.F95 setf fortran
*.F03 setf fortran
*.F08 setf fortran
*.f setf fortran
*.for setf fortran
*.fortran setf fortran
*.fpp setf fortran
*.ftn setf fortran
*.f77 setf fortran
*.f90 setf fortran
*.f95 setf fortran
*.f03 setf fortran
*.f08 setf fortran
*.fsl setf framescript
fstab setf fstab
mtab setf fstab
.gdbinit setf gdb
*.mo setf gdmo
*.gdmo setf gdmo
*.ged setf gedcom
lltxxxxx.txt
setf gedcom
*.git/COMMIT_EDITMSG
setf gitcommit
*.git/config
setf gitconfig
.gitconfig
setf gitconfig
.gitmodules
setf gitconfig
git-rebase-todo
setf gitrebase
.msg.[0-9]*
if getline(1) =~ '^From.*# This line is ignored.$' |
setf gitsendemail | endif
*.git/** if getline(1) =~ '^\x\{40\}\>\|^ref: ' | setf git | endif
gkrellmrc setf gkrellmrc
gkrellmrc_?
setf gkrellmrc
*.gp setf gp
.gprc setf gp
*/.gnupg/options
setf gpg
*/.gnupg/gpg.conf
setf gpg
/usr/**/gnupg/options.skel
setf gpg
*.gpi setf gnuplot
*.gs setf grads
*.gretl setf gretl
*.groovy setf groovy
*.gsp setf gsp
/etc/group
setf group
/etc/group-
setf group
/etc/group.edit
setf group
/etc/gshadow
setf group
/etc/gshadow-
setf group
/etc/gshadow.edit
setf group
/var/backups/group.bak
setf group
/var/backups/gshadow.bak
setf group
.gtkrc setf gtkrc
gtkrc setf gtkrc
*.haml setf haml
*.hsc setf hamster
*.hsm setf hamster
*.hs setf haskell
*.hs-boot setf haskell
*.lhs setf lhaskell
*.chs setf chaskell
*.ht setf haste
*.htpp setf hastepreproc
*.vc setf hercules
*.ev setf hercules
*.rs setf hercules
*.sum setf hercules
*.errsum setf hercules
*.hex setf hex
*.h32 setf hex
*.t.html setf tilde
*.html call s:FThtml()
*.htm call s:FThtml()
*.shtml call s:FThtml()
*.stm call s:FThtml()
*.erb setf eruby
*.rhtml setf eruby
*.html.m4 setf htmlm4
*.tmpl setf htmlcheetah
/etc/host.conf
setf hostconf
/etc/hosts.allow
setf hostsaccess
/etc/hosts.deny
setf hostsaccess
*.hb setf hb
*.icn setf icon
*.idl call s:FTidl()
*.odl setf msidl
*.mof setf msidl
*/.icewm/menu
setf icemenu
.indent.pro
setf indent
indent.pro
call s:ProtoCheck('indent')
*.pro call s:ProtoCheck('idlang')
indentrc setf indent
*.inf setf inform
*.INF setf inform
/etc/initng/**/*.i
setf initng
*.ii setf initng
ipf.conf setf ipfilter
ipf6.conf setf ipfilter
ipf.rules setf ipfilter
*.4gl setf fgl
*.4gh setf fgl
*.m4gl setf fgl
*.ini setf dosini
inittab setf inittab
*.iss setf iss
*.jal setf jal
*.JAL setf jal
*.jpl setf jam
*.jpr setf jam
*.java setf java
*.jav setf java
*.jj setf javacc
*.jjt setf javacc
*.js setf javascript
*.javascript
setf javascript
*.es setf javascript
*.jsx setf javascript
*.jsp setf jsp
*.properties
setf jproperties
*.properties_??
setf jproperties
*.properties_??_??
setf jproperties
*.properties_??_??_*
call s:StarSetf('jproperties')
*.clp setf jess
*.jgr setf jgraph
*.kix setf kix
*.k setf kwt
*.ks setf kscript
Kconfig setf kconfig
Kconfig.debug
setf kconfig
*.ace setf lace
*.ACE setf lace
*.latte setf latte
*.lte setf latte
/etc/limits
setf limits
*.sig setf lprolog
*.ldif setf ldif
*.ld setf ld
*.lex setf lex
*.l setf lex
/etc/libao.conf
setf libao
*/.libao setf libao
/etc/sensors.conf
setf sensors
lftp.conf setf lftp
.lftprc setf lftp
*lftp/rc setf lftp
*.ll setf lifelines
lilo.conf*
call s:StarSetf('lilo')
*.lsp setf lisp
*.lisp setf lisp
*.el setf lisp
*.cl setf lisp
*.jl setf lisp
*.L setf lisp
.emacs setf lisp
.sawfishrc
setf lisp
sbclrc setf lisp
.sbclrc setf lisp
*.liquid setf liquid
*.lite setf lite
*.lt setf lite
*/LiteStep/*/*.rc
setf litestep
/etc/logcheck/*.d/*
setf logcheck
/etc/login.access
setf loginaccess
/etc/login.defs
setf logindefs
*.lgt setf logtalk
*.lot setf lotos
*.lotos setf lotos
*.lou setf lout
*.lout setf lout
*.lua setf lua
*.lsl setf lsl
*.lss setf lss
*.m4 if expand("<afile>") !~? 'html.m4$\|fvwm2rc' | setf m4 |
endif
*.mgp setf mgp
snd.\d\+ setf mail
.letter setf mail
.letter.\d\+
setf mail
.followup setf mail
.article setf mail
.article.\d\+
setf mail
pico.\d\+ setf mail
mutt{ng,}-*-\w\+
setf mail
mutt[[:alnum:]_-]\{6\}
setf mail
ae\d\+.txt
setf mail
/tmp/SLRN[0-9A-Z.]\+
setf mail
*.eml setf mail
/etc/mail/aliases
setf mailaliases
/etc/aliases
setf mailaliases
.mailcap setf mailcap
mailcap setf mailcap
*[mM]akefile
setf make
*.mk setf make
*.mak setf make
*.dsp setf make
*.ist setf ist
*.mst setf ist
*.man setf man
/etc/man.conf
setf manconf
man.config
setf manconf
*.mv setf maple
*.mpl setf maple
*.mws setf maple
*.map setf map
*.markdown
setf markdown
*.mdown setf markdown
*.mkd setf markdown
*.mkdn setf markdown
README.md setf markdown
*.mason setf mason
*.mhtml setf mason
*.m call s:FTm()
*.nb setf mma
*.mel setf mel
*.hgrc setf cfg
*hgrc setf cfg
/var/log/messages
setf messages
/var/log/messages.*[0-9]
setf messages
*.mf setf mf
*.mp setf mp
*.mgl setf mgl
*.mms call s:FTmms()
*.mmp setf mmp
*.mod if getline(1) =~ '\<module\>' | setf lprolog | else |
setf modsim3 | endif
*.m2 setf modula2
*.DEF setf modula2
*.MOD setf modula2
*.md setf modula2
*.mi setf modula2
*.[mi][3g]
setf modula3
*.isc setf monk
*.monk setf monk
*.ssc setf monk
*.tsc setf monk
*.moo setf moo
/etc/modules.conf
setf modconf
/etc/conf.modules
setf modconf
/etc/modutils/*
if executable(expand("<afile>")) != 1| call
s:StarSetf('modconf')|endif
mplayer.conf
setf mplayerconf
*/.mplayer/config
setf mplayerconf
*.s19 setf srec
*.s28 setf srec
*.s37 setf srec
mrxvtrc setf mrxvtrc
.mrxvtrc setf mrxvtrc
*.msql setf msql
*.mysql setf mysql
*.rc setf rc
*.mu setf mupad
*.mush setf mush
Mutt{ng,}rc
setf muttrc
/etc/nanorc
setf nanorc
.nanorc setf nanorc
*.NS[ACGLMNPS]
setf natural
.netrc setf netrc
*.ncf setf ncf
*.me if expand("<afile>") != "read.me" && expand("<afile>") !=
"click.me" | setf nroff | endif
*.tr setf nroff
*.nr setf nroff
*.roff setf nroff
*.tmac setf nroff
*.mom setf nroff
*.[1-9] call s:FTnroff()
*.mm call s:FTmm()
*.nqc setf nqc
*.nsi setf nsis
*.ml setf ocaml
*.mli setf ocaml
*.mll setf ocaml
*.mly setf ocaml
*.occ setf occam
*.xom setf omnimark
*.xin setf omnimark
*.or setf openroad
*.[Oo][Pp][Ll]
setf opl
*.ora setf ora
pf.conf setf pf
/etc/pam.conf
setf pamconf
*.papp setf papp
*.pxml setf papp
*.pxsl setf papp
/etc/passwd
setf passwd
/etc/passwd-
setf passwd
/etc/passwd.edit
setf passwd
/etc/shadow
setf passwd
/etc/shadow-
setf passwd
/var/backups/passwd.bak
setf passwd
/var/backups/shadow.bak
setf passwd
*.pas setf pascal
*.dpr setf pascal
*.pdf setf pdf
*.pl call s:FTpl()
*.PL call s:FTpl()
*.plx setf perl
*.al setf perl
*.p6 setf perl6
*.pm6 setf perl6
*.pm if getline(1) =~ "XPM2" | setf xpm2 | elseif getline(1)
=~ "XPM" | setf xpm | else | setf perl | endif
*.pod setf pod
*.php setf php
*.php\d setf php
*.phtml setf php
*.ctp setf php
*.pike setf pike
*.lpc setf pike
*.ulpc setf pike
*.pmod setf pike
*/etc/pinforc
setf pinfo
*/.pinforc
setf pinfo
*.rcp setf pilrc
.pinerc setf pine
pinerc setf pine
.pinercex setf pine
pinercex setf pine
*.plm setf plm
*.p36 setf plm
*.pac setf plm
*.pls setf plsql
*.plsql setf plsql
*.plp setf plp
*.po setf po
*.pot setf po
main.cf setf pfmain
*.ps setf postscr
*.pfa setf postscr
*.afm setf postscr
*.eps setf postscr
*.epsf setf postscr
*.epsi setf postscr
*.ai setf postscr
*.ppd setf ppd
*.pov setf pov
.povrayrc setf povini
*.inc call s:FTinc()
*printcap let b:ptcap_type = "print" | setf ptcap
*termcap let b:ptcap_type = "term" | setf ptcap
*.g setf pccts
*.it setf ppwiz
*.ih setf ppwiz
*.obj setf obj
*.pc setf proc
*.action setf privoxy
.procmail setf procmail
.procmailrc
setf procmail
*.w call s:FTprogress_cweb()
*.i call s:FTprogress_asm()
*.p call s:FTprogress_pascal()
*.psf setf psf
INDEX if getline(1) =~
'^\s*\(distribution\|installed_software\|root\|bundle\|product\)\s*$' |
setf psf | endif
INFO if getline(1) =~
'^\s*\(distribution\|installed_software\|root\|bundle\|product\)\s*$' |
setf psf | endif
*.pdb setf prolog
*.pml setf promela
/etc/protocols
setf protocols
*.pyx setf pyrex
*.pxd setf pyrex
*.py setf python
*.pyw setf python
*.ptl setf python
*.rad setf radiance
*.mat setf radiance
.ratpoisonrc
setf ratpoison
ratpoisonrc
setf ratpoison
*\,v setf rcs
.inputrc setf readline
inputrc setf readline
*.reg if getline(1) =~? '^REGEDIT[0-9]*\s*$\|^Windows Registry
Editor Version \d*\.\d*\s*$' | setf registry | endif
*.rib setf rib
*.rexx setf rexx
*.rex setf rexx
*.jrexx setf rexx
*.rxj setf rexx
*.orx setf rexx
*.s setf r
*.S setf r
*.rd setf rhelp
*.Rd setf rhelp
*.Rnw setf rnoweb
*.rnw setf rnoweb
*.Snw setf rnoweb
*.snw setf rnoweb
*.r call s:FTr()
*.R call s:FTr()
.reminders*
call s:StarSetf('remind')
*.remind setf remind
*.rem setf remind
resolv.conf
setf resolv
*.rnc setf rnc
*.rpl setf rpl
robots.txt
setf robots
*.x setf rpcgen
*.rst setf rst
*.rtf setf rtf
.irbrc setf ruby
irbrc setf ruby
*.rb setf ruby
*.rbw setf ruby
*.gem setf ruby
*.gemspec setf ruby
*.builder setf ruby
*.rxml setf ruby
*.rjs setf ruby
[rR]antfile
setf ruby
*.rant setf ruby
[rR]akefile
setf ruby
*.rake setf ruby
*.sl setf slang
smb.conf setf samba
*.sas setf sas
*.sass setf sass
*.sa setf sather
*.sci setf scilab
*.sce setf scilab
*.scss setf scss
*.sd setf sd
*.sdl setf sdl
*.pr setf sdl
*.sed setf sed
*.siv setf sieve
sendmail.cf
setf sm
*.mc call s:McSetf()
/etc/services
setf services
/etc/slp.conf
setf slpconf
/etc/slp.reg
setf slpreg
/etc/slp.spi
setf slpspi
/etc/serial.conf
setf setserial
*.sgm if getline(1).getline(2).getline(3).getline(4).getline(5)
=~? 'linuxdoc' | setf sgmllnx | elseif getline(1) =~
'<!DOCTYPE.*DocBook' || getline(2) =~ '<!DOCTYPE.*DocBook' | let
b:docbk_type="sgml" | setf docbk | else | setf sgml | endif
*.sgml if getline(1).getline(2).getline(3).getline(4).getline(5)
=~? 'linuxdoc' | setf sgmllnx | elseif getline(1) =~
'<!DOCTYPE.*DocBook' || getline(2) =~ '<!DOCTYPE.*DocBook' | let
b:docbk_type="sgml" | setf docbk | else | setf sgml | endif
*.decl if getline(1).getline(2).getline(3) =~? '^<!SGML' |
setf sgmldecl | endif
*.dcl if getline(1).getline(2).getline(3) =~? '^<!SGML' |
setf sgmldecl | endif
*.dec if getline(1).getline(2).getline(3) =~? '^<!SGML' |
setf sgmldecl | endif
catalog setf catalog
sgml.catalog*
call s:StarSetf('catalog')
.bashrc* call SetFileTypeSH("bash")
bashrc call SetFileTypeSH("bash")
bash.bashrc
call SetFileTypeSH("bash")
.bash_profile*
call SetFileTypeSH("bash")
.bash_logout*
call SetFileTypeSH("bash")
*.bash call SetFileTypeSH("bash")
*.ebuild call SetFileTypeSH("bash")
.kshrc* call SetFileTypeSH("ksh")
*.ksh call SetFileTypeSH("ksh")
/etc/profile
call SetFileTypeSH(getline(1))
.profile* call SetFileTypeSH(getline(1))
*.sh call SetFileTypeSH(getline(1))
*.env call SetFileTypeSH(getline(1))
.tcshrc* call SetFileTypeShell("tcsh")
*.tcsh call SetFileTypeShell("tcsh")
tcsh.tcshrc
call SetFileTypeShell("tcsh")
tcsh.login
call SetFileTypeShell("tcsh")
.login* call s:CSH()
.cshrc* call s:CSH()
csh.cshrc call s:CSH()
csh.login call s:CSH()
csh.logout
call s:CSH()
*.csh call s:CSH()
.alias call s:CSH()
.zprofile setf zsh
/etc/zprofile
setf zsh
.zfbfmarks
setf zsh
.zsh* call s:StarSetf('zsh')
.zlog* call s:StarSetf('zsh')
.zcompdump*
call s:StarSetf('zsh')
*.zsh setf zsh
*.scm setf scheme
*.ss setf scheme
.screenrc setf screen
screenrc setf screen
*.sim setf simula
*.sin setf sinda
*.s85 setf sinda
*.sst setf sisu
*.ssm setf sisu
*.ssi setf sisu
*.-sst setf sisu
*._sst setf sisu
*.sst.meta
setf sisu
*.-sst.meta
setf sisu
*._sst.meta
setf sisu
*.il setf skill
*.ils setf skill
*.cdf setf skill
.slrnrc setf slrnrc
*.score setf slrnsc
*.st setf st
*.cls if getline(1) =~ '^%' | setf tex | else | setf st | endif
*.tpl setf smarty
*.smil if getline(1) =~ '<?\s*xml.*?>' | setf xml | else |
setf smil | endif
*.smi if getline(1) =~ '\<smil\>' | setf smil | else | setf
mib | endif
*.smt setf smith
*.smith setf smith
*.sno setf snobol4
*.spt setf snobol4
*.mib setf mib
*.my setf mib
*.hog setf hog
snort.conf
setf hog
vision.conf
setf hog
*.rules call s:FTRules()
*.spec setf spec
*.speedup setf spup
*.spdata setf spup
*.spd setf spup
*.ice setf slice
*.sp setf spice
*.spice setf spice
*.spy setf spyce
*.spi setf spyce
squid.conf
setf squid
*.tyb setf sql
*.typ setf sql
*.tyc setf sql
*.pkb setf sql
*.pks setf sql
*.sql call s:SQL()
*.sqlj setf sqlj
*.sqr setf sqr
*.sqi setf sqr
ssh_config
setf sshconfig
*/.ssh/config
setf sshconfig
sshd_config
setf sshdconfig
*.ado setf stata
*.class setf stata
*.do setf stata
*.imata setf stata
*.mata setf stata
*.hlp setf smcl
*.ihlp setf smcl
*.smcl setf smcl
*.stp setf stp
*.sml setf sml
*.cm setf voscm
/etc/sysctl.conf
setf sysctl
*.sdc setf sdc
/etc/sudoers
setf sudoers
sudoers.tmp
setf sudoers
*.svg setf svg
*.t if !s:FTnroff() && !s:FTperl() | setf tads | endif
tags setf tags
*.tak setf tak
{pending,completed,undo}.data
setf taskdata
*.task setf taskedit
*.tcl setf tcl
*.tk setf tcl
*.itcl setf tcl
*.itk setf tcl
*.jacl setf tcl
*.tli setf tli
*.slt setf tsalt
*.ti setf terminfo
*.latex setf tex
*.sty setf tex
*.dtx setf tex
*.ltx setf tex
*.bbl setf tex
*.tex call s:FTtex()
tex/context/*/*.tex
setf context
*.mkii setf context
*.mkiv setf context
*.texinfo setf texinfo
*.texi setf texinfo
*.txi setf texinfo
texmf.cnf setf texmf
.tidyrc setf tidy
tidyrc setf tidy
*.tf setf tf
.tfrc setf tf
tfrc setf tf
*.tpp setf tpp
trustees.conf
setf trustees
*.tssgm setf tssgm
*.tssop setf tssop
*.tsscl setf tsscl
*.uit setf uil
*.uil setf uil
/etc/udev/udev.conf
setf udevconf
/etc/udev/permissions.d/*.permissions
setf udevperm
/etc/udev/cdsymlinks.conf
setf sh
*.uc setf uc
/etc/updatedb.conf
setf updatedb
*.vr setf vera
*.vri setf vera
*.vrh setf vera
*.v setf verilog
*.va setf verilogams
*.vams setf verilogams
*.hdl setf vhdl
*.vhd setf vhdl
*.vhdl setf vhdl
*.vbe setf vhdl
*.vst setf vhdl
*.vhdl_[0-9]*
call s:StarSetf('vhdl')
*.vim setf vim
*.vba setf vim
.exrc setf vim
_exrc setf vim
.viminfo setf viminfo
_viminfo setf viminfo
*.hw if getline(1) =~ '<?php' | setf php | else | setf
virata | endif
*.module if getline(1) =~ '<?php' | setf php | else | setf
virata | endif
*.pkg if getline(1) =~ '<?php' | setf php | else | setf
virata | endif
*.frm call s:FTVB("form")
*.sba setf vb
vgrindefs setf vgrindefs
*.wrl setf vrml
*.wm setf webmacro
.wgetrc setf wget
wgetrc setf wget
*.wml setf wml
*.wbt setf winbatch
*.wsml setf wsml
wvdial.conf
setf wvdial
.wvdialrc setf wvdial
.cvsrc setf cvsrc
cvs\d\+ setf cvs
*.web if
getline(1)[0].getline(2)[0].getline(3)[0].getline(4)[0].getline(5)[0] =~
"%" | setf web | else | setf winbatch | endif
*.ws[fc] setf wsh
*.xhtml setf xhtml
*.xht setf xhtml
XF86Config
if getline(1) =~ '\<XConfigurator\>' | let
b:xf86c_xfree86_version = 3 | endif | setf xf86conf
xorg.conf let b:xf86c_xfree86_version = 4 | setf xf86conf
xorg.conf-4
let b:xf86c_xfree86_version = 4 | setf xf86conf
/etc/xinetd.conf
setf xinetd
*.xs setf xs
.Xdefaults
setf xdefaults
.Xpdefaults
setf xdefaults
.Xresources
setf xdefaults
xdm-config
setf xdefaults
*.ad setf xdefaults
*.msc setf xmath
*.msf setf xmath
*.ms if !s:FTnroff() | setf xmath | endif
*.xml call s:FTxml()
*.xmi setf xml
*.csproj setf xml
*.csproj.user
setf xml
*.ts setf xml
*.ui setf xml
*.tpm setf xml
/etc/xdg/menus/*.menu
setf xml
fglrxrc setf xml
*.xlf setf xml
*.xliff setf xml
*Xmodmap setf xmodmap
*.xq setf xquery
*.xql setf xquery
*.xqm setf xquery
*.xquery setf xquery
*.xqy setf xquery
*.xsd setf xsd
*.xsl setf xslt
*.xslt setf xslt
*.yy setf yacc
*.y call s:FTy()
*.yaml setf yaml
*.yml setf yaml
*.dtml call s:FThtml()
*.pt call s:FThtml()
*.cpt call s:FThtml()
*.zsql call s:SQL()
*.z8a setf z8a
* if !did_filetype() && expand("<amatch>") !~
g:ft_ignore_pat | runtime! scripts.vim | endif
/etc/apache2/conf.*/*
call s:StarSetf('apache')
/etc/apache2/sites-*/*
call s:StarSetf('apache')
/etc/apache2/mods-*/*
call s:StarSetf('apache')
*asterisk/*.conf*
call s:StarSetf('asterisk')
*asterisk*/*voicemail.conf*
call s:StarSetf('asteriskvm')
bzr_log.* setf bzr
*/named/db.*
call s:StarSetf('bindzone')
*/bind/db.*
call s:StarSetf('bindzone')
[cC]hange[lL]og*
if getline(1) =~ '; urgency='| call
s:StarSetf('debchangelog')|else| call s:StarSetf('changelog')|endif
crontab call s:StarSetf('crontab')
crontab.* call s:StarSetf('crontab')
/etc/cron.d/*
call s:StarSetf('crontab')
/etc/apt/sources.list.d/*
call s:StarSetf('debsources')
drac.* call s:StarSetf('dracula')
*/.fvwm/* call s:StarSetf('fvwm')
*fvwmrc* let b:fvwm_version = 1 | call s:StarSetf('fvwm')
*fvwm95*.hook
let b:fvwm_version = 1 | call s:StarSetf('fvwm')
*fvwm2rc* if expand("<afile>:e") == "m4"| call
s:StarSetf('fvwm2m4')|else| let b:fvwm_version = 2 | call
s:StarSetf('fvwm')|endif
/tmp/lltmp*
call s:StarSetf('gedcom')
.gtkrc* call s:StarSetf('gtkrc')
gtkrc* call s:StarSetf('gtkrc')
Prl*.* call s:StarSetf('jam')
JAM*.* call s:StarSetf('jam')
*jarg* if getline(1).getline(2).getline(3).getline(4).getline(5)
=~? 'THIS IS THE JARGON FILE'| call s:StarSetf('jargon')|endif
Kconfig.* call s:StarSetf('kconfig')
/etc/logcheck/*.d*/*
call s:StarSetf('logcheck')
[mM]akefile*
call s:StarSetf('make')
[rR]akefile*
call s:StarSetf('ruby')
mutt[[:alnum:]._-]\{6\}
setf mail
/etc/modprobe.*
call s:StarSetf('modconf')
.mutt{ng,}rc*
call s:StarSetf('muttrc')
*/.mutt{ng,}/mutt{ng,}rc*
call s:StarSetf('muttrc')
mutt{ng,}rc*
call s:StarSetf('muttrc')
Mutt{ng,}rc*
call s:StarSetf('muttrc')
tmac.* call s:StarSetf('nroff')
/etc/pam.d/*
call s:StarSetf('pamconf')
*printcap*
if !did_filetype()| let b:ptcap_type = "print" | call
s:StarSetf('ptcap')|endif
*termcap* if !did_filetype()| let b:ptcap_type = "term" | call
s:StarSetf('ptcap')|endif
*vimrc* call s:StarSetf('vim')
svn-commit*.tmp
setf svn
Xresources*
call s:StarSetf('xdefaults')
*/app-defaults/*
call s:StarSetf('xdefaults')
*/Xresources/*
call s:StarSetf('xdefaults')
XF86Config-4*
let b:xf86c_xfree86_version = 4 | call s:StarSetf('xf86conf')
XF86Config*
if getline(1) =~ '\<XConfigurator\>'| let
b:xf86c_xfree86_version = 3|endif|call s:StarSetf('xf86conf')
*xmodmap* call s:StarSetf('xmodmap')
/etc/xinetd.d/*
call s:StarSetf('xinetd')
zsh* call s:StarSetf('zsh')
zlog* call s:StarSetf('zsh')
ftdetect_csv BufNewFile
*.csv set filetype=csv
*.dat set filetype=csv
*.tsv set filetype=csv
*.tab set filetype=csv
BufNewFile
*.mkd set filetype=mkd
*.markdown
set filetype=mkd
*.mdwn set filetype=mkd
taskpaper BufNewFile
*.taskpaper
setfiletype taskpaper
BufNewFile
*.asciidoc
setfiletype asciidoc
*.txt setfiletype asciidoc
README setfiletype asciidoc
TODO setfiletype asciidoc
CHANGELOG setfiletype asciidoc
NOTES setfiletype asciidoc
* if !did_filetype() && expand("<amatch>") !~
g:ft_ignore_pat && (getline(1) =~ '^#' || getline(2) =~ '^#' ||
getline(3) =~ '^#'^I|| getline(4) =~ '^#' || getline(5) =~ '^#') |
setf conf | endif
call s:MRU_AddFile(expand('<abuf>'))
*.pl call Perl_InsertTemplate('comment.file-description-pl')
*.pm call Perl_InsertTemplate('comment.file-description-pm')
*.t call Perl_InsertTemplate('comment.file-description-t')
*.pod set filetype=perl | call
Perl_InsertTemplate('comment.file-description-pod')
*.t set filetype=perl
vimwiki BufNewFile
*.wiki call s:setup_filetype()
filetypedetect BufRead
?\+.orig exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.bak exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.old exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.new exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.dpkg-dist
exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.dpkg-old
exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.rpmsave
exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
?\+.rpmnew
exe "doau filetypedetect BufRead " .
fnameescape(expand("<afile>:r"))
*~ let s:name = expand("<afile>") | let s:short =
substitute(s:name, '\~$', '', '') | if s:name != s:short && s:short !=
"" | exe "doau filetypedetect BufRead " . fnameescape(s:short) | endif
| unlet! s:name s:short
?\+.in if expand("<afile>:t") != "configure.in" | exe "doau
filetypedetect BufRead " . fnameescape(expand("<afile>:r")) | endif
*.inp call s:Check_inp()
*.aap setf aap
etc/a2ps.cfg
setf a2ps
etc/a2ps/*.cfg
setf a2ps
a2psrc setf a2ps
.a2psrc setf a2ps
*.abap setf abap
*.abc setf abc
*.abl setf abel
*.wrm setf acedb
*.adb setf ada
*.ads setf ada
*.ada setf ada
*.gpr setf ada
*.tdf setf ahdl
*.run setf ampl
build.xml setf ant
proftpd.conf*
call s:StarSetf('apachestyle')
.htaccess setf apache
/etc/httpd/*.conf
setf apache
httpd.conf*
call s:StarSetf('apache')
srm.conf* call s:StarSetf('apache')
access.conf*
call s:StarSetf('apache')
apache.conf*
call s:StarSetf('apache')
apache2.conf*
call s:StarSetf('apache')
/etc/apache2/*.conf*
call s:StarSetf('apache')
/etc/httpd/conf.d/*.conf*
call s:StarSetf('apache')
*.a65 setf a65
*.scpt setf applescript
*.am if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
/home/ping/.asoundrc
setf alsaconf
/usr/share/alsa/alsa.conf
setf alsaconf
/etc/asound.conf
setf alsaconf
*.aml setf aml
.arch-inventory
setf arch
=tagging-method
setf arch
*.art setf art
*.asn setf asn
*.asn1 setf asn
*.asa if exists("g:filetype_asa") | exe "setf " .
g:filetype_asa | else | setf aspvbs | endif
*.asp if exists("g:filetype_asp") | exe "setf " .
g:filetype_asp | elseif getline(1) . getline(2) . getline(3) =~?
"perlscript" | setf aspperl | else | setf aspvbs | endif
/boot/grub/menu.lst
setf grub
/boot/grub/grub.conf
setf grub
/etc/grub.conf
setf grub
*.asm call s:FTasm()
*.[sS] call s:FTasm()
*.[aA] call s:FTasm()
*.mac call s:FTasm()
*.lst call s:FTasm()
*.mar setf vmasm
*.atl setf atlas
*.as setf atlas
*.au3 setf autoit
*.ahk setf autohotkey
[mM]akefile.am
setf automake
GNUmakefile.am
setf automake
*.at setf m4
*.ave setf ave
*.awk setf awk
*.mch setf b
*.ref setf b
*.imp setf b
*.bas call s:FTVB("basic")
*.vbs setf vb
*.dsm setf vb
*.ctl setf vb
*.iba setf ibasic
*.ibi setf ibasic
*.fb setf freebasic
*.bi setf freebasic
*.bat setf dosbatch
*.sys setf dosbatch
*.cmd if getline(1) =~ '^/\*' | setf rexx | else | setf
dosbatch | endif
*.btm call s:FTbtm()
*.bc setf bc
*.bdf setf bdf
*.bib setf bib
*.bst setf bst
named.conf
setf named
rndc.conf setf named
named.root
setf bindzone
*.db call s:BindzoneCheck('')
*.bl setf blank
/etc/blkid.tab
setf xml
/etc/blkid.tab.old
setf xml
*.c call s:FTlpc()
calendar setf calendar
*/.calendar/*
call s:StarSetf('calendar')
*/share/calendar/*/calendar.*
call s:StarSetf('calendar')
*/share/calendar/calendar.*
call s:StarSetf('calendar')
*.cs setf cs
*.cabal setf cabal
*.toc setf cdrtoc
etc/cdrdao.conf
setf cdrdaoconf
etc/defaults/cdrdao
setf cdrdaoconf
etc/default/cdrdao
setf cdrdaoconf
/home/ping/.cdrdao
setf cdrdaoconf
cfengine.conf
setf cfengine
*.chai setf chaiscript
*.cdl setf cdl
*.recipe setf conaryrecipe
*.crm setf crm
*.cyn setf cynpp
*.cc if exists("cynlib_syntax_for_cc")|setf cynlib|else|setf
cpp|endif
*.cpp if exists("cynlib_syntax_for_cpp")|setf cynlib|else|setf
cpp|endif
*.cxx setf cpp
*.c++ setf cpp
*.hh setf cpp
*.hxx setf cpp
*.hpp setf cpp
*.ipp setf cpp
*.moc setf cpp
*.tcc setf cpp
*.inl setf cpp
*.C setf cpp
*.H setf cpp
*.h call s:FTheader()
*.chf setf ch
*.tlh setf cpp
*.css setf css
*.con setf cterm
changelog.Debian
setf debchangelog
changelog.dch
setf debchangelog
NEWS.Debian
setf debchangelog
NEWS.dch setf debchangelog
[cC]hange[lL]og
if getline(1) =~ '; urgency='| setf debchangelog| else|
setf changelog| endif
NEWS if getline(1) =~ '; urgency='| setf debchangelog| endif
*..ch setf chill
*.ch call s:FTchange()
*.chopro setf chordpro
*.crd setf chordpro
*.cho setf chordpro
*.crdpro setf chordpro
*.chordpro
setf chordpro
*.dcl setf clean
*.icl setf clean
*.eni setf cl
*.ent call s:FTent()
*.prg if exists("g:filetype_prg") | exe "setf " .
g:filetype_prg | else | setf clipper | endif
CMakeLists.txt
setf cmake
*.cmake setf cmake
*.cmake.in
setf cmake
/home/ping/.cmus/{autosave,rc,command-history,*.theme}
setf cmusrc
*/cmus/{rc,*.theme}
setf cmusrc
*.cbl setf cobol
*.cob setf cobol
*.lib setf cobol
*.cpy if getline(1) =~ '^##' | setf python | else | setf
cobol | endif
*.atg setf coco
*.cfm setf cf
*.cfi setf cf
*.cfc setf cf
configure.in
setf config
configure.ac
setf config
*.cu setf cuda
*.dcd setf dcd
*enlightenment/*.cfg
setf c
*Eterm/*.cfg
setf eterm
lynx.cfg setf lynx
*baseq[2-3]/*.cfg
setf quake
*id1/*.cfg
setf quake
*quake[1-3]/*.cfg
setf quake
*.qc setf c
*.cfg setf cfg
*.feature setf cucumber
*.csp setf csp
*.fdr setf csp
*.pld setf cupl
*.si setf cuplsim
*/debian/control
setf debcontrol
control if getline(1) =~ '^Source:'| setf debcontrol| endif
/etc/apt/sources.list
setf debsources
denyhosts.conf
setf denyhosts
*.desc setf desc
*.d call s:DtraceCheck()
*.desktop setf desktop
.directory
setf desktop
dict.conf setf dictconf
.dictrc setf dictconf
dictd.conf
setf dictdconf
*.diff setf diff
*.rej setf diff
*.patch setf diff
.dir_colors
setf dircolors
/etc/DIR_COLORS
setf dircolors
*.rul if
getline(1).getline(2).getline(3).getline(4).getline(5).getline(6) =~?
'InstallShield' | setf ishd | else | setf diva | endif
*.com call s:BindzoneCheck('dcl')
*.dot setf dot
*.lid setf dylanlid
*.intr setf dylanintr
*.dylan setf dylan
*.def setf def
*.drac setf dracula
*.drc setf dracula
*lvs setf dracula
*lpe setf dracula
*.ds setf datascript
*.dsl setf dsl
*.dtd setf dtd
*.ed\(f\|if\|n\|o\)
setf edif
*.ecd setf ecd
*.e call s:FTe()
*.E call s:FTe()
*/etc/elinks.conf
setf elinks
*/.elinks/elinks.conf
setf elinks
*.erl setf erlang
*.hrl setf erlang
*.yaws setf erlang
filter-rules
setf elmfilt
*esmtprc setf esmtprc
*.ec setf esqlc
*.EC setf esqlc
*.strl setf esterel
*.csc setf csc
exim.conf setf exim
*.exp setf expect
exports setf exports
*.fan setf fan
*.fwt setf fan
*.factor setf factor
.fetchmailrc
setf fetchmail
*.fex setf focexec
*.focexec setf focexec
auto.master
setf conf
*.mas setf master
*.master setf master
*.fs setf forth
*.ft setf forth
*.frt setf reva
*.F setf fortran
*.FOR setf fortran
*.FPP setf fortran
*.FTN setf fortran
*.F77 setf fortran
*.F90 setf fortran
*.F95 setf fortran
*.F03 setf fortran
*.F08 setf fortran
*.f setf fortran
*.for setf fortran
*.fortran setf fortran
*.fpp setf fortran
*.ftn setf fortran
*.f77 setf fortran
*.f90 setf fortran
*.f95 setf fortran
*.f03 setf fortran
*.f08 setf fortran
*.fsl setf framescript
fstab setf fstab
mtab setf fstab
.gdbinit setf gdb
*.mo setf gdmo
*.gdmo setf gdmo
*.ged setf gedcom
lltxxxxx.txt
setf gedcom
*.git/COMMIT_EDITMSG
setf gitcommit
*.git/config
setf gitconfig
.gitconfig
setf gitconfig
.gitmodules
setf gitconfig
git-rebase-todo
setf gitrebase
.msg.[0-9]*
if getline(1) =~ '^From.*# This line is ignored.$' |
setf gitsendemail | endif
*.git/** if getline(1) =~ '^\x\{40\}\>\|^ref: ' | setf git | endif
gkrellmrc setf gkrellmrc
gkrellmrc_?
setf gkrellmrc
*.gp setf gp
.gprc setf gp
*/.gnupg/options
setf gpg
*/.gnupg/gpg.conf
setf gpg
/usr/**/gnupg/options.skel
setf gpg
*.gpi setf gnuplot
*.gs setf grads
*.gretl setf gretl
*.groovy setf groovy
*.gsp setf gsp
/etc/group
setf group
/etc/group-
setf group
/etc/group.edit
setf group
/etc/gshadow
setf group
/etc/gshadow-
setf group
/etc/gshadow.edit
setf group
/var/backups/group.bak
setf group
/var/backups/gshadow.bak
setf group
.gtkrc setf gtkrc
gtkrc setf gtkrc
*.haml setf haml
*.hsc setf hamster
*.hsm setf hamster
*.hs setf haskell
*.hs-boot setf haskell
*.lhs setf lhaskell
*.chs setf chaskell
*.ht setf haste
*.htpp setf hastepreproc
*.vc setf hercules
*.ev setf hercules
*.rs setf hercules
*.sum setf hercules
*.errsum setf hercules
*.hex setf hex
*.h32 setf hex
*.t.html setf tilde
*.html call s:FThtml()
*.htm call s:FThtml()
*.shtml call s:FThtml()
*.stm call s:FThtml()
*.erb setf eruby
*.rhtml setf eruby
*.html.m4 setf htmlm4
*.tmpl setf htmlcheetah
/etc/host.conf
setf hostconf
/etc/hosts.allow
setf hostsaccess
/etc/hosts.deny
setf hostsaccess
*.hb setf hb
*.icn setf icon
*.idl call s:FTidl()
*.odl setf msidl
*.mof setf msidl
*/.icewm/menu
setf icemenu
.indent.pro
setf indent
indent.pro
call s:ProtoCheck('indent')
*.pro call s:ProtoCheck('idlang')
indentrc setf indent
*.inf setf inform
*.INF setf inform
/etc/initng/**/*.i
setf initng
*.ii setf initng
ipf.conf setf ipfilter
ipf6.conf setf ipfilter
ipf.rules setf ipfilter
*.4gl setf fgl
*.4gh setf fgl
*.m4gl setf fgl
*.ini setf dosini
inittab setf inittab
*.iss setf iss
*.jal setf jal
*.JAL setf jal
*.jpl setf jam
*.jpr setf jam
*.java setf java
*.jav setf java
*.jj setf javacc
*.jjt setf javacc
*.js setf javascript
*.javascript
setf javascript
*.es setf javascript
*.jsx setf javascript
*.jsp setf jsp
*.properties
setf jproperties
*.properties_??
setf jproperties
*.properties_??_??
setf jproperties
*.properties_??_??_*
call s:StarSetf('jproperties')
*.clp setf jess
*.jgr setf jgraph
*.kix setf kix
*.k setf kwt
*.ks setf kscript
Kconfig setf kconfig
Kconfig.debug
setf kconfig
*.ace setf lace
*.ACE setf lace
*.latte setf latte
*.lte setf latte
/etc/limits
setf limits
*.sig setf lprolog
*.ldif setf ldif
*.ld setf ld
*.lex setf lex
*.l setf lex
/etc/libao.conf
setf libao
*/.libao setf libao
/etc/sensors.conf
setf sensors
lftp.conf setf lftp
.lftprc setf lftp
*lftp/rc setf lftp
*.ll setf lifelines
lilo.conf*
call s:StarSetf('lilo')
*.lsp setf lisp
*.lisp setf lisp
*.el setf lisp
*.cl setf lisp
*.jl setf lisp
*.L setf lisp
.emacs setf lisp
.sawfishrc
setf lisp
sbclrc setf lisp
.sbclrc setf lisp
*.liquid setf liquid
*.lite setf lite
*.lt setf lite
*/LiteStep/*/*.rc
setf litestep
/etc/logcheck/*.d/*
setf logcheck
/etc/login.access
setf loginaccess
/etc/login.defs
setf logindefs
*.lgt setf logtalk
*.lot setf lotos
*.lotos setf lotos
*.lou setf lout
*.lout setf lout
*.lua setf lua
*.lsl setf lsl
*.lss setf lss
*.m4 if expand("<afile>") !~? 'html.m4$\|fvwm2rc' | setf m4 |
endif
*.mgp setf mgp
snd.\d\+ setf mail
.letter setf mail
.letter.\d\+
setf mail
.followup setf mail
.article setf mail
.article.\d\+
setf mail
pico.\d\+ setf mail
mutt{ng,}-*-\w\+
setf mail
mutt[[:alnum:]_-]\{6\}
setf mail
ae\d\+.txt
setf mail
/tmp/SLRN[0-9A-Z.]\+
setf mail
*.eml setf mail
/etc/mail/aliases
setf mailaliases
/etc/aliases
setf mailaliases
.mailcap setf mailcap
mailcap setf mailcap
*[mM]akefile
setf make
*.mk setf make
*.mak setf make
*.dsp setf make
*.ist setf ist
*.mst setf ist
*.man setf man
/etc/man.conf
setf manconf
man.config
setf manconf
*.mv setf maple
*.mpl setf maple
*.mws setf maple
*.map setf map
*.markdown
setf markdown
*.mdown setf markdown
*.mkd setf markdown
*.mkdn setf markdown
README.md setf markdown
*.mason setf mason
*.mhtml setf mason
*.m call s:FTm()
*.nb setf mma
*.mel setf mel
*.hgrc setf cfg
*hgrc setf cfg
/var/log/messages
setf messages
/var/log/messages.*[0-9]
setf messages
*.mf setf mf
*.mp setf mp
*.mgl setf mgl
*.mms call s:FTmms()
*.mmp setf mmp
*.mod if getline(1) =~ '\<module\>' | setf lprolog | else |
setf modsim3 | endif
*.m2 setf modula2
*.DEF setf modula2
*.MOD setf modula2
*.md setf modula2
*.mi setf modula2
*.[mi][3g]
setf modula3
*.isc setf monk
*.monk setf monk
*.ssc setf monk
*.tsc setf monk
*.moo setf moo
/etc/modules.conf
setf modconf
/etc/conf.modules
setf modconf
/etc/modutils/*
if executable(expand("<afile>")) != 1| call
s:StarSetf('modconf')|endif
mplayer.conf
setf mplayerconf
*/.mplayer/config
setf mplayerconf
*.s19 setf srec
*.s28 setf srec
*.s37 setf srec
mrxvtrc setf mrxvtrc
.mrxvtrc setf mrxvtrc
*.msql setf msql
*.mysql setf mysql
*.rc setf rc
*.mu setf mupad
*.mush setf mush
Mutt{ng,}rc
setf muttrc
/etc/nanorc
setf nanorc
.nanorc setf nanorc
*.NS[ACGLMNPS]
setf natural
.netrc setf netrc
*.ncf setf ncf
*.me if expand("<afile>") != "read.me" && expand("<afile>") !=
"click.me" | setf nroff | endif
*.tr setf nroff
*.nr setf nroff
*.roff setf nroff
*.tmac setf nroff
*.mom setf nroff
*.[1-9] call s:FTnroff()
*.mm call s:FTmm()
*.nqc setf nqc
*.nsi setf nsis
*.ml setf ocaml
*.mli setf ocaml
*.mll setf ocaml
*.mly setf ocaml
*.occ setf occam
*.xom setf omnimark
*.xin setf omnimark
*.or setf openroad
*.[Oo][Pp][Ll]
setf opl
*.ora setf ora
pf.conf setf pf
/etc/pam.conf
setf pamconf
*.papp setf papp
*.pxml setf papp
*.pxsl setf papp
/etc/passwd
setf passwd
/etc/passwd-
setf passwd
/etc/passwd.edit
setf passwd
/etc/shadow
setf passwd
/etc/shadow-
setf passwd
/var/backups/passwd.bak
setf passwd
/var/backups/shadow.bak
setf passwd
*.pas setf pascal
*.dpr setf pascal
*.pdf setf pdf
*.pl call s:FTpl()
*.PL call s:FTpl()
*.plx setf perl
*.al setf perl
*.p6 setf perl6
*.pm6 setf perl6
*.pm if getline(1) =~ "XPM2" | setf xpm2 | elseif getline(1)
=~ "XPM" | setf xpm | else | setf perl | endif
*.pod setf pod
*.php setf php
*.php\d setf php
*.phtml setf php
*.ctp setf php
*.pike setf pike
*.lpc setf pike
*.ulpc setf pike
*.pmod setf pike
*/etc/pinforc
setf pinfo
*/.pinforc
setf pinfo
*.rcp setf pilrc
.pinerc setf pine
pinerc setf pine
.pinercex setf pine
pinercex setf pine
*.plm setf plm
*.p36 setf plm
*.pac setf plm
*.pls setf plsql
*.plsql setf plsql
*.plp setf plp
*.po setf po
*.pot setf po
main.cf setf pfmain
*.ps setf postscr
*.pfa setf postscr
*.afm setf postscr
*.eps setf postscr
*.epsf setf postscr
*.epsi setf postscr
*.ai setf postscr
*.ppd setf ppd
*.pov setf pov
.povrayrc setf povini
*.inc call s:FTinc()
*printcap let b:ptcap_type = "print" | setf ptcap
*termcap let b:ptcap_type = "term" | setf ptcap
*.g setf pccts
*.it setf ppwiz
*.ih setf ppwiz
*.obj setf obj
*.pc setf proc
*.action setf privoxy
.procmail setf procmail
.procmailrc
setf procmail
*.w call s:FTprogress_cweb()
*.i call s:FTprogress_asm()
*.p call s:FTprogress_pascal()
*.psf setf psf
INDEX if getline(1) =~
'^\s*\(distribution\|installed_software\|root\|bundle\|product\)\s*$' |
setf psf | endif
INFO if getline(1) =~
'^\s*\(distribution\|installed_software\|root\|bundle\|product\)\s*$' |
setf psf | endif
*.pdb setf prolog
*.pml setf promela
/etc/protocols
setf protocols
*.pyx setf pyrex
*.pxd setf pyrex
*.py setf python
*.pyw setf python
*.ptl setf python
*.rad setf radiance
*.mat setf radiance
.ratpoisonrc
setf ratpoison
ratpoisonrc
setf ratpoison
*\,v setf rcs
.inputrc setf readline
inputrc setf readline
*.reg if getline(1) =~? '^REGEDIT[0-9]*\s*$\|^Windows Registry
Editor Version \d*\.\d*\s*$' | setf registry | endif
*.rib setf rib
*.rexx setf rexx
*.rex setf rexx
*.jrexx setf rexx
*.rxj setf rexx
*.orx setf rexx
*.s setf r
*.S setf r
*.rd setf rhelp
*.Rd setf rhelp
*.Rnw setf rnoweb
*.rnw setf rnoweb
*.Snw setf rnoweb
*.snw setf rnoweb
*.r call s:FTr()
*.R call s:FTr()
.reminders*
call s:StarSetf('remind')
*.remind setf remind
*.rem setf remind
resolv.conf
setf resolv
*.rnc setf rnc
*.rpl setf rpl
robots.txt
setf robots
*.x setf rpcgen
*.rst setf rst
*.rtf setf rtf
.irbrc setf ruby
irbrc setf ruby
*.rb setf ruby
*.rbw setf ruby
*.gem setf ruby
*.gemspec setf ruby
*.builder setf ruby
*.rxml setf ruby
*.rjs setf ruby
[rR]antfile
setf ruby
*.rant setf ruby
[rR]akefile
setf ruby
*.rake setf ruby
*.sl setf slang
smb.conf setf samba
*.sas setf sas
*.sass setf sass
*.sa setf sather
*.sci setf scilab
*.sce setf scilab
*.scss setf scss
*.sd setf sd
*.sdl setf sdl
*.pr setf sdl
*.sed setf sed
*.siv setf sieve
sendmail.cf
setf sm
*.mc call s:McSetf()
/etc/services
setf services
/etc/slp.conf
setf slpconf
/etc/slp.reg
setf slpreg
/etc/slp.spi
setf slpspi
/etc/serial.conf
setf setserial
*.sgm if getline(1).getline(2).getline(3).getline(4).getline(5)
=~? 'linuxdoc' | setf sgmllnx | elseif getline(1) =~
'<!DOCTYPE.*DocBook' || getline(2) =~ '<!DOCTYPE.*DocBook' | let
b:docbk_type="sgml" | setf docbk | else | setf sgml | endif
*.sgml if getline(1).getline(2).getline(3).getline(4).getline(5)
=~? 'linuxdoc' | setf sgmllnx | elseif getline(1) =~
'<!DOCTYPE.*DocBook' || getline(2) =~ '<!DOCTYPE.*DocBook' | let
b:docbk_type="sgml" | setf docbk | else | setf sgml | endif
*.decl if getline(1).getline(2).getline(3) =~? '^<!SGML' |
setf sgmldecl | endif
*.dcl if getline(1).getline(2).getline(3) =~? '^<!SGML' |
setf sgmldecl | endif
*.dec if getline(1).getline(2).getline(3) =~? '^<!SGML' |
setf sgmldecl | endif
catalog setf catalog
sgml.catalog*
call s:StarSetf('catalog')
.bashrc* call SetFileTypeSH("bash")
bashrc call SetFileTypeSH("bash")
bash.bashrc
call SetFileTypeSH("bash")
.bash_profile*
call SetFileTypeSH("bash")
.bash_logout*
call SetFileTypeSH("bash")
*.bash call SetFileTypeSH("bash")
*.ebuild call SetFileTypeSH("bash")
.kshrc* call SetFileTypeSH("ksh")
*.ksh call SetFileTypeSH("ksh")
/etc/profile
call SetFileTypeSH(getline(1))
.profile* call SetFileTypeSH(getline(1))
*.sh call SetFileTypeSH(getline(1))
*.env call SetFileTypeSH(getline(1))
.tcshrc* call SetFileTypeShell("tcsh")
*.tcsh call SetFileTypeShell("tcsh")
tcsh.tcshrc
call SetFileTypeShell("tcsh")
tcsh.login
call SetFileTypeShell("tcsh")
.login* call s:CSH()
.cshrc* call s:CSH()
csh.cshrc call s:CSH()
csh.login call s:CSH()
csh.logout
call s:CSH()
*.csh call s:CSH()
.alias call s:CSH()
.zprofile setf zsh
/etc/zprofile
setf zsh
.zfbfmarks
setf zsh
.zsh* call s:StarSetf('zsh')
.zlog* call s:StarSetf('zsh')
.zcompdump*
call s:StarSetf('zsh')
*.zsh setf zsh
*.scm setf scheme
*.ss setf scheme
.screenrc setf screen
screenrc setf screen
*.sim setf simula
*.sin setf sinda
*.s85 setf sinda
*.sst setf sisu
*.ssm setf sisu
*.ssi setf sisu
*.-sst setf sisu
*._sst setf sisu
*.sst.meta
setf sisu
*.-sst.meta
setf sisu
*._sst.meta
setf sisu
*.il setf skill
*.ils setf skill
*.cdf setf skill
.slrnrc setf slrnrc
*.score setf slrnsc
*.st setf st
*.cls if getline(1) =~ '^%' | setf tex | else | setf st | endif
*.tpl setf smarty
*.smil if getline(1) =~ '<?\s*xml.*?>' | setf xml | else |
setf smil | endif
*.smi if getline(1) =~ '\<smil\>' | setf smil | else | setf
mib | endif
*.smt setf smith
*.smith setf smith
*.sno setf snobol4
*.spt setf snobol4
*.mib setf mib
*.my setf mib
*.hog setf hog
snort.conf
setf hog
vision.conf
setf hog
*.rules call s:FTRules()
*.spec setf spec
*.speedup setf spup
*.spdata setf spup
*.spd setf spup
*.ice setf slice
*.sp setf spice
*.spice setf spice
*.spy setf spyce
*.spi setf spyce
squid.conf
setf squid
*.tyb setf sql
*.typ setf sql
*.tyc setf sql
*.pkb setf sql
*.pks setf sql
*.sql call s:SQL()
*.sqlj setf sqlj
*.sqr setf sqr
*.sqi setf sqr
ssh_config
setf sshconfig
*/.ssh/config
setf sshconfig
sshd_config
setf sshdconfig
*.ado setf stata
*.class setf stata
*.do setf stata
*.imata setf stata
*.mata setf stata
*.hlp setf smcl
*.ihlp setf smcl
*.smcl setf smcl
*.stp setf stp
*.sml setf sml
*.cm setf voscm
/etc/sysctl.conf
setf sysctl
*.sdc setf sdc
/etc/sudoers
setf sudoers
sudoers.tmp
setf sudoers
*.svg setf svg
*.t if !s:FTnroff() && !s:FTperl() | setf tads | endif
tags setf tags
*.tak setf tak
{pending,completed,undo}.data
setf taskdata
*.task setf taskedit
*.tcl setf tcl
*.tk setf tcl
*.itcl setf tcl
*.itk setf tcl
*.jacl setf tcl
*.tli setf tli
*.slt setf tsalt
*.ti setf terminfo
*.latex setf tex
*.sty setf tex
*.dtx setf tex
*.ltx setf tex
*.bbl setf tex
*.tex call s:FTtex()
tex/context/*/*.tex
setf context
*.mkii setf context
*.mkiv setf context
*.texinfo setf texinfo
*.texi setf texinfo
*.txi setf texinfo
texmf.cnf setf texmf
.tidyrc setf tidy
tidyrc setf tidy
*.tf setf tf
.tfrc setf tf
tfrc setf tf
*.tpp setf tpp
trustees.conf
setf trustees
*.tssgm setf tssgm
*.tssop setf tssop
*.tsscl setf tsscl
*.uit setf uil
*.uil setf uil
/etc/udev/udev.conf
setf udevconf
/etc/udev/permissions.d/*.permissions
setf udevperm
/etc/udev/cdsymlinks.conf
setf sh
*.uc setf uc
/etc/updatedb.conf
setf updatedb
*.vr setf vera
*.vri setf vera
*.vrh setf vera
*.v setf verilog
*.va setf verilogams
*.vams setf verilogams
*.hdl setf vhdl
*.vhd setf vhdl
*.vhdl setf vhdl
*.vbe setf vhdl
*.vst setf vhdl
*.vhdl_[0-9]*
call s:StarSetf('vhdl')
*.vim setf vim
*.vba setf vim
.exrc setf vim
_exrc setf vim
.viminfo setf viminfo
_viminfo setf viminfo
*.hw if getline(1) =~ '<?php' | setf php | else | setf
virata | endif
*.module if getline(1) =~ '<?php' | setf php | else | setf
virata | endif
*.pkg if getline(1) =~ '<?php' | setf php | else | setf
virata | endif
*.frm call s:FTVB("form")
*.sba setf vb
vgrindefs setf vgrindefs
*.wrl setf vrml
*.wm setf webmacro
.wgetrc setf wget
wgetrc setf wget
*.wml setf wml
*.wbt setf winbatch
*.wsml setf wsml
wvdial.conf
setf wvdial
.wvdialrc setf wvdial
.cvsrc setf cvsrc
cvs\d\+ setf cvs
*.web if
getline(1)[0].getline(2)[0].getline(3)[0].getline(4)[0].getline(5)[0] =~
"%" | setf web | else | setf winbatch | endif
*.ws[fc] setf wsh
*.xhtml setf xhtml
*.xht setf xhtml
XF86Config
if getline(1) =~ '\<XConfigurator\>' | let
b:xf86c_xfree86_version = 3 | endif | setf xf86conf
xorg.conf let b:xf86c_xfree86_version = 4 | setf xf86conf
xorg.conf-4
let b:xf86c_xfree86_version = 4 | setf xf86conf
/etc/xinetd.conf
setf xinetd
*.xs setf xs
.Xdefaults
setf xdefaults
.Xpdefaults
setf xdefaults
.Xresources
setf xdefaults
xdm-config
setf xdefaults
*.ad setf xdefaults
*.msc setf xmath
*.msf setf xmath
*.ms if !s:FTnroff() | setf xmath | endif
*.xml call s:FTxml()
*.xmi setf xml
*.csproj setf xml
*.csproj.user
setf xml
*.ts setf xml
*.ui setf xml
*.tpm setf xml
/etc/xdg/menus/*.menu
setf xml
fglrxrc setf xml
*.xlf setf xml
*.xliff setf xml
*Xmodmap setf xmodmap
*.xq setf xquery
*.xql setf xquery
*.xqm setf xquery
*.xquery setf xquery
*.xqy setf xquery
*.xsd setf xsd
*.xsl setf xslt
*.xslt setf xslt
*.yy setf yacc
*.y call s:FTy()
*.yaml setf yaml
*.yml setf yaml
*.dtml call s:FThtml()
*.pt call s:FThtml()
*.cpt call s:FThtml()
*.zsql call s:SQL()
*.z8a setf z8a
* if !did_filetype() && expand("<amatch>") !~
g:ft_ignore_pat | runtime! scripts.vim | endif
/etc/apache2/conf.*/*
call s:StarSetf('apache')
/etc/apache2/sites-*/*
call s:StarSetf('apache')
/etc/apache2/mods-*/*
call s:StarSetf('apache')
*asterisk/*.conf*
call s:StarSetf('asterisk')
*asterisk*/*voicemail.conf*
call s:StarSetf('asteriskvm')
bzr_log.* setf bzr
*/named/db.*
call s:StarSetf('bindzone')
*/bind/db.*
call s:StarSetf('bindzone')
[cC]hange[lL]og*
if getline(1) =~ '; urgency='| call
s:StarSetf('debchangelog')|else| call s:StarSetf('changelog')|endif
crontab call s:StarSetf('crontab')
crontab.* call s:StarSetf('crontab')
/etc/cron.d/*
call s:StarSetf('crontab')
/etc/apt/sources.list.d/*
call s:StarSetf('debsources')
drac.* call s:StarSetf('dracula')
*/.fvwm/* call s:StarSetf('fvwm')
*fvwmrc* let b:fvwm_version = 1 | call s:StarSetf('fvwm')
*fvwm95*.hook
let b:fvwm_version = 1 | call s:StarSetf('fvwm')
*fvwm2rc* if expand("<afile>:e") == "m4"| call
s:StarSetf('fvwm2m4')|else| let b:fvwm_version = 2 | call
s:StarSetf('fvwm')|endif
/tmp/lltmp*
call s:StarSetf('gedcom')
.gtkrc* call s:StarSetf('gtkrc')
gtkrc* call s:StarSetf('gtkrc')
Prl*.* call s:StarSetf('jam')
JAM*.* call s:StarSetf('jam')
*jarg* if getline(1).getline(2).getline(3).getline(4).getline(5)
=~? 'THIS IS THE JARGON FILE'| call s:StarSetf('jargon')|endif
Kconfig.* call s:StarSetf('kconfig')
/etc/logcheck/*.d*/*
call s:StarSetf('logcheck')
[mM]akefile*
call s:StarSetf('make')
[rR]akefile*
call s:StarSetf('ruby')
mutt[[:alnum:]._-]\{6\}
setf mail
/etc/modprobe.*
call s:StarSetf('modconf')
.mutt{ng,}rc*
call s:StarSetf('muttrc')
*/.mutt{ng,}/mutt{ng,}rc*
call s:StarSetf('muttrc')
mutt{ng,}rc*
call s:StarSetf('muttrc')
Mutt{ng,}rc*
call s:StarSetf('muttrc')
tmac.* call s:StarSetf('nroff')
/etc/pam.d/*
call s:StarSetf('pamconf')
*printcap*
if !did_filetype()| let b:ptcap_type = "print" | call
s:StarSetf('ptcap')|endif
*termcap* if !did_filetype()| let b:ptcap_type = "term" | call
s:StarSetf('ptcap')|endif
*vimrc* call s:StarSetf('vim')
svn-commit*.tmp
setf svn
Xresources*
call s:StarSetf('xdefaults')
*/app-defaults/*
call s:StarSetf('xdefaults')
*/Xresources/*
call s:StarSetf('xdefaults')
XF86Config-4*
let b:xf86c_xfree86_version = 4 | call s:StarSetf('xf86conf')
XF86Config*
if getline(1) =~ '\<XConfigurator\>'| let
b:xf86c_xfree86_version = 3|endif|call s:StarSetf('xf86conf')
*xmodmap* call s:StarSetf('xmodmap')
/etc/xinetd.d/*
call s:StarSetf('xinetd')
zsh* call s:StarSetf('zsh')
zlog* call s:StarSetf('zsh')
ftdetect_csv BufRead
*.csv set filetype=csv
*.dat set filetype=csv
*.tsv set filetype=csv
*.tab set filetype=csv
BufRead
*.mkd set filetype=mkd
*.markdown
set filetype=mkd
*.mdwn set filetype=mkd
*.asciidoc
setfiletype=asciidoc2
README setfiletype=asciidoc2
TODO setfiletype=asciidoc2
CHANGELOG setfiletype=asciidoc2
NOTES setfiletype=asciidoc2
*.txt call s:FTasciidoc()
*.log call s:FTlog()
taskpaper BufRead
*.taskpaper
setfiletype taskpaper
BufRead
*.asciidoc
setfiletype asciidoc
*.txt setfiletype asciidoc
README setfiletype asciidoc
TODO setfiletype asciidoc
CHANGELOG setfiletype asciidoc
NOTES setfiletype asciidoc
* if !did_filetype() && expand("<amatch>") !~
g:ft_ignore_pat && (getline(1) =~ '^#' || getline(2) =~ '^#' ||
getline(3) =~ '^#'^I|| getline(4) =~ '^#' || getline(5) =~ '^#') |
setf conf | endif
*.doc %!antiword "%"
*.rtf %!catdoc -w "%"
*.*html %!html2text "%"
*.*htm %!html2text "%"
*.*pdf %!pdftotext "%" -
*.*ps %!ps2txt "%"
PluginEasyTags BufRead
* unlet! b:easytags_last_highlighted
BufRead
* call s:MRU_AddFile(expand('<abuf>'))
*.pl call Perl_HighlightJumpTargets()
*.pm call Perl_HighlightJumpTargets()
*.t call Perl_HighlightJumpTargets()
*.pod set filetype=perl
*.t set filetype=perl
quickfix setlocal wrap | setlocal linebreak
vimwiki BufRead
*.wiki call s:setup_filetype()
gzip BufRead
*.gz call gzip#read("gzip -dn")
*.bz2 call gzip#read("bzip2 -d")
*.Z call gzip#read("uncompress")
*.lzma call gzip#read("lzma -d")
*.xz call gzip#read("xz -d")
BufReadPre
*.doc set ro
set hlsearch!
*.rtf set ro
set hlsearch!
*.*html set ro
set hlsearch!
*.*htm set ro
set hlsearch!
gzip BufReadPre
*.gz setlocal bin
*.bz2 setlocal bin
*.Z setlocal bin
*.lzma setlocal bin
*.xz setlocal bin
Network BufReadCmd
file://* call netrw#FileUrlRead(expand("<amatch>"))
ftp://* exe "silent doau BufReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost
".fnameescape(expand("<amatch>"))
rcp://* exe "silent doau BufReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost
".fnameescape(expand("<amatch>"))
scp://* exe "silent doau BufReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost
".fnameescape(expand("<amatch>"))
http://* exe "silent doau BufReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost
".fnameescape(expand("<amatch>"))
https://* exe "silent doau BufReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost
".fnameescape(expand("<amatch>"))
dav://* exe "silent doau BufReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost
".fnameescape(expand("<amatch>"))
davs://* exe "silent doau BufReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost
".fnameescape(expand("<amatch>"))
rsync://* exe "silent doau BufReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost
".fnameescape(expand("<amatch>"))
sftp://* exe "silent doau BufReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(2,expand("<amatch>"))|exe "silent doau BufReadPost
".fnameescape(expand("<amatch>"))
tar BufReadCmd
tarfile::*
call tar#Read(expand("<amatch>"), 1)
tarfile::*/*
call tar#Read(expand("<amatch>"), 1)
*.tar.gz call tar#Browse(expand("<amatch>"))
*.tar call tar#Browse(expand("<amatch>"))
*.lrp call tar#Browse(expand("<amatch>"))
*.tar.bz2 call tar#Browse(expand("<amatch>"))
*.tar.Z call tar#Browse(expand("<amatch>"))
*.tgz call tar#Browse(expand("<amatch>"))
*.tar.lzma
call tar#Browse(expand("<amatch>"))
*.tar.xz call tar#Browse(expand("<amatch>"))
*.txz call tar#Browse(expand("<amatch>"))
zip BufReadCmd
zipfile:* call zip#Read(expand("<amatch>"), 1)
zipfile:*/*
call zip#Read(expand("<amatch>"), 1)
*.zip call zip#Browse(expand("<amatch>"))
*.jar call zip#Browse(expand("<amatch>"))
*.xpi call zip#Browse(expand("<amatch>"))
*.war call zip#Browse(expand("<amatch>"))
*.ear call zip#Browse(expand("<amatch>"))
viki BufUnload
* if &filetype == 'viki' | call viki#SaveCache() | endif
vimwiki BufHidden
*.wiki call s:setup_buffer_leave()
utl_highl BufWinEnter
* syn case ignore
hi link UtlUrl Underlined
syn region UtlUrl matchgroup=UtlTag start="<URL:" end=">"
containedin=ALL
syn region UtlUrl matchgroup=UtlTag start="<LNK:" end=">"
containedin=ALL
utl*.vim hi link UtlTrace Comment
syn region UtlTrace matchgroup=UtlTrace start="call
Utl_trace" end=")" containedin=ALL
* syn case match
vimwiki BufWinEnter
*.wiki call s:setup_buffer_enter()
BufExplorer BufWinEnter
\[BufExplorer\]
call s:BEInitialize()
BufExplorer BufWinLeave
\[BufExplorer\]
call s:BECleanup()
fuf#buffer BufWritePost
* call s:updateBufTimes()
BufWritePost
* call s:MRU_AddFile(expand('<abuf>'))
viki BufWritePost
* if &filetype == 'viki' | call viki#SaveCache() | endif
gzip BufWritePost
*.gz call gzip#write("gzip")
*.bz2 call gzip#write("bzip2")
*.Z call gzip#write("compress -f")
*.lzma call gzip#write("lzma -z")
*.xz call gzip#write("xz -z")
Network BufWriteCmd
ftp://* exe "silent doau BufWritePre
".fnameescape(expand("<amatch>"))|exe 'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau BufWritePost
".fnameescape(expand("<amatch>"))
rcp://* exe "silent doau BufWritePre
".fnameescape(expand("<amatch>"))|exe 'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau BufWritePost
".fnameescape(expand("<amatch>"))
scp://* exe "silent doau BufWritePre
".fnameescape(expand("<amatch>"))|exe 'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau BufWritePost
".fnameescape(expand("<amatch>"))
dav://* exe "silent doau BufWritePre
".fnameescape(expand("<amatch>"))|exe 'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau BufWritePost
".fnameescape(expand("<amatch>"))
davs://* exe "silent doau BufWritePre
".fnameescape(expand("<amatch>"))|exe 'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau BufWritePost
".fnameescape(expand("<amatch>"))
rsync://* exe "silent doau BufWritePre
".fnameescape(expand("<amatch>"))|exe 'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau BufWritePost
".fnameescape(expand("<amatch>"))
sftp://* exe "silent doau BufWritePre
".fnameescape(expand("<amatch>"))|exe 'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau BufWritePost
".fnameescape(expand("<amatch>"))
tar BufWriteCmd
tarfile::*
call tar#Write(expand("<amatch>"))
tarfile::*/*
call tar#Write(expand("<amatch>"))
zip BufWriteCmd
zipfile:* call zip#Write(expand("<amatch>"))
zipfile:*/*
call zip#Write(expand("<amatch>"))
EasyMotionInitHL ColorScheme
* call s:InitHL(s:hl_group_target, s:target_hl_defaults)
call s:InitHL(s:hl_group_shade, s:shade_hl_defaults)
ColorScheme
* call <SID>DefaultHighlightings()
viki ColorScheme
* if &filetype == 'viki' | set filetype=viki | endif
vimwiki ColorScheme
*.wiki syntax enable | call vimwiki#base#highlight_links()
gzip FileAppendPost
*.gz call gzip#write("gzip")
*.bz2 call gzip#write("bzip2")
*.Z call gzip#write("compress -f")
*.lzma call gzip#write("lzma -z")
*.xz call gzip#write("xz -z")
gzip FileAppendPre
*.gz call gzip#appre("gzip -dn")
*.bz2 call gzip#appre("bzip2 -d")
*.Z call gzip#appre("uncompress")
*.lzma call gzip#appre("lzma -d")
*.xz call gzip#appre("xz -d")
FileReadPost
*.doc %!antiword "%"
*.rtf %!catdoc -w "%"
*.*html %!html2text "%"
*.*htm %!html2text "%"
*.*pdf %!pdftotext "%" -
*.*ps %!ps2txt "%"
gzip FileReadPost
*.gz call gzip#read("gzip -dn")
*.bz2 call gzip#read("bzip2 -d")
*.Z call gzip#read("uncompress")
*.lzma call gzip#read("lzma -d")
*.xz call gzip#read("xz -d")
FileReadPre
*.doc set ro
*.rtf set ro
*.*html set ro
set hlsearch!
*.*htm set ro
set hlsearch!
gzip FileReadPre
*.gz setlocal bin
*.bz2 setlocal bin
*.Z setlocal bin
*.lzma setlocal bin
*.xz setlocal bin
Network FileReadCmd
ftp://* exe "silent doau FileReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost
".fnameescape(expand("<amatch>"))
rcp://* exe "silent doau FileReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost
".fnameescape(expand("<amatch>"))
scp://* exe "silent doau FileReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost
".fnameescape(expand("<amatch>"))
http://* exe "silent doau FileReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost
".fnameescape(expand("<amatch>"))
https://* exe "silent doau FileReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost
".fnameescape(expand("<amatch>"))
dav://* exe "silent doau FileReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost
".fnameescape(expand("<amatch>"))
davs://* exe "silent doau FileReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost
".fnameescape(expand("<amatch>"))
rsync://* exe "silent doau FileReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost
".fnameescape(expand("<amatch>"))
sftp://* exe "silent doau FileReadPre
".fnameescape(expand("<amatch>"))|call
netrw#Nread(1,expand("<amatch>"))|exe "silent doau FileReadPost
".fnameescape(expand("<amatch>"))
tar FileReadCmd
tarfile::*
call tar#Read(expand("<amatch>"), 0)
tarfile::*/*
call tar#Read(expand("<amatch>"), 0)
zip FileReadCmd
zipfile:* call zip#Read(expand("<amatch>"), 0)
zipfile:*/*
call zip#Read(expand("<amatch>"), 0)
syntaxset FileType
* exe "set syntax=" . expand("<amatch>")
filetypeplugin FileType
* call s:LoadFTPlugin()
filetypeindent FileType
* call s:LoadIndent()
gzip FileWritePost
*.gz call gzip#write("gzip")
*.bz2 call gzip#write("bzip2")
*.Z call gzip#write("compress -f")
*.lzma call gzip#write("lzma -z")
*.xz call gzip#write("xz -z")
Network FileWriteCmd
ftp://* exe "silent doau FileWritePre
".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau FileWritePost
".fnameescape(expand("<amatch>"))
rcp://* exe "silent doau FileWritePre
".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau FileWritePost
".fnameescape(expand("<amatch>"))
scp://* exe "silent doau FileWritePre
".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau FileWritePost
".fnameescape(expand("<amatch>"))
dav://* exe "silent doau FileWritePre
".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau FileWritePost
".fnameescape(expand("<amatch>"))
davs://* exe "silent doau FileWritePre
".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau FileWritePost
".fnameescape(expand("<amatch>"))
rsync://* exe "silent doau FileWritePre
".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau FileWritePost
".fnameescape(expand("<amatch>"))
sftp://* exe "silent doau FileWritePre
".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite
'.fnameescape(expand("<amatch>"))|exe "silent doau FileWritePost
".fnameescape(expand("<amatch>"))
tar FileWriteCmd
tarfile::*
call tar#Write(expand("<amatch>"))
tarfile::*/*
call tar#Write(expand("<amatch>"))
zip FileWriteCmd
zipfile:* call zip#Write(expand("<amatch>"))
zipfile:*/*
call zip#Write(expand("<amatch>"))
vimwiki InsertEnter
*.wiki call vimwiki#tbl#reset_tw(line("."))
supertab_retain InsertLeave
* call s:SetDefaultCompletionType()
vimwiki InsertLeave
*.wiki call vimwiki#tbl#format(line("."))
QuickFixCmdPost
*vimgrep* let s:mru_list_locked = 0
QuickFixCmdPre
*vimgrep* let s:mru_list_locked = 1
BufExplorer SessionLoadPost
* call s:BEReset()
filetypedetect StdinReadPost
* if !did_filetype() | runtime! scripts.vim | endif
StdinReadPost
* if !did_filetype() && expand("<amatch>") !~
g:ft_ignore_pat && (getline(1) =~ '^#' || getline(2) =~ '^#' ||
getline(3) =~ '^#'^I|| getline(4) =~ '^#' || getline(5) =~ '^#') |
setf conf | endif
Syntax
* call s:SynSet()
c if (exists('b:load_doxygen_syntax') &&
b:load_doxygen_syntax)^I|| (exists('g:load_doxygen_syntax') &&
g:load_doxygen_syntax) | runtime! syntax/doxygen.vim | endif
cpp if (exists('b:load_doxygen_syntax') &&
b:load_doxygen_syntax)^I|| (exists('g:load_doxygen_syntax') &&
g:load_doxygen_syntax) | runtime! syntax/doxygen.vim | endif
cs if (exists('b:load_doxygen_syntax') &&
b:load_doxygen_syntax)^I|| (exists('g:load_doxygen_syntax') &&
g:load_doxygen_syntax) | runtime! syntax/doxygen.vim | endif
idl if (exists('b:load_doxygen_syntax') &&
b:load_doxygen_syntax)^I|| (exists('g:load_doxygen_syntax') &&
g:load_doxygen_syntax) | runtime! syntax/doxygen.vim | endif
VimEnter
* call TabPos_Initialize()
BufExplorerVimEnter VimEnter
* call s:BESetup()
PluginEasyTags VimEnter
* call xolox#easytags#register(1)
FileExplorer VimEnter
* sil! call s:VimEnter(expand("<amatch>"))
VimLeave
* call ZoomWin#CleanupSessionFile()
sessionman VimLeavePre
* if sessionman_save_on_exit && v:this_session != '' | call
s:SaveSession() | endif
viki VimLeavePre
* let g:viki#quit = 1
TabLabelNameAU WinEnter
* call s:TabWinEnter()
matchparen WinEnter
* call s:Highlight_Matching_Pair()
PluginEasyTags CursorHold
* call xolox#easytags#autoload( 'CursorHold' )
PluginEasyTags CursorHoldI
* call xolox#easytags#autoload( 'CursorHoldI' )
FuncUndefined
*87_Tlist_*
source /home/ping/.vim/plugin/taglist.vim
*87_Tlist_Window_*
source /home/ping/.vim/plugin/taglist.vim
*87_Tlist_Menu_*
source /home/ping/.vim/plugin/taglist.vim
Tlist_* source /home/ping/.vim/plugin/taglist.vim
TagList_* source /home/ping/.vim/plugin/taglist.vim
Voom_* source /home/ping/.vim/plugin/voom.vim
Network SourceCmd
ftp://* exe 'Nsource '.fnameescape(expand("<amatch>"))
rcp://* exe 'Nsource '.fnameescape(expand("<amatch>"))
scp://* exe 'Nsource '.fnameescape(expand("<amatch>"))
http://* exe 'Nsource '.fnameescape(expand("<amatch>"))
https://* exe 'Nsource '.fnameescape(expand("<amatch>"))
dav://* exe 'Nsource '.fnameescape(expand("<amatch>"))
davs://* exe 'Nsource '.fnameescape(expand("<amatch>"))
rsync://* exe 'Nsource '.fnameescape(expand("<amatch>"))
sftp://* exe 'Nsource '.fnameescape(expand("<amatch>"))
SourceCmd
*.vba.gz call vimball#Decompress(expand("<amatch>"))|call
vimball#Vimball(1)
*.vba.bz2 call vimball#Decompress(expand("<amatch>"))|call
vimball#Vimball(1)
*.vba.zip call vimball#Decompress(expand("<amatch>"))|call
vimball#Vimball(1)
SpellFileMissing
* call spellfile#LoadFile(expand('<amatch>'))
matchparen CursorMoved
* call s:Highlight_Matching_Pair()
matchparen CursorMovedI
* call s:Highlight_Matching_Pair()
BufExplorer TabEnter
* call s:BETabEnter()

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php