-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
87 lines (66 loc) · 1.41 KB
/
.vimrc
File metadata and controls
87 lines (66 loc) · 1.41 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
"Function Source"
source ~/AppData/Local/nvim/functions/functions.vim
"Commands Source"
source ~/AppData/Local/nvim/commands/commands.vim
"Maps Source"
source ~/AppData/Local/nvim/maps/maps.vim
"Clipboard
set clipboard+=unnamedplus
"Theme"
"Set true colors
if (empty($TMUX))
if (has("nvim"))
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
if (has("termguicolors"))
set termguicolors
endif
endif
"Turn syntax on
syntax on
let g:onedark_config = {
\ 'style': 'dark',
\}
colorscheme onedark
autocmd vimenter * nested :Telescope workspaces
autocmd vimleavepre * nested :NvimTreeClose
"General"
"No Auto fold
set nofoldenable
set wildmenu
" How much history vim remembers
set history=500
" Set to auto read changes outside of vim
set autoread
au FocusGained,BufEnter * checktime
"Turn on line numbers
set number
"Indintation
set expandtab
set tabstop=4 shiftwidth=4
set lbr
set tw=500
set smarttab
set backspace=indent,eol,start
set autoindent
set cindent
set si
set wrap
"Search
set ignorecase
set smartcase
set incsearch
set hlsearch
set lazyredraw
set showmatch
set mat=2
"Backup Settings
set nobackup
set nowb
set noswapfile
"Cursor
set cursorline
set scrolloff=5
set mouse=a
"Terminal
tnoremap <Esc> <C-\><C-n>