blob: 8fbc18d1ed1b3c3be303052c8d899fccfa5fdc02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
" .vimrc#General settings
set exrc
set secure
set title
set noshowmode
set autowrite
set inccommand=split
set noshowcmd
" set autochdir " automatically sets cwd to the dir containing the file in the current buffer
set hidden
set nolist
" set lcs+=space:•
" set lcs+=trail:∙
set encoding=utf-8 nobomb
" set nocompatible
set number
let &showbreak='↪ '
set visualbell
set noerrorbells
set hlsearch
set smartcase
set ignorecase
set incsearch
" set cmdheight=2
set pumheight=10
set lazyredraw
set mouse=a
set clipboard+=unnamedplus " share OSX clipboard
set backspace=indent,eol,start " allow backspace in INSERT mode
set signcolumn=yes
set cursorline
" set cursorcolumn
set colorcolumn=80
set updatetime=300
" For conceal markers.
if has('conceal')
" set conceallevel=2 concealcursor=nv
set conceallevel=2 concealcursor=
endif
" centralize vimfiles
set backupdir=/tmp
set directory=/tmp
if exists('&undodir')
set undodir=~/.vim/undo
endif
" pane divider chars
set fillchars=fold:-,vert:\│
"" colorscheme options
if has("termguicolors")
set termguicolors
endif
filetype plugin indent on
if has('syntax') && !exists('g:syntax_on')
syntax enable
endif
" some defaults
" set ts=8 sts=0 et sw=4 sta
set diffopt+=algorithm:patience
|