-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.vim
105 lines (91 loc) · 4.11 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
" ____ _ __ _
" / _/___ (_) /__ __(_)___ ___
" / // __ \/ / __/ | / / / __ `__ \
" _/ // / / / / /__| |/ / / / / / / /
"/___/_/ /_/_/\__(_)___/_/_/ /_/ /_/
" General Settings
if !exists('g:vscode')
source $HOME/.config/nvim/plug-config/polyglot.vim
endif
source $HOME/.config/nvim/plug-config/rainbow.vim
source $HOME/.config/nvim/general/settings.vim
source $HOME/.config/nvim/general/functions.vim
source $HOME/.config/nvim/keys/mappings.vim
source $HOME/.config/nvim/vim-plug/plugins.vim
source $HOME/.config/nvim/syntax/scss.vim
" Themes
source $HOME/.config/nvim/themes/syntax.vim
source $HOME/.config/nvim/themes/nvcode.vim
source $HOME/.config/nvim/themes/night-owl.vim
" Plugin Configuration
source $HOME/.config/nvim/keys/which-key.vim
source $HOME/.config/nvim/plug-config/vim-commentary.vim
source $HOME/.config/nvim/plug-config/rnvimr.vim
source $HOME/.config/nvim/plug-config/better-whitespace.vim
source $HOME/.config/nvim/plug-config/bettergrep.vim
source $HOME/.config/nvim/plug-config/fzf.vim
source $HOME/.config/nvim/plug-config/codi.vim
source $HOME/.config/nvim/plug-config/vim-wiki.vim
luafile $HOME/.config/nvim/lua/nvcodeline.lua
luafile $HOME/.config/nvim/lua/treesitter.lua
source $HOME/.config/nvim/plug-config/coc/coc.vim
source $HOME/.config/nvim/plug-config/coc/coc-extensions.vim
source $HOME/.config/nvim/plug-config/easymotion.vim
source $HOME/.config/nvim/plug-config/goyo.vim
source $HOME/.config/nvim/plug-config/vim-rooter.vim
source $HOME/.config/nvim/plug-config/start-screen.vim
source $HOME/.config/nvim/plug-config/gitgutter.vim
source $HOME/.config/nvim/plug-config/git-messenger.vim
source $HOME/.config/nvim/plug-config/closetags.vim
source $HOME/.config/nvim/plug-config/floaterm.vim
source $HOME/.config/nvim/plug-config/barbar.vim
source $HOME/.config/nvim/plug-config/far.vim
source $HOME/.config/nvim/plug-config/tagalong.vim
source $HOME/.config/nvim/plug-config/bracey.vim
source $HOME/.config/nvim/plug-config/asynctask.vim
source $HOME/.config/nvim/plug-config/window-swap.vim
source $HOME/.config/nvim/plug-config/markdown-preview.vim
source $HOME/.config/nvim/plug-config/neovide.vim
luafile $HOME/.config/nvim/lua/plug-colorizer.lua
source $HOME/.config/nvim/plug-config/vimspector.vim
source $HOME/.config/nvim/plug-config/auto_config.vim
source $HOME/.config/nvim/plug-config/sneak.vim
source $HOME/.config/nvim/plug-config/rainbow.vim
source $HOME/.config/nvim/plug-config/wintab.vim
source $HOME/.config/nvim/plug-config/copilot.vim
" source $HOME/.config/nvim/plug-config/illuminate.vim
" source $HOME/.config/nvim/plug-config/vista.vim
source $HOME/.config/nvim/plug-config/xtabline.vim
source $HOME/.config/nvim/plug-config/ale.vim
source $HOME/.config/nvim/plug-config/quickscope.vim
source $HOME/.config/nvim/plug-config/fern.vim
source $HOME/.config/nvim/plug-config/suda.vim
source $HOME/.config/nvim/plug-config/rainbow.vim
source $HOME/.config/nvim/plug-config/nvim-dap-virtual-text.vim
source $HOME/.config/nvim/plug-config/glyph-palette.vim
source $HOME/.config/nvim/plug-config/ultisnips.vim
lua require('crates').setup()
" Add paths to node and python here
if !empty(glob("~/.config/nvim/paths.vim"))
source $HOME/.config/nvim/paths.vim
endif
" Better nav for omnicomplete TODO figure out why this is being overridden
" inoremap <expr> <c-j> ("\<C-n>")
" inoremap <expr> <c-k> ("\<C-p>")
" let g:vimspector_base_dir='/Users/bruhh/.config/nvim/vimspector-config'
let g:is_nvim = has('nvim')
let g:is_vim8 = v:version >= 800 ? 1 : 0
" Reuse nvim's runtimepath and packpath in vim
if !g:is_nvim && g:is_vim8
set runtimepath-=~/.vim
\ runtimepath^=~/.local/share/nvim/site runtimepath^=~/.vim
\ runtimepath-=~/.vim/after
\ runtimepath+=~/.local/share/nvim/site/after runtimepath+=~/.vim/after
let &packpath = &runtimepath
endif
let g:python3_host_prog='/Users/sanskar/.pyenv/shims/python3'
let g:python_host_prog='/Users/sanskar/.pyenv/shims/python'
hi NonText guifg=bg
set fillchars+=vert:│
set guicursor=i:ver1
autocmd FileType python setlocal formatoptions+=o