Here's what I'm using now (I have't memorized
all of them yet but the more commom ones
come naturally):
" Text abbreviations
iab A and
iab b but
iab c can
iab e end
iab d do
iab f for
iab g go
iab h he
iab i is
iab k keep
iab n not
iab o or
iab p put
iab r are
iab s so
iab t the
iab u use
iab w with
iab y you
"long abreviations
iab eg e.g.,
iab fr from
iab hm him
iab hr here
iab hs his
iab hw how
iab hv have
iab jn join
iab kp keep
iab ie i.e.,
iab lk like
iab ls less
iab mo most
iab mr more
iab mu must
iab nw now
iab qt quote
iab qs question
iab sm some
iab ta than
iab tt that
iab tn then
iab tr there
iab tir their
iab ti this
iab tg thing
iab tto those
iab ts these
iab tx text
iab ty they
iab ud under
iab vt vote
iab wt what
iab wn when
iab wr where
iab wer were
iab wi which
iab wl will
iab wr were
iab wo without
iab yr your
iab hwv however
iab trf therefore
iab comm communicate
iab comms communicates
iab commt communication
"contractions
iab dn don't
iab arn aren't
iab tal that'll
iab tyl they'll
iab wln won't
"two worded:
iab fv forever
iab hms himself
iab smo someone
iab smt something
iab smw somewhere
iab uds understand
iab tcomm telecommunicate
iab tcommt telecommunication
iab wtv whatever
iab wnv whenever
iab wrv wherever
iab wiv whichever
iab yrs yourself
Also, I have a little trouble when editing. Say, I
go in to make a correction and replace a "t", well,
when I do it the "t" is expanded to "the", and
the "t" may have been in something like "rat" so
that rat gets expanded to rathe. Anyway, that's
a more minor problem, right now I'd like to develop
a good abbreviation system, because it really does
save a lot of keystrokes when you do a lot of writing.
Something to help write html would also be nice.
Thanks,
-Tony
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
: o...@crl.com : http://www.crl.com/~oak : Southern California :
: . . . . . . : . . . . . . . . . . . . . : . . . . . . . . . . . . :
No one knows what you type better than you do, so and these things
are very much dependent on user preference and typing patterns.
>Here's what I'm using now (I have't memorized
>all of them yet but the more commom ones
>come naturally):
If you have to work to think about them, your are probably ill
advised to be using them.
>Something to help write html would also be nice.
Vim comes with a large collection of macros for that. I and a
number of others have the collection in out web sites. Mine is
at: <URL:http://www.netusa.net/~eli/src/vim.html>.
Elijah
------
hasn't tried the abbreviation thing since he used Modula-3
[...]
[abbreviation "t=the"]
: No - abbreviations are expanded only for complete words, ie
: only when you type the abbreviation as a complete word.
:
: Replacing one character with 't' using "rt" does not count as a word,
: thus it won't get expanded. Using "c t ", however, will change the
: current character to a 't' *and* start the input, so you have entered the
: abbreviating word 't' which *will* get expanded. See?
Correct. The problem I run into more often is when I INSERT a character.
ra # Keystrokes "at" then "esc"
rathe # Will expand to this.
:
: > I'd like to develop a good abbreviation system, because it
: > really does save a lot of keystrokes when you do a lot of writing.
:
: Well, you need a prefix code (actually, "prefix free code").
Currently I put abbreviations in vimrc.
I'm not sure what you mean by prefix code.
: But this depends on the words you use "often". Threfeore you need to
: take a look at your texts and determine the words you use most often.
: Without knowledge about the use of words this is impossible, though.
I've got the words, at least I have a good start - I'm building on
these words slowly.
Thanks!
-Tony
. . . . . . . . . . . . ._______________________________________.
| o...@crl.com | http://www.crl.com/~oak |
|_____________|___ Southern California _|
No - abbreviations are expanded only for complete words, ie
only when you type the abbreviation as a complete word.
Replacing one character with 't' using "rt" does not count as a word,
thus it won't get expanded. Using "c t ", however, will change the
current character to a 't' *and* start the input, so you have entered the
abbreviating word 't' which *will* get expanded. See?
> I'd like to develop a good abbreviation system, because it
> really does save a lot of keystrokes when you do a lot of writing.
Well, you need a prefix code (actually, "prefix free code").
But this depends on the words you use "often". Threfeore you need to
take a look at your texts and determine the words you use most often.
Without knowledge about the use of words this is impossible, though.
Sven