a question about vi editor
Hello guys,
I recently installed two systems - one RHEL 6.3 and Debian 7. When I open text files with VI in RHEL I manage to navigate with the arrows, but when I try the in Debian it doesn't work, instead I need to use the letters [hjkl]. is there a difference between the versions? Is there any way I can make it work like in my RHEL distribution? Thanks in advance |
install vim on Debian.
|
Yes the default vi on debian is "tiny" and does not have full set of features. You could try emacs (!!??).
|
I am sure there is a command which advises what you are running when you type "vi". Like I am pretty sure under fedora I am actually running "vim" so there must be a mechanism (directory listing, alias, environment) which can confirm this.
|
Some distros alias "vi" to "vim," so, when you enter the "vi" command, "vim" is what actually runs, even though vi might be present on the hard drive.
|
Quote:
Code:
readlink -f $(which vi) jlinkels |
Quote:
Quote:
Quote:
Cheers |
All times are GMT -5. The time now is 08:03 PM. |