41 lines
1.4 KiB
VimL
41 lines
1.4 KiB
VimL
syntax on
|
|
set nocompatible
|
|
set hidden
|
|
set modeline
|
|
|
|
"
|
|
" Settings
|
|
"
|
|
set noerrorbells " No beeps
|
|
set backspace=indent,eol,start " Makes backspace key more powerful.
|
|
set showcmd " Show me what I'm typing
|
|
set showmode " Show current mode.
|
|
|
|
set noswapfile " Don't use swapfile
|
|
set nobackup " Don't create backup files
|
|
set splitright " Split vertical windows right to the current windows
|
|
set splitbelow " Split horizontal windows below to the current windows
|
|
set encoding=utf-8 " Set default encoding to UTF-8
|
|
set autowrite " Automatically save before :next, :make etc.
|
|
set autoread " Automatically reread changed files without asking me anything
|
|
|
|
set nocursorcolumn
|
|
set lazyredraw " Wait to redraw
|
|
set incsearch " Shows the match while typing
|
|
set hlsearch " Highlight found searches
|
|
set ignorecase " Search case insensitive...
|
|
set smartcase " ... but not when search pattern contains upper case characters
|
|
set ttyfast
|
|
|
|
set termguicolors
|
|
|
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
|
|
|
set rtp+=/opt/share/vim
|
|
|
|
if filereadable(expand("~/.base16vim"))
|
|
let base16colorspace=256
|
|
source ~/.base16vim
|
|
endif
|