-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
48 lines (33 loc) · 1.05 KB
/
.vimrc
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
set mouse=a " Enable mouse support
set linebreak
set cindent shiftwidth=2
" Fuzzy finder without plugin
set path=**
set wildignore+=*.git/*,*node_modules/*
set wildmenu
set cursorline
set number " Display linenumbers
set relativenumber
set tabstop=2 " Fix tab spaces
set softtabstop=0
set shiftwidth=2
set expandtab
set hlsearch " Searching
set incsearch
set ignorecase
set smartcase
set smartindent
filetype plugin on " -- AUTOCOMPLETION --
set omnifunc=syntaxcomplete#Complete
" extend grep with ripgrep
set grepprg=rg\ --vimgrep\ --smart-case\ --hidden
set grepformat=%f:%l:%c:%m
source ~/.vim/config/plug.vim
source ~/.vim/config/ale.vim
source ~/.vim/config/emmet.vim
source ~/.vim/config/keybindings.vim
source ~/.vim/config/netrw.vim
inoremap <expr> <Tab> pumvisible() ? '<C-n>' :
\ getline('.')[col('.')-2] =~# '[[:alnum:].-_#$]' ? '<C-x><C-o>' : '<Tab>'
let g:OmniSharp_server_use_net6 = 1
au BufNewFile,BufRead *.svelte set filetype=html