GVIM在不同的机器上调用时需要时间吗?

时间:2014-06-19 09:27:49

标签: user-interface vim vi

作为我工作的一部分,我将拥有多个终端,可以登录网络中的各种机器。我观察到GVIM gui在从与之前的gvim调用不同的机器调用时需要时间来启动。

如果我首先在machine1上调用gvim而在machine2上调用next,那么第二个gvim调用需要时间来打开gvim GUI。现在,如果我再次在machine2上调用gvim,我没有看到任何问题,它会快速打开。

我使用gvim --startuptime gvim.log并发现调用GUI需要更多时间。

077.501  000.210  000.210: sourcing /cpd/misc/share/vim/vim74/plugin/vimballPlugin.vim
079.475  000.376  000.376: sourcing /cpd/misc/share/vim/vim74/plugin/zipPlugin.vim
079.541  020.108: loading plugins
079.547  000.006: inits 3
097.793  001.193  001.193: sourcing $VIMRUNTIME/menu.vim
9586.733  9505.993: starting GUI
9587.988  001.255: reading viminfo
9589.083  001.095: GUI delay
9591.074  001.991: register server name
9591.076  000.002: setting raw mode
9591.077  000.001: start termcap
9591.132  000.055: clearing screen
9591.193  000.061: opening buffers
9591.278  000.085: BufEnter autocommands
9591.283  000.005: editing files in windows
9592.790  001.507: VimEnter autocommands
9592.796  000.006: before starting main loop
9641.761  048.965: first screen update
9641.766  000.005: --- VIM STARTED ---

我正在使用vim 7.4

有人可以告诉我如何解决这个问题?

PS:我没有在emacs中看到这个问题。

编辑:这些是我的gvim编译的选项。

+ arabic + autocmd + balloon_eval + browse ++ builtin_terms + byte_offset + cindent + clientserver + clipboard + cmdline_compl + cmdline_hist + cmdline_info + comments  + cryptv + cscope + cursorshape + dialog_con_gui + diff + digraphs + dnd -ebcdic + emacs_tags + eval + ex_extra + extra_search + farsi + file_in_path + find_in_path + folding -footer + fork()+ gettext -hangul_input + iconv + insert_expand + jumplist + keymap + langmap + libcall + linebreak + lispindent + listcmds + localmap + menu  + mksession + modify_fname + mouse + mouseshape + mouse_dec + mouse_gpm -mouse_jsbterm + mouse_netterm + mouse_xterm + multi_byte + multi_lang -mzscheme -netbeans_intg -osfiletype + path_extra + perl + postscript + printer + profile + python + quickfix + reltime + rightleft -ruby + scrollbind + signs + smartindent -sniff + statusline -sun_workshop + syntax + tag_binary + tag_old_static -tag_any_white -t​​cl + terminfo + termresponse + textobjects + title + toolbar + user_commands + vertsplit + virtualedit + visual + visualextra + viminfo + vreplace + wildignore + wildmenu + windows + writebackup + X11 -xfontset + xim

0 个答案:

没有答案