What are the differences between vim.basic and vim.tiny?
55,651
So, vim.basic is just plain vanilla Vim (as you can check with apt-file vim.basic
or dpkg -S /usr/bin/vim.basic
).
While vim.tiny, as the name implies, is a trimmed-down version of Vim (this question explains it further).
Kudos for @terdon at comments for sorting that out.
Related videos on Youtube
Author by
M Rahi
Updated on September 18, 2022Comments
-
M Rahi over 1 year
My favorite editor is Vim, so I decided to change the default editor of my ubuntu installation with the following command:
sudo update-alternatives --config editor
A prompt (with listed options) came up asking for an editor, but I noticed that it listed two flavors of Vim:
- /usr/bin/vim.basic
- /usr/bin/vim.tiny
What is the difference between the basic and tiny options?
-
Mitch almost 10 yearsCheck out this comment about the differences: askubuntu.com/a/104202/284690
-
M Rahi almost 10 years@terdon not really
-
terdon almost 10 years@talles the linked question explains that
vim.tiny
is just a trimmed-down version ofvim
, presumably designed as a lightweight alternative and the accepted answer lists thevim
features that are present invim.tiny
. Combined, they seem to answer your question perfectly. Don't they? -
M Rahi almost 10 years@terdon What about vim.basic? My question is precisely the difference between these two options. I'm sorry but a question that might have some information that helps it's definitely not an answer, it's just a helpful link. I don't want to start a debate here, but it's definitely *not* a duplicate IMO.
-
terdon almost 10 yearsNo debate, it's your question so if the other doesn't answer it then it's not a dupe by definition. I'm just trying to understand what else you need that is not explained there. Could you edit the question and clarify?
vim.basic
is justvim
, andvim.tiny
is a limited version ofvim
. You want to usevim.basic
(orvim.gnome
if that is installed and you want the GUI version). What else do you need to know? -
M Rahi almost 10 years@terdon So vim.basic it's just plain vanilla Vim? Didn't know that (man page doesn't state anything about it). Thank you. Next time try to answer it as an answer (rather than as a comment) ;)
-
terdon almost 10 yearsYes,
vim.basic
is justvim
and is installed when you install thevim
package (check withapt-file vim.basic
ordpkg -S /usr/bin/vim.basic
). I did not answer because I considered it a duplicate and answering a duplicate is a waste of effort for everyone involved. Glad you sorted it out.
-
Don Hatch over 5 yearsWhen you say "plain vanilla Vim", there's a connotation that it's as opposed to some kind of "fancy spumoni Vim". Could you explain what you mean?
-
krubo over 2 years@DonHatch vim.basic can be called "plain vanilla vim" because it's what you get by default when you run
vim
from the command line. That is,/usr/bin/vim
is a symlink to/etc/alternatives/vim
, which by default is a symlink to/usr/bin/vim.basic
.