Repository navigation
Expand file tree
/
Copy pathinit.vim
More file actions
45 lines (36 loc) · 1.49 KB
/
Copy pathinit.vim
File metadata and controls
45 lines (36 loc) · 1.49 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
""" Genja Nvim config loader
"""
""" stdpath('config') + nvim\init.vim
"""
"""
highlight Normal guibg=#1E1E2E guifg=#CDD6F4 " Catppuccin Mocha
highlight Normal guibg=#1A1B26 guifg=#C0CAF5 " Tokyo Night
highlight Normal guibg=#0D1117 guifg=#E6EDF3 " GitHub Dark
highlight Normal guibg=#0D1117 guifg=#C0CAF5 ctermbg=233 ctermfg=153 " Tokyo Night GitHub Dark
colorscheme lunaperche
" source <sfile>:h/lua/genja/hilite.vim
let maplocalleader = ","
let mapleader = "\<Space>"
"let &guifont = "Cascadia Code:h12:l" " set guifont=
let &guifont = "JetBrainsMono NFM:h12" " set guifont=
let &errorfile = expand('~/Desktop/nvim.log') " log to a visible path
let g:genja_enable_autoresource = v:true " reload configs after save
if has('nvim') == 1 | lua << EOF
do
local Safeload = require('genja.api').Safeload
Safeload('lazy-boot') -- lazy plugin manager
if not Safeload('genja') then -- nvim profile
Safeload 'genja.map-zero' -- stable-ish maps
Safeload 'genja.map-lsp' -- code navigation maps
Safeload 'genja.map-telescope' -- make telescope easier to use
Safeload 'genja.map-convoluted' -- esoteric keymaps
Safeload 'genja.opt' -- vim config options
vim.cmd('source '.. vim.fn.stdpath('config') .. '/lua/genja/vimrc.almalinux.vim')
end
end
EOF
else
" legacy one-file config for vim9 and earlier
source <sfile>:h/lua/genja/vimrc.almalinux.vim
endif
" source <sfile>:h'/ginit.vim'