Transcription of Notes on vim

Nothing too important in here...


The 7 habits of effective text editing...

Bram’s presentation slides


EasyAccent to the rescue...

This gizmo lets me type diacritics in vim.

How to set it up

Download from http://vim.sourceforge.net/scripts/script.php?script_id=451.

Where do I drop this script (EasyAccents.vim) in order for it to be in effect (/home/russ/? c:\Documents and Settings\russ\My Documents?) and how do I set g:EasyAccents_VowelFirst to zero?

Bring up vim; type...

	:echo &rtp

...and you’ll see a comma-delimited list of directories. Pick one, preferably not a system one (i.e.: not where vim stores its plugins), and create a subdirectory, /plugin. Put the EasyAccents script in there. You can read more about this using:

	:help 'rtp'

Now for the second question: again, while in vim do:

	:echo $HOME

You should place in the directory so displayed the .vimrc (_vimrc) file. Within it, have the following lines in effect...

	set nocp
	filetype plugin on
	let g:EasyAccents_VowelFirst = 0

How to use it

It’s easy to toggle on and off, just type:

	\eza

Merely type a vowel after any of the following:

	`    (grave)
	'    (acute)
	^    (circumflex)
	:    (dieresis/umlaut)

...or a comma (,) followed by c or C for ç or Ç; and b or B for ß.

For remaining diacritics like ñ and å, you must do this instead...

	let g:EasyAccents_VowelFirst = 1

...and type the vowel followed by the accent...

	n~
	a@
	etc.


Copy using mouse...

Use mouse to select a block and press y.


Find word under cursor...

Use # to find the word under the cursor going backward. * will find the next occurrance of the word under the cursor.