Vim: Difference between revisions

From wiki
Created page with "== Install == <syntaxhighlight lang="console"> $ sudo apt install vim vim-tiny- </syntaxhighlight> == Make Vim the Default Editor == Run<syntaxhighlight lang="console"> $ sud..."
 
Use vim-nox + editorconfig
 
Line 1: Line 1:
== Install ==
== Install ==
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
$ sudo apt install vim vim-tiny-
$ sudo apt install vim-nox vim-editorconfig vim- vim-tiny-
</syntaxhighlight>
</syntaxhighlight>


== Make Vim the Default Editor ==
== Make Vim the Default Editor ==
Run<syntaxhighlight lang="console">
Run<syntaxhighlight lang="console">
$ sudo update-alternatives --config editor
$ sudo update-alternatives --set editor /usr/bin/vim.nox
</syntaxhighlight>and choose <code>/usr/bin/vim.basic</code>
</syntaxhighlight>
[[Category:Linux Desktop]]
[[Category:Linux Desktop]]
[[Category:Linux Server]]
[[Category:Linux Server]]

Latest revision as of 08:11, 20 January 2017

Install

$ sudo apt install vim-nox vim-editorconfig vim- vim-tiny-

Make Vim the Default Editor

Run

$ sudo update-alternatives --set editor  /usr/bin/vim.nox