linux:vim
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:vim [2019/12/28 16:29] – created Wuff | linux:vim [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| update-alternatives --config editor | update-alternatives --config editor | ||
| </ | </ | ||
| - | and select vim.basic | + | and select vim.basic |
| + | |||
| + | follow it by | ||
| + | < | ||
| + | select-editor | ||
| + | </ | ||
| or\\ | or\\ | ||
| Line 25: | Line 30: | ||
| and add this line at the end of the file: | and add this line at the end of the file: | ||
| < | < | ||
| + | export EDITOR=vi | ||
| export VISUAL=vi | export VISUAL=vi | ||
| </ | </ | ||
| Line 35: | Line 41: | ||
| < | < | ||
| export VISUAL=vi | export VISUAL=vi | ||
| + | export EDITOR=vi | ||
| </ | </ | ||
| Line 55: | Line 62: | ||
| By default Debian installs vim-tiny which does not support syntax highlighting. To install all required modules for console use | By default Debian installs vim-tiny which does not support syntax highlighting. To install all required modules for console use | ||
| < | < | ||
| - | apt-get install vim-nox | + | apt-get install vim |
| </ | </ | ||
| then edit / | then edit / | ||
| Line 124: | Line 131: | ||
| endif " has(" | endif " has(" | ||
| - | |||
| </ | </ | ||
| ===== More info ===== | ===== More info ===== | ||
| [[http:// | [[http:// | ||
linux/vim.1577550580.txt.gz · Last modified: (external edit)