Difference between revisions of "Vi"
Jump to navigation
Jump to search
↑ https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix
Tags: Mobile web edit, Mobile edit |
|||
Line 5: | Line 5: | ||
* <code>sudo update-alternatives --config vi</code> | * <code>sudo update-alternatives --config vi</code> | ||
− | * [[Bash]]: <code>[[set]] -o vi</code> | + | * [[Bash]]: <code>[[set]] -o vi</code> (<code>~./[[.bash_profile]]</code>) |
== See also == | == See also == |
Revision as of 05:47, 11 May 2020
sudo update-alternatives --config editor
[1]sudo update-alternatives --config vi
- Bash:
set -o vi
(~./.bash_profile
)
See also
sudo
,visudo
,su, passwd, sudo su
,Passwordless sudo
,/etc/sudoers
,/etc/sudoers.d/
,/etc/sudoers
,sudo --help
- Editors:
vi, vim
,sed
,awk
, emacs,lineinfile (Ansible)
, Atom,paste
, Neovim, Rider,visudo, vipw
,update-alternatives
,nano
,more, less
,.vimrc
,set (vi)
zed
Advertising: