Open geekpy opened 6 months ago
您好!您的邮件已收到,我将会尽快地进行处理,谢谢来信!
I figured out the problem. I found that the .vimrc file lost the following code snippet
" Environment {
" Identify platform {
silent function! OSX()
return has('macunix')
endfunction
silent function! LINUX()
return has('unix') && !has('macunix') && !has('win32unix')
endfunction
silent function! WINDOWS()
return (has('win32') || has('win64'))
endfunction
" }
" Basics {
set nocompatible " Must be first line
if !WINDOWS()
set shell=/bin/sh
endif
" }
" Windows Compatible {
" On Windows, also use '.vim' instead of 'vimfiles'; this makes synchronization
" across (heterogeneous) systems easier.
if WINDOWS()
set runtimepath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/.vim/after
endif
" }
" Arrow Key Fix {
" https://github.com/spf13/spf13-vim/issues/780
if &term[:4] == "xterm" || &term[:5] == 'screen' || &term[:3] == 'rxvt'
inoremap <silent> <C-[>OC <RIGHT>
endif
" }
" }
" Use before config if available {
if filereadable(expand("~/.vimrc.before"))
source ~/.vimrc.before
endif
" }
" Use bundles config {
if filereadable(expand("~/.vimrc.bundles"))
source ~/.vimrc.bundles
endif
" }
After I added the snippet manually, the vim worked well. Although this bug still need to be fixed, but it will no bother me any more.
Hi, OS: MacOS 14.3.1 (23D60) Vim: VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 18:57:50)
I installed the spf13 like below:
after installation, I tried to open the .vimrc like below:
I tried to reinstalled for another 2 times, but it still had those errors, how can I fix them?