1) touch file1
2) vi file1
3) press "i" on keyboard
4) press keyboard arrows (up/down/left/right). Letters A->D should start to appear.
do the same, but in step 2) use "vim" in place of "vi". Problem goes away. confused! (Elyssa btw)
is "vi" retarded?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 2
- Posts: 52
- Joined: Sun Nov 25, 2007 6:40 pm
- Location: Brisbane, Australia
- Contact:
is "vi" retarded?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: is "vi" retarded?
Hi !
To move around use the h,j,k,l keys when not in insert mode.
I've been using vi for over 20 years without a problem ... you're just suffering from lack of "vi" experience
Mike.
Vi isn't retarded at all, it is an extremely powerful editor !felipe1982 wrote:1) touch file1
2) vi file1
3) press "i" on keyboard
4) press keyboard arrows (up/down/left/right). Letters A->D should start to appear.
do the same, but in step 2) use "vim" in place of "vi". Problem goes away. confused! (Elyssa btw)
To move around use the h,j,k,l keys when not in insert mode.
I've been using vi for over 20 years without a problem ... you're just suffering from lack of "vi" experience
Mike.
-
- Level 2
- Posts: 52
- Joined: Sun Nov 25, 2007 6:40 pm
- Location: Brisbane, Australia
- Contact:
Re: is "vi" retarded?
felipe@mint ~ $ which {vi,vim} | xargs ls -l
lrwxrwxrwx 1 root root 20 2008-06-15 18:32 /usr/bin/vi -> /etc/alternatives/vi
lrwxrwxrwx 1 root root 21 2008-06-15 18:32 /usr/bin/vim -> /etc/alternatives/vim
felipe@mint ~ $ md5sum /usr/bin/vi /usr/bin/vim /etc/alternatives/vi /etc/alternatives/vim
a559a2cc3f9824e57e017a91497909b5 /usr/bin/vi
a559a2cc3f9824e57e017a91497909b5 /usr/bin/vim
a559a2cc3f9824e57e017a91497909b5 /etc/alternatives/vi
a559a2cc3f9824e57e017a91497909b5 /etc/alternatives/vim
felipe@mint ~ $
* they are all the same. Why do they act differently when invoked as "vi" or "vim"?
lrwxrwxrwx 1 root root 20 2008-06-15 18:32 /usr/bin/vi -> /etc/alternatives/vi
lrwxrwxrwx 1 root root 21 2008-06-15 18:32 /usr/bin/vim -> /etc/alternatives/vim
felipe@mint ~ $ md5sum /usr/bin/vi /usr/bin/vim /etc/alternatives/vi /etc/alternatives/vim
a559a2cc3f9824e57e017a91497909b5 /usr/bin/vi
a559a2cc3f9824e57e017a91497909b5 /usr/bin/vim
a559a2cc3f9824e57e017a91497909b5 /etc/alternatives/vi
a559a2cc3f9824e57e017a91497909b5 /etc/alternatives/vim
felipe@mint ~ $
* they are all the same. Why do they act differently when invoked as "vi" or "vim"?
Re: is "vi" retarded?
Hi Felipe !
Two programs in one, caters for the "Old Timers" like me who have always used "vi" and the new adventurers to UNIX who know it as "vim"...
Either way it's a great editor which I will use until I pop my clogs
Mike.
Basically, "vim" is an enhanced version of "vi" but is backwards compatible when called by it's old namefelipe1982 wrote:felipe@mint ~ $ which {vi,vim} | xargs ls -l
lrwxrwxrwx 1 root root 20 2008-06-15 18:32 /usr/bin/vi -> /etc/alternatives/vi
lrwxrwxrwx 1 root root 21 2008-06-15 18:32 /usr/bin/vim -> /etc/alternatives/vim
felipe@mint ~ $ md5sum /usr/bin/vi /usr/bin/vim /etc/alternatives/vi /etc/alternatives/vim
a559a2cc3f9824e57e017a91497909b5 /usr/bin/vi
a559a2cc3f9824e57e017a91497909b5 /usr/bin/vim
a559a2cc3f9824e57e017a91497909b5 /etc/alternatives/vi
a559a2cc3f9824e57e017a91497909b5 /etc/alternatives/vim
felipe@mint ~ $
* they are all the same. Why do they act differently when invoked as "vi" or "vim"?
Two programs in one, caters for the "Old Timers" like me who have always used "vi" and the new adventurers to UNIX who know it as "vim"...
Either way it's a great editor which I will use until I pop my clogs
Mike.
-
- Level 2
- Posts: 52
- Joined: Sun Nov 25, 2007 6:40 pm
- Location: Brisbane, Australia
- Contact:
Re: is "vi" retarded?
Ok. I see now. Different invocations make "vi" and "vim" behave differently. Besides having up/down/left/right arrows add letters A, B, C, D to my documents, what else comes to mind?
Re: is "vi" retarded?
Hi Felipe !
There are many differences .... have a look at This Site for more information.
Mike.
Vim is able to have more than one document open at a time in "Windows" ... I use the term lightly ... unlike vi ... where you swap between files ....felipe1982 wrote:Ok. I see now. Different invocations make "vi" and "vim" behave differently. Besides having up/down/left/right arrows add letters A, B, C, D to my documents, what else comes to mind?
There are many differences .... have a look at This Site for more information.
Mike.
-
- Level 2
- Posts: 52
- Joined: Sun Nov 25, 2007 6:40 pm
- Location: Brisbane, Australia
- Contact:
Re: is "vi" retarded?
thanks
vi isn't retarded
vi isn't retarded