I would appreciate it if someone can let a newbie know what the differences are between vi
and vim
. I've heard Vim is a successor to vi
but whenever I try to open vi
in Ubuntu it opens vim
instead.
The difference between vim-gtk
and vim-gnome
has been discussed here.
Ubuntu usually offers more than these two options for vim, e.g.:
vim-nox
vim-athena
vim-*
It is not clear which vim
package have which dependecies and which one is preferable to use on one's system. I keep my vim
configuration files (~/.vim
folder) on GitHub and clone it on any system I have to work on. They work with vim-gnome
but will they work with any of these distributions?
Can we have the major differences listed out between all of the possible vim
candidates available on Ubuntu so one can make an informed decision?
My Ubuntu LTS 12.04 has vim editor. If I open a file, move to a paragraph and reopen vim, then the cursor goes to beginning of the file always.
This is not the expected behavior. How the vim can remember last read position after closing a file?
I tried vi
also, but the result is the same.
I understand that vi has shortcut keys to delete characters, words and lines with various options.
However, I could not find this:
- delete from the cursor to the next specified character
For example, I might type du"
expecting the editor to "delete until the next "
character is found"
The closest I know is d9w
where 9
is the number of words to delete.
Does anyone know if this is possible?
I have a lovely Vim colorscheme (xoria256) and it looks brilliant in GVim, but when I use normal vim
in Terminal, the colorscheme is only partially supported -- for example, the default semi-transparent aubergine background color is used. How do I make Terminal faithfully render my Vim colorscheme?