1) Changes within "/etc/vim/vimrc":
*) tab-free indent with reasonable width:
Code: Select all
" Make it comfortable for coding and editing config files:
set shiftwidth=4
set tabstop=4
set expandtab
set tabpagemax=20
Code: Select all
" Make it comfortable for coding and editing config files:
set shiftwidth=4
set tabstop=4
set expandtab
set tabpagemax=20
Code: Select all
:tabdo set shiftwidth=2 || set tabstop=2 || set expandtab
Code: Select all
" Markdown syntax (instead of modula2):
autocmd BufNewFile,BufRead *.md set filetype=markdown
Code: Select all
" Generally useful:
syntax on
set background=dark
set ignorecase " Do case insensitive matching
set mouse=
set ttymouse=
" Make it comfortable for coding and editing config files:
set shiftwidth=4
set tabstop=4
set expandtab
set tabpagemax=20
" Tab completion for filenames more bash-style:
set wildmode=longest,list,full
set wildmenu