Start vim config
This commit is contained in:
parent
2d1f20e922
commit
7124b11fe0
1 changed files with 27 additions and 0 deletions
27
.vimrc
Normal file
27
.vimrc
Normal file
|
@ -0,0 +1,27 @@
|
|||
" Options
|
||||
set nocompatible " Disable vi compatibility
|
||||
set ffs=unix,dos " File format prefer unix endings
|
||||
set eol " Add newlien at end of file
|
||||
set shellslash " Forward slashes
|
||||
set nobk " No backup files
|
||||
set textwidth=80
|
||||
set laststatus=2 " Always show status line
|
||||
set showmode " Show current mode
|
||||
set history=100 " History length
|
||||
set cul " Highlight current line
|
||||
set nowrap " Disable wrapping by default
|
||||
set backspace=2 " Backspace over indent, eol, start of insert
|
||||
set hlsearch " Search highlights
|
||||
set wrapscan " Wraped search
|
||||
set incsearch " Search as yuo type
|
||||
set ignorecase " Ignore case with search
|
||||
set smartcase " Search will not ignore uppercase
|
||||
set showcmd " Show command as you type
|
||||
set hls " Highlight search (hlsearch?)
|
||||
set ruler " Show cursor position
|
||||
set autoindent
|
||||
" Tabs are 2 spaces
|
||||
set tabstop=2
|
||||
set softtabstop=2
|
||||
set shiftwidth=2
|
||||
set expandtab
|
Loading…
Reference in a new issue