-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.vim
More file actions
61 lines (48 loc) · 1.76 KB
/
init.vim
File metadata and controls
61 lines (48 loc) · 1.76 KB
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
" **************************************************************************** "
" "
" ::: :::::::: "
" vimrc :+: :+: :+: "
" +:+ +:+ +:+ "
" By: zaz <zaz@staff.42.fr> +#+ +:+ +#+ "
" +#+#+#+#+#+ +#+ "
" Created: 2013/06/15 12:45:34 by zaz #+# #+# "
" Updated: 2013/06/24 11:03:24 by zaz ### ########.fr "
" "
" **************************************************************************** "
"Do not edit this file
"Put your own configuration options in ~/.myvimrc
"Activate indentation
filetype off
filetype plugin indent on
set smartindent
"Non-expanded, 4-wide tabulations
set tabstop=4
set shiftwidth=4
set noexpandtab
"Disable vi-compatibility
set nocompatible
"Real-world encoding
set encoding=utf-8
"Interpret modelines in files
set modelines=1
"Do not abandon buffers
set hidden
"Don't bother throttling tty
set ttyfast
"More useful backspace behavior
set backspace=indent,eol,start
"Use statusbar on all windows
set laststatus=2
"Better search
set ignorecase
set smartcase
set incsearch
set showmatch
set hlsearch
"Prevent backups when editing system files
au BufWrite /private/tmp/crontab.* set nowritebackup
au BufWrite /private/etc/pw.* set nowritebackup
"Source user configuration
if filereadable(expand("~/.config/nvim/myinit.vim"))
source ~/.config/nvim/myinit.vim
endif