mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
parent
92aa47e3dc
commit
36d138771b
@ -139,9 +139,13 @@ function! s:major_mode() abort
|
||||
endfunction
|
||||
|
||||
function! s:modes() abort
|
||||
let m = ' ❖ '
|
||||
if g:spacevim_statusline_unicode_symbols
|
||||
let m = ' ❖ '
|
||||
else
|
||||
let m = ' # '
|
||||
endif
|
||||
for mode in s:loaded_modes
|
||||
if g:spacevim_statusline_unicode_symbols == 1
|
||||
if g:spacevim_statusline_unicode_symbols
|
||||
let m .= s:modes[mode].icon . ' '
|
||||
else
|
||||
let m .= s:modes[mode].icon_asc . ' '
|
||||
|
@ -62,12 +62,17 @@ if !exists('g:startify_custom_header')
|
||||
endif
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['a','s'], 'Startify | doautocmd WinEnter', 'fancy start screen',1)
|
||||
|
||||
function! FileIcon(path)
|
||||
let icon = s:FILE.fticon(a:path)
|
||||
return empty(icon) ? ' ' : icon
|
||||
endfunction
|
||||
if g:spacevim_enable_tabline_filetype_icon
|
||||
|
||||
function! FileIcon(path)
|
||||
let icon = s:FILE.fticon(a:path)
|
||||
return empty(icon) ? ' ' : icon
|
||||
endfunction
|
||||
|
||||
function! StartifyEntryFormat()
|
||||
return 'FileIcon(entry_path) ." ". entry_path'
|
||||
endfunction
|
||||
|
||||
endif
|
||||
|
||||
function! StartifyEntryFormat()
|
||||
return 'FileIcon(entry_path) ." ". entry_path'
|
||||
endfunction
|
||||
" vim:set et sw=2:
|
||||
|
@ -15,17 +15,18 @@
|
||||
background = "dark"
|
||||
# Disable guicolors in basic mode, many terminal do not support 24bit
|
||||
# true colors
|
||||
guicolors = false
|
||||
enable_guicolors = false
|
||||
# Disable statusline separator, if you want to use other value, please
|
||||
# install nerd fonts
|
||||
statusline_separator = "nil"
|
||||
statusline_inactive_separator = "bar"
|
||||
buffer_index_type = 4
|
||||
windows_index_type = 3
|
||||
enable_tabline_filetype_icon = false
|
||||
statusline_display_mode = false
|
||||
enable_statusline_display_mode = false
|
||||
statusline_unicode_symbols = false
|
||||
# Enable vim compatible mode, avoid changing origin vim key bindings
|
||||
vimcompatible = 1
|
||||
|
||||
vimcompatible = true
|
||||
# Enable autocomplete layer
|
||||
[[layers]]
|
||||
name = 'autocomplete'
|
||||
|
@ -15,14 +15,14 @@
|
||||
background = "dark"
|
||||
# Disable guicolors in basic mode, many terminal do not support 24bit
|
||||
# true colors
|
||||
guicolors = true
|
||||
enable_guicolors = true
|
||||
# Disable statusline separator, if you want to use other value, please
|
||||
# install nerd fonts
|
||||
statusline_separator = "arrow"
|
||||
statusline_inactive_separator = "arrow"
|
||||
buffer_index_type = 4
|
||||
enable_tabline_filetype_icon = true
|
||||
statusline_display_mode = false
|
||||
enable_statusline_display_mode = false
|
||||
|
||||
# Enable autocomplete layer
|
||||
[[layers]]
|
||||
|
Loading…
Reference in New Issue
Block a user