After a long time I got the urge to code something for our bellowed Commodore 64. Since it’s a pain to do it on a real machine, it takes a lot of time to set everything up since I do not have permanent location for my C64 in the apartment.
To check which editor is set as default in your Debian distro you can do two things:
- in your favorite shell press CTRL+X+CTRL+E which will launch your default editor or
- use command update-alternatives –list-editor to list installed editors and you can expect result similar like this one:
# update-alternatives --list editor /bin/nano /usr/bin/mcedit /usr/bin/vim.basic
To set for example vim.basic as your default editor you can use following command:
# update-alternatives --set editor /usr/bin/vim.basic update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in manual mode
Now if you again quick launch your editor with CTRL+X+CTRL+E you will notice that vim is invoked.