Open loohoo opened 8 years ago
..... 是不是你的&runtimepath路径不对?
why you know I am chinese?because my en 很烂哈哈?这问题是重装系统之后出现的,同样是win10家里的gvim却可以跑。而且配置跟插件是云同步的。启动gvim并没有报错,是没有任何反应。
不能跑的是什么系统
确实英文比较烂。。。
win10 系统。
vimrc呢
set fileencodings=utf-8,gbk2312,gbk,gb18030,cp936 set encoding=utf-8 set fileencoding=utf-8
set langmenu=en_Us let $LANG='en_US'
set nocompatible
set fileformats=dos,unix,mac ""! must after set nocompatible
exe 'set runtimepath+='. g:myruntimepath
" seam minibufexpl has bug let g:pathogen_blacklist = [ \'#auto-pairs', \'#bufexplorer', \'#ctrlp.vim', \'ctrlp-ghq', \'#ctrlp-filer', \'#dbg.vim', \'emment', \'flappyvird', \'#html5', \'#l9lib', \'lightline.vim', \'minibufexpl', \'mru', \'navbuf', \'#nerdcommenter', \'#nerdtree', \'project', \'SingleCompile', \'snipmate.vim', \'#tlib_vim', \'ultisnips', \'vim-addon-mru', \'#vim-addon-mw-utils', \'#vim-airline', \'vimbuddy', \'vim-colors-solarized', \'vim-fuzzyfinder', \'vimim', \'#vim-indent-guides', \'vim-powerline', \'vim-smartusline', \'vim-snipmate', \'vim-snippets', \'#vimwiki', \'vtreeexplorer', \'vundle']
call pathogen#infect('bundle/{}', '{after}')
filetype plugin on filetype indent on filetype on
syntax on
" Powerline setting {{{1
let g:Powerline_symbols='compatible'
" }}}1
" vim-airline setting {{{1
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#whitespace#checks = []
let g:airline#extensions#tabline#left_sep = '' let g:airline#extensions#tabline#left_alt_sep = '' let g:airline#extensions#tabline#right_sep = '' let g:airline#extensions#tabline#right_alt_sep = ''
"let g:airline_left_sep = '»' "let g:airline_left_sep = '▶' "let g:airline_right_sep = '«' "let g:airline_right_sep = '◀'
let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = ''
if has('gui_running') || &term=='xterm' let g:airline_powerline_fonts = 0 "dark simple light badwolf powerlineish solarized luna wombat "molokai bubblegum jellybeans laederon ubaryd tomorrow base16 murmur sol let g:airline_theme='luna' else let g:airline_powerline_fonts = 0 let g:airline_theme='base16' endif " }}}1
"let g:vimim_mode='dynamic' "let g:vimim_mode='static
"indent guides setting let g:indent_guides_guide_size = 1
set guioptions-=m set guioptions-=T set guioptions-=r set guioptions-=R set guioptions-=l set guioptions-=L
set linebreak
set nobackup
set laststatus=2
set showcmd " Show (partial) command in status line. set showmatch " Show matching brackets. set ignorecase " Do case insensitive matching set smartcase " Do smart case matching set smartindent set autoindent set cindent set incsearch " Incremental search
set autowrite " Automatically save before commands like :next and :make "set hidden " Hide buffers when they are abandoned "set mouse=a " Enable mouse usage (all modes) "
set hls set cursorline set relativenumber "cause performace issue set expandtab set tabstop=4 set shiftwidth=4 set ruler " too short time may lead some problem such as mapleader set notimeout "set timeoutlen=1 set backspace=2
"set scrolloff=999
set helplang=cn set iminsert=0 imsearch=0
set browsedir=buffer
"set autochdir
set t_Co=256
set background=light "colorscheme solarized "colorscheme rexcolor colorscheme galaxy """galaxy setting{{{1 let g:glaxy_enable_statusline=0 let g:galaxy_statusline_hl_insert=0 """}}}
let mapleader="," let g:NERDTreeDirArrows=0
map
inoremap
" move cursor between splited window
inoremap
inoremap
inoremap
nnoremap
nnoremap siw "_yiw nnoremap si" "_yi" nnoremap si' "_yi' nnoremap si( "_yi( nnoremap si[ "_yi[ nnoremap si{ "_yi{ nnoremap si< "_yi< vnoremap sy "_y
nnoremap saw "_yaw nnoremap sa" "_ya" nnoremap sa' "_ya' nnoremap sa( "_ya( nnoremap sa[ "_ya[ nnoremap sa{ "_ya{ nnoremap sa< "*ya<
nnoremap sp "_p vnoremap sp "_p
vnoremap pp p nnoremap pp p nnoremap piw viwp nnoremap pi" vi"p nnoremap pi' vi'p nnoremap pi( vi(p nnoremap pi[ vi[p nnoremap pi{ vi{p nnoremap pil Vp
nnoremap H
inoremap
"+-= for unix like term
for i in range(48, 57) + range(97, 122) + [43,44,45,46,59,61,95]
exec "set <M-".nr2char(i).">=
noremap <M-=>
inoremap
inoremap
inoremap
inoremap
inoremap
inoremap
inoremap
inoremap
"inoremap
"inoremap
"inoremap
nnoremap <M-;> A;
nnoremap
inoremap
inoremap <M-.>
vnoremap
" affter installed bufexplorer
noremap
"" show mru list
"nnoremap
" CtrlP.vim setting {{{1
inoremap
inoremap
inoremap
inoremap
inoremap
let g:ctrlp_prompt_mappings = {
\ 'PrtBS()': [''],
\ 'PrtDeleteWord()': ['
let g:ctrlp_clear_cache_on_exit = 0 let g:ctrlp_lazy_update = 0 let g:ctrlp_use_caching = 1 let g:ctrlp_default_input = 1 "let g:ctrlp_working_path_mode = 'w' let g:ctrlp_open_multiple_files = 'h' let g:ctrlp_open_new_file = 'h' let g:ctrlp_open_multiplefiles='1h' set wildignore+=/tmp/,.so,_.swp,*.zip let g:ctrlp_custom_ignore = { \ 'dir': '\v[\/].(git)$', \ 'file': '\v.(log|jpg|png|jpeg)$', \ } let g:ctrlp_max_files=200 let g:ctrlp_max_depth=2 let g:ctrlp_match_window = 'bottom,order:ttb,min:1,max:25,results:25' let g:ctrlp_max_history = &history ""t in new tab, h in new hori split, v in new vert split, r in curr window let g:ctrlp_open_new_file = 'v' "if has('win32') " let g:ctrlp_user_command = 'dir %s /-n /b /s /a-d' " Windows "elseif has('unix') " let g:ctrlp_user_command = 'find %s -type f' " MacOSX/Linux "endif " "ctrlp-filter let g:ctrlp_filer_disable_lcd = 0
" }}}1 "=============================================================================
"dbg.vim setting let g:dbg#command_shell = 'cmd.exe' let g:dbg#shell_prompt = '> '
let g:dbg#command_jdb = 'jdb' let g:dbg#command_gdb = 'gdb' let g:dbg#command_fdb = 'C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\bin\fdb.exe'
""" single complile setting {{{ "call SingleCompile#SetPriority('html', 'firefox', 40) """}}}
""" fuzzyfinder setting {{{
let g:fuf_modesDisable=[
\'mrucmd',
\'tag',
\'help',
\'changelist',
\'jumplist',
\'taggedfile',
\'bcoveragefile',
\'callbackfile',
\'callbackitem'
]
let g:fuf_indicator = ''
let g:fuf_mrufile_maxItem = 400
let g:fuf_mrucmd_maxItem = 400
nnoremap
""NerdTreeToggle
inoremap
""" SingCompole setting{{{1
"nmap
"vimwiki config
let s:wikidocpath = expand("
let g:vimwiki_list = [{ \'path':s:wikidocpath, \'template_path':s:wikidocpath . '/template', \'template_default':s:wikidocpath . '/default_template', \'template_ext':'.html', \'path_html':s:wikidocpath . '/html/'}]
let g:vimwiki_camel_case = 0
let g:vimwiki_hl_cb_checked = 1
let g:vimwiki_menu = ''
let g:vimwiki_folding = 'expr'
let g:vimwiki_CJK_length = 1
let g:vimwiki_valid_html_tags='b,i,s,u,sub,sup,kbd,del,br,hr,div,code,h1'
autocmd BufWinEnter *.as setfiletype actionscript
"let g:UltiSnipsExpandTrigger="
" PlantUML setting
"autocmd Filetype plantuml nnoremap
autocmd Filetype plantuml nnoremap
cd $HOME set lines=45 set columns=102
"上传不了附件我就贴上来了
g:myruntimepath 你设置了吗
let g:bdypath='f:/rorex_dbank/_vim' " 同步盘目录
let g:myruntimepath=g:bdypath . '/vimfiles'
let g:myvimrc=g:bdypath . '/myvimrc' "
if filereadable(g:myvimrc) execute 'source ' . g:myvimrc endif
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h11
set backupdir=C:\Windows\Temp set directory=C:\Windows\Temp
let g:alpha=200 function ChangeTransparent() call libcallnr("vimtweak.dll", "SetAlpha", g:alpha) let g:alpha += 10 if g:alpha == 250 let g:alpha = 200 endif endfunction
noremap
。。colorv没引用吧? 是不是colorv装的位置不对?
所有插件都git到bundle下面的,包括colorv。
没看出问题。。我win10用的是https://github.com/junegunn/vim-plug ,以前用的是vundle,目测都可以。
ok,谢谢你。我回去慢慢研究下
I have no idea why gvim could not launch. howevery, after I remove colorv, gvim run fine. myVimLog.zip