.
This commit is contained in:
@@ -1,32 +1,28 @@
|
||||
vim9script
|
||||
|
||||
# if utils#hasplug('fuzzyy')
|
||||
g:files_respect_gitignore = 1
|
||||
g:files_only_git_files = 1
|
||||
g:fuzzyy_menu_matched_hl = 'error'
|
||||
g:fuzzyy_dropdown = 1
|
||||
g:enable_fuzzyy_MRU_files = 1
|
||||
g:fuzzyy_window_layout = {
|
||||
FuzzyFiles: {
|
||||
width: 0.8,
|
||||
},
|
||||
FuzzyMRUFiles: {
|
||||
preview: 1,
|
||||
},
|
||||
FuzzyBuffers: {
|
||||
preview: 1,
|
||||
width: 0.8,
|
||||
preview_ratio: 0.5,
|
||||
},
|
||||
FuzzyGrep: {
|
||||
preview: 1,
|
||||
width: 0.8,
|
||||
preview_ratio: 0.5,
|
||||
},
|
||||
}
|
||||
g:fuzzyy_buffers_keymap = {
|
||||
'delete_buffer': "\<c-g>",
|
||||
'close_buffer': "\<c-l>",
|
||||
}
|
||||
nnoremap <silent> <leader>fl :FuzzyCmdHistory<CR>
|
||||
# endif
|
||||
highlight link fuzzyyMatching error
|
||||
g:fuzzyy_dropdown = 1
|
||||
g:enable_fuzzyy_MRU_files = 1
|
||||
g:fuzzyy_window_layout = {
|
||||
FuzzyFiles: {
|
||||
width: 0.8,
|
||||
},
|
||||
FuzzyMRUFiles: {
|
||||
preview: 1,
|
||||
},
|
||||
FuzzyBuffers: {
|
||||
preview: 1,
|
||||
width: 0.8,
|
||||
preview_ratio: 0.5,
|
||||
},
|
||||
FuzzyGrep: {
|
||||
preview: 1,
|
||||
width: 0.8,
|
||||
preview_ratio: 0.5,
|
||||
},
|
||||
}
|
||||
g:fuzzyy_buffers_keymap = {
|
||||
'delete_buffer': "\<c-g>",
|
||||
'close_buffer': "\<c-l>",
|
||||
}
|
||||
nnoremap <silent> <leader>fl :FuzzyCmdHistory<CR>
|
||||
|
||||
@@ -181,6 +181,7 @@ call plug#begin(g:plugin_dir)
|
||||
Plug g:dotvimdir
|
||||
call plug#end()
|
||||
|
||||
|
||||
augroup InitConfig
|
||||
" Automatically install missing plugins at startup
|
||||
autocmd VimEnter *
|
||||
@@ -220,28 +221,6 @@ function s:executeLateInit()
|
||||
autocmd VimEnter * call s:lateInitHelper()
|
||||
endfunction
|
||||
|
||||
" source all vim specific config eg. gui vim
|
||||
for f in split(glob(g:dotvimdir.'/configs/*-config.vim'), '\n')
|
||||
exe 'source' f
|
||||
endfor
|
||||
|
||||
" source all vim plugin config
|
||||
for f in split(glob(g:dotvimdir.'/vim-plugin-settings/*.config.vim'), '\n')
|
||||
exe 'source' f
|
||||
endfor
|
||||
|
||||
" source all vim9 plugin configs
|
||||
if g:vim_v >= 900
|
||||
for f in split(glob(g:dotvimdir.'/vim-plugin-settings/vim9/*.config.vim'), '\n')
|
||||
exe 'source' f
|
||||
endfor
|
||||
endif
|
||||
|
||||
" source lua plugins if in neovim
|
||||
if has('nvim')
|
||||
lua require('lua-plugin-settings')
|
||||
endif
|
||||
|
||||
" source lua library
|
||||
|
||||
"""""" THEME_CONFIGURATION """"""
|
||||
@@ -300,4 +279,27 @@ end
|
||||
nnoremap <silent> <C-w>% :vsplit<CR>
|
||||
nnoremap <silent> <C-w>" :split<CR>
|
||||
|
||||
" source all vim specific config eg. gui vim
|
||||
for f in split(glob(g:dotvimdir.'/configs/*-config.vim'), '\n')
|
||||
exe 'source' f
|
||||
endfor
|
||||
|
||||
" source all vim plugin config
|
||||
for f in split(glob(g:dotvimdir.'/vim-plugin-settings/*.config.vim'), '\n')
|
||||
exe 'source' f
|
||||
endfor
|
||||
|
||||
" source all vim9 plugin configs
|
||||
if g:vim_v >= 900
|
||||
for f in split(glob(g:dotvimdir.'/vim-plugin-settings/vim9/*.config.vim'), '\n')
|
||||
exe 'source' f
|
||||
endfor
|
||||
endif
|
||||
|
||||
" source lua plugins if in neovim
|
||||
if has('nvim')
|
||||
lua require('lua-plugin-settings')
|
||||
endif
|
||||
|
||||
|
||||
call s:executeLateInit()
|
||||
|
||||
Reference in New Issue
Block a user