-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.vim
108 lines (71 loc) · 1.94 KB
/
init.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
lua require('plugins')
lua require('installer')
source ~/.config/nvim/keymap.vim
packadd termdebug
set hidden
" Add GDB Debugger
" packadd termdebug
" Gdb Config
let g:termdebug_wide=1
let g:termdebug_useFloatingHover = 0
let g:termdebug_popup = 0
let g:termdebug_wide = 163
" Merge the clipboard
set clipboard=unnamedplus
set updatetime=100
set keywordprg=:Man
" Disable compatibility with vi which can cause unexpected issues.
set nocompatible
" Enable type file detection. Vim will be able to try to detect the type of file in use.
filetype on
" Enable plugins and load plugin for the detected file type.
filetype plugin on
" Load an indent file for the detected file type.
filetype indent on
" Enable syntax color
syntax on
let g:gitgutter_sign_added = '✚'
let g:gitgutter_sign_modified = '✹'
let g:gitgutter_sign_removed = '-'
" Number on lines
set number
set cursorline
set history=100
" Set shift width to 4 spaces.
set shiftwidth=4
" Set tab width to 4 columns.
set tabstop=4
" Set the scrolloff, the cursor cant touch the top and bottom
set scrolloff=4
" Use space characters instead of tabs.
set expandtab
set colorcolumn=80
set nobackup
" Allow long line
set nowrap
" Show matching words during a search.
set showmatch
" Use highlighting when doing a search.
set hlsearch
" Disable highlight brackets
let g:loaded_matchparen=1
" Change Cursor to line
let &t_SI = "\e[6 q"
let &t_EI = "\e[2 q"
" create line
let g:lightline = {
\ 'colorscheme': 'onedark',
\ }
set termguicolors " 24 bit color
let g:aurora_italic = 1 " italic
let g:aurora_transparent = 1 " transparent
let g:aurora_bold = 1 " bold
let g:aurora_darker = 1 " darker background
colo onedark
" set highlight Cursor ctermbg=darkmagenta
" Press Tab for completion
set wildmenu
set completeopt=menuone,noselect
set wildmode=list,full
set wildignore=*.o,*.obj
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx