#update the .vimrc (~/) with the following lines to enable coding style editing.
filetype plugin indent on
syn on se title
set tabstop=8
set softtabstop=8
set shiftwidth=8
set noexpandtab
Setting VIM up as default editor >> Make sure /usr/bin/vim.basic is selected.
filetype plugin indent on
syn on se title
set tabstop=8
set softtabstop=8
set shiftwidth=8
set noexpandtab
Setting VIM up as default editor >> Make sure /usr/bin/vim.basic is selected.
root@sincity:~# sudo update-alternatives --config editor There are 6 choices for the alternative editor (providing /usr/bin/editor). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/vim.gtk 50 auto mode 1 /bin/ed -100 manual mode 2 /bin/nano 40 manual mode
3 /usr/bin/mcedit 25 manual mode
* 4 /usr/bin/vim.basic 30 manual mode
5 /usr/bin/vim.gtk 50 manual mode
6 /usr/bin/vim.tiny 10 manual mode
Press enter to keep the current choice[*], or type selection number: >> 4
No comments:
Post a Comment