my desire
Debian etch by default providing the nano editor as an editor.
But since i’m more familiar with vim rather than with nano i change its default editor.
After googling, i found the simples way
As a root (administrator), it just only executing one command
debsux:~# update-alternatives –config editor
There are 3 alternatives which provide `editor’.
Selection Alternative
———————————————–
1 /bin/ed
*+ 2 /bin/nano
3 /usr/bin/vim.tinyPress enter to keep the default[*], or type selection number: 3
Using `/usr/bin/vim.tiny’ to provide `editor’.
debsux:~#
But if only as a user and want to changing the default editor just define the environment variable EDITOR.
Give the following lines in profiles
EDITOR=vi
export EDITOR
alias editor=$EDITOR
dear god please help me – Morrissey, Ring leader of the tormentors
I am walking through Rome
With my heart on a string
Dear God, please help meAnd I am so very tired
Of doing the right thing
Dear God, please help me There are explosive kegs
Between my legs
Dear God, please help me
Will you follow and know
Know me more than you do
Track me down
And try to win me?
Then he motions to me
With his hand on my knee
Dear God, did this kind of thing happen to you?
Now I’m spreading your legs
With mine in-between
Dear God, if I could I would help you
And now I am walking through Rome
And there is no room to move
But the heart feels free
The heart feels free
The heart feels free
But the heart… feels free
The heart feels free
The heart feels free
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Mar | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||