82 lines
1.9 KiB
Plaintext
82 lines
1.9 KiB
Plaintext
"we don't want vi compatibility AKA Make Vim more useful
|
||
set nocompatible
|
||
|
||
|
||
set noswapfile
|
||
set autoread
|
||
set selection=exclusive
|
||
|
||
syntax enable
|
||
|
||
" Use the OS clipboard by default (on versions compiled with `+clipboard`)
|
||
set clipboard=unnamed
|
||
" Enhance command-line completion
|
||
set wildmenu
|
||
" Allow cursor keys in insert mode
|
||
set esckeys
|
||
" Allow backspace in insert mode
|
||
set backspace=indent,eol,start
|
||
" Optimize for fast terminal connections
|
||
set ttyfast
|
||
" Add the g flag to search/replace by default
|
||
set gdefault
|
||
" Use UTF-8 without BOM
|
||
set encoding=utf-8 "nobomb
|
||
" Change mapleader
|
||
let mapleader=","
|
||
" Don |