-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsets.vim
43 lines (39 loc) · 1.43 KB
/
sets.vim
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
if has("gui_running")
" GUI is running or is about to start.
set lines=45 columns=150 " normal window size
set guioptions -=T " remove toolbar
endif
autocmd VimEnter * NERDTree " run NERDTree on startup
autocmd VimEnter * wincmd p " focus on file instead of NERDTree
let NERDTreeShowHidden=1 " show hidden files on NERDTree
set encoding=utf-8 " utf-8
set nocompatible " be iMproved, required
set wildmenu " visual autocomplete for command menu
set showmatch " highlight matching [{()}]
set incsearch " search as characters are entered
set hlsearch " highlight matches
set foldenable " enable folding
set expandtab " use spaces instead of tabs
set number " show line number
set visualbell " blink cursor on error instead of beeping
set history=1000 " history to 1000 lines
set showcmd " show commands
set ignorecase " ignore case
set smartcase " smart ignore case
set lbr " line break
set ai " auto indent
set si " smart indent
set nobackup " don't save backup files
set noundofile " remove undo file
set spell spelllang=en_us " spell check
set rtp+=/home/linuxbrew/.linuxbrew/opt/fzf
" Whitespace
set wrap
set textwidth=79
set formatoptions=tcqrn1
set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab
set noshiftround
set bg=dark