User Tools

Site Tools


server:vps:minimaldebian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

server:vps:minimaldebian [2018/12/03 11:46]
maxduke [Install some essential packages]
server:vps:minimaldebian [2018/12/03 18:12] (current)
maxduke [Syntax highlight for VIM]
Line 60: Line 60:
 Remove the "#"​ before "​syntax on". Remove the "#"​ before "​syntax on".
  
 +==== Disable mouse mode in command line ====
 +<code bash>
 +vi ~/.vimrc
 +</​code>​
 +Add
 +<code bash>
 +if has("​gui_running"​)
 +    set mouse=a
 +else
 +    set mouse=
 +endif
 +</​code>​
 ==== Make VIM as default editor ==== ==== Make VIM as default editor ====
 In some installations,​ the default editor is nano. We can replace that by VIM: In some installations,​ the default editor is nano. We can replace that by VIM:
server/vps/minimaldebian.txt ยท Last modified: 2018/12/03 18:12 by maxduke