This repository was archived by the owner on Jul 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.vim
More file actions
70 lines (55 loc) · 1.38 KB
/
settings.vim
File metadata and controls
70 lines (55 loc) · 1.38 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
62
63
64
65
66
67
68
69
70
set path+=**
set visualbell
set modelines=0
set nomodeline
set splitbelow
set splitright
" Wild
set wildmode=longest:full,full
set wildmenu
set wildignore=*.pyc,*.tmp,*.log,node_modules
set shiftwidth=2 expandtab incsearch showmatch smartcase autoindent
set smartcase
set tabstop=4
set shiftwidth=4
set softtabstop=4
set textwidth=80
set noexpandtab
set autoindent
set smartindent
" silent to prevent interfering with splash
silent! set fileformat=unix
set smarttab
set cindent
" make search better
set hlsearch "highlight stuff
set ignorecase " ignore case in search
set smartcase " but if we put a capital letter, don't ignore it.
set scrolloff=5
set backspace=indent,eol,start
" Improve whitespace chars when shown
set listchars+=space:␣
set listchars+=eol:¬
set listchars+=tab:··
" Draw faster
set ttyfast
set lazyredraw
" mouse
if !has('nvim')
set hlsearch
" Neovim has SGR enabled by default.
" Enable mouse mode working past 220th column
" https://stackoverflow.com/questions/7000960/in-vim-why-doesnt-my-mouse-work-past-the-220th-column
if has("mouse_sgr")
set ttymouse=sgr
else
set ttymouse=xterm2
end
endif
" Show commands as they are typed, not really a replacement for a keystroke
" viewer whens streaming, but somewhat helpful nontheless
set showcmd
set cmdheight=2
" don't pass messages to ins-completion-menu, coc
set shortmess+=c
set signcolumn=number