1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/config/plugins/LeaderF.vim

40 lines
964 B
VimL
Raw Normal View History

2017-03-17 23:52:54 +08:00
scriptencoding utf-8
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!
autocmd FileType leaderf setlocal nonumber
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>'],
\ }
let g:Lf_HideHelp = 1