File: README

package info (click to toggle)
aft 2%3A5.098-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 616 kB
  • sloc: perl: 1,599; sh: 439; makefile: 105
file content (21 lines) | stat: -rw-r--r-- 893 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"Author: David Bourgeois: dbourgeo@thezone.net
"Located: http://home.thezone.net/~dbourgeo/

"Here is an example like what I have in my vimrc (really .vimrc) to use aft
"abbreviations (you can add functions as well). Actually, I have a couple of
"different file types, and I also separate out the BufEnter and BufNewFile to
"use different rc files (separate lines), as for some filetypes I do different
"things for a new file (run scripts to initialize it). You can use pretty
"complete regular expressions here.

" D.B. Sat Feb 16 15:52:01 NST 2002
" Autocommands for various filetypes. Right now, its aft.
autocmd BufEnter,BufNewFile *.aft ~/.vim/aftrc
autocmd BufLeave *.aft ~/.vim/noaftrc

"Files included:
"aft.vim:         aft syntax file
"aftrc:           aft abbreviations
"noaftrc:         undo those abbreviations
"syntax-demo.aft: demo
"syntax-demo.jpg: screenshot of vim in action