跳至主要内容

博文

目前显示的是标签为“SpaceVim”的博文

SpaceVim with NeoVim in Docker

在Docker里玩了会儿neovim+spacevim。 ``` docker run --name nvim -it --rm spacevim/spacevim nvim ``` 版本是最新的 ``` NVIM v0.7.0-dev+792-gc46f7caad Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/cc -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wst rict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-st rong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 - DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/usr/src/neovim/build/config -I/usr/src/neovim/src -I/usr/src/neovim/.deps /usr/include -I/usr/include -I/usr/src/neovim/build/src/nvim/auto -I/usr/src/neovim/build/include Compiled by root@buildkitsandbox ``` 不过启动后老报错: ``` Error detected while processing BufEnter Autocommands for "*": E117: Unknown function: LaTeXtoUnicode#Refresh startify: Can't read viminfo file. Read :help startify-faq-02 `...

Learning SpaceVim

最近一直试着用SpaceVim,在Mac上取消了自定义的vimrc,直接用 init.toml 作为配置文件。 体验下来感觉SpaceVim的配置是更高一层的,用户可以指定需要的 layer,不过有一些低一层的配置暂时还不晓得如何移植过去? ``` [options] realtime_leader_guide = 1 enable_tabline_filetype_icon = 1 enable_statusline_display_mode = 0 statusline_separator = 'slant' enable_os_fileformat_icon = 1 buffer_index_type = 1 colorscheme = 'koehler' enable_vimfiler_welcome = 1 enable_debug = 1 guifont = 'Hack\ Regular\ Nerd\ Font\ Complete:h14' bootstrap_before = "spcvm#autoformat" [[layers]] name = 'ctrlp' [[layers]] name = 'git' [[layers]] name = 'lang' [[layers]] name = 'lang#javascript' on_ft = ['js', 'javascript'] [[layers]] name = 'lang#typescript' on_ft = 'ts' [[layers]] name = 'lang#json' on_ft = ['json', 'jsonp'] [[layers]] name = 'lang#java' o...