2017-03-17 23:52:54 +08:00
|
|
|
scriptencoding utf-8
|
2017-03-29 21:36:46 +08:00
|
|
|
let g:Lf_StlSeparator = get(g:, 'Lf_StlSeparator', { 'left': '', 'right': '' })
|
2020-01-19 18:35:50 +08:00
|
|
|
let g:Lf_StlColorscheme = get(g:, 'spacevim_colorscheme', 'default')
|
2019-10-18 00:05:29 +08:00
|
|
|
" disable default mru
|
2019-10-19 20:54:14 +08:00
|
|
|
|
|
|
|
" disable default mru, and use neomru by default
|
2019-10-18 00:05:29 +08:00
|
|
|
augroup LeaderF_Mru
|
|
|
|
autocmd!
|
2020-12-13 17:47:47 +08:00
|
|
|
autocmd FileType leaderf setlocal nonumber nowrap
|
2019-10-18 00:05:29 +08:00
|
|
|
augroup END
|
|
|
|
|
2019-10-19 20:54:14 +08:00
|
|
|
" change the leaderf Colorscheme automatically
|
|
|
|
|
|
|
|
augroup leaderf_layer_config
|
|
|
|
autocmd!
|
|
|
|
autocmd ColorScheme * let g:Lf_StlColorscheme = g:colors_name
|
|
|
|
augroup END
|
|
|
|
|
2019-10-18 00:05:29 +08:00
|
|
|
let g:Lf_PreviewResult = {
|
|
|
|
\ 'File': 0,
|
|
|
|
\ 'Buffer': 0,
|
|
|
|
\ 'Mru': 0,
|
|
|
|
\ 'Tag': 0,
|
|
|
|
\ 'BufTag': 0,
|
|
|
|
\ 'Function': 0,
|
|
|
|
\ 'Line': 0,
|
|
|
|
\ 'Colorscheme': 0
|
|
|
|
\}
|
|
|
|
|
|
|
|
let g:Lf_CommandMap = {
|
|
|
|
\ '<C-J>' : ['<Tab>'],
|
|
|
|
\ '<C-K>' : ['<S-Tab>'],
|
|
|
|
\ '<C-R>' : ['<C-E>'],
|
|
|
|
\ '<C-X>' : ['<C-S>'],
|
|
|
|
\ '<C-]>' : ['<C-V>'],
|
|
|
|
\ '<C-F>' : ['<C-D>'],
|
|
|
|
\ '<Tab>' : ['<Esc>'],
|
2021-02-09 13:06:24 +08:00
|
|
|
\ '<Esc>' : ['<C-G>'],
|
2019-10-18 00:05:29 +08:00
|
|
|
\ }
|
|
|
|
let g:Lf_HideHelp = 1
|
2021-01-02 17:58:45 +08:00
|
|
|
let g:indentLine_bufTypeExclude = ['help', 'terminal']
|