No more swap
This commit is contained in:
parent
aecf5d1ad2
commit
0a66e16a83
1 changed files with 21 additions and 20 deletions
41
.vimrc
41
.vimrc
|
@ -15,30 +15,31 @@ Bundle 'tpope/vim-surround'
|
||||||
Bundle 'vim-scripts/ruby-matchit'
|
Bundle 'vim-scripts/ruby-matchit'
|
||||||
|
|
||||||
" Options
|
" Options
|
||||||
set nocompatible " Disable vi compatibility
|
set nocompatible " Disable vi compatibility
|
||||||
set fileformats=unix,dos " File format prefer unix endings
|
set fileformats=unix,dos " File format prefer unix endings
|
||||||
set endofline " Add newlien at end of file
|
set endofline " Add newlien at end of file
|
||||||
set shellslash " Forward slashes
|
set shellslash " Forward slashes
|
||||||
set nobackup " No backup files
|
set nobackup " No backup files
|
||||||
set formatoptions=crq
|
set formatoptions=crq
|
||||||
set textwidth=80
|
set textwidth=80
|
||||||
set laststatus=2 " Always show status line
|
set laststatus=2 " Always show status line
|
||||||
set showmode " Show current mode
|
set showmode " Show current mode
|
||||||
set history=100 " History length
|
set history=100 " History length
|
||||||
set cursorline " Highlight current line
|
set cursorline " Highlight current line
|
||||||
set nowrap " Disable wrapping by default
|
set nowrap " Disable wrapping by default
|
||||||
set backspace=2 " Backspace over indent, eol, start of insert
|
set backspace=2 " Backspace over indent, eol, start of insert
|
||||||
set hlsearch " Search highlights
|
set hlsearch " Search highlights
|
||||||
set wrapscan " Wraped search
|
set wrapscan " Wraped search
|
||||||
set incsearch " Search as yuo type
|
set incsearch " Search as yuo type
|
||||||
set ignorecase " Ignore case with search
|
set ignorecase " Ignore case with search
|
||||||
set smartcase " Search will not ignore uppercase
|
set smartcase " Search will not ignore uppercase
|
||||||
set showcmd " Show command as you type
|
set showcmd " Show command as you type
|
||||||
set ruler " Show cursor position
|
set ruler " Show cursor position
|
||||||
set autoindent
|
set autoindent
|
||||||
set colorcolumn=80 " Ruler at line 80
|
set colorcolumn=80 " Ruler at line 80
|
||||||
set nomodeline
|
set nomodeline
|
||||||
set relativenumber " Relative line numbers
|
set relativenumber " Relative line numbers
|
||||||
|
set noswapfile " Hope for the best
|
||||||
" Tabs are 2 spaces
|
" Tabs are 2 spaces
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
set softtabstop=2
|
set softtabstop=2
|
||||||
|
|
Loading…
Reference in a new issue