Difference between revisions of "Vi"
Jump to navigation
Jump to search
↑ https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix
Line 4: | Line 4: | ||
* <code>sudo update-alternatives --config editor</code><ref>https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix</ref> | * <code>sudo update-alternatives --config editor</code><ref>https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix</ref> | ||
* <code>sudo update-alternatives --config vi</code> | * <code>sudo update-alternatives --config vi</code> | ||
+ | |||
+ | * <code>set -o vi</code> | ||
== See also == | == See also == | ||
* [[sudo]] | * [[sudo]] |
Revision as of 12:29, 18 December 2019
sudo update-alternatives --config editor
[1]sudo update-alternatives --config vi
set -o vi
See also
Advertising: