Finalize vimrc
This commit is contained in:
parent
2ec1d178bc
commit
4a9500fe37
20
.vimrc
20
.vimrc
@ -52,6 +52,18 @@ set tabstop=4
|
||||
" Default to UTF-8 encoding
|
||||
set encoding=utf-8
|
||||
|
||||
" Some languages have different indentation preferences. Try to use them.
|
||||
filetype plugin indent on
|
||||
|
||||
" Don't try to be Vi compatible. Just stick to Vim!
|
||||
set nocompatible
|
||||
|
||||
" Allow backspace to always work, across linebreaks/indentation etc.
|
||||
set backspace=indent,eol,start
|
||||
|
||||
" Blink matching bracket
|
||||
set showmatch
|
||||
|
||||
" We never use octals, but we do use zero-prefixed numbers.
|
||||
set nrformats-=octal
|
||||
|
||||
@ -74,6 +86,14 @@ set wildmenu
|
||||
" Stop asking me, just reload the changed file!
|
||||
set autoread
|
||||
|
||||
" Don't litter backup files. Don't do swaps (we're not that paranoid)
|
||||
set nobackup
|
||||
set nowritebackup
|
||||
set noswapfile
|
||||
|
||||
" Check for file endings
|
||||
set fileformats=unix,dos
|
||||
|
||||
" Quicky to exit insert mode
|
||||
inoremap <C-c> <Esc>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user