View previous topic :: View next topic |
Author |
Message |
shallpion Guru
Joined: 29 Sep 2008 Posts: 331
|
Posted: Sat May 14, 2011 5:29 am Post subject: default editor in eselect editor [solved] |
|
|
Hi. Thanks for reading. I just tried to change the default editor of ebuild from nano to vim. After some search I learned the best way to do this is to use
Quote: | eselect editor show/list/set
|
but I found that vim is not among the list
Quote: |
Available targets for the EDITOR variable:
[1] /bin/nano
[2] /bin/ed
[3] /usr/bin/emacs
[4] /usr/bin/ex
[5] /usr/bin/vi
[ ] (free form)
|
Is it possible to add vim to this list? Thank you
Last edited by shallpion on Sat May 14, 2011 5:42 am; edited 1 time in total |
|
Back to top |
|
|
skellr l33t
Joined: 18 Jun 2005 Posts: 975 Location: The Village, Portmeirion
|
Posted: Sat May 14, 2011 5:33 am Post subject: |
|
|
Sure,
Select vi and then:
edit: eselect editor set /usr/bin/vim |
|
Back to top |
|
|
shallpion Guru
Joined: 29 Sep 2008 Posts: 331
|
Posted: Sat May 14, 2011 5:42 am Post subject: |
|
|
thank you |
|
Back to top |
|
|
|