Skip to content

No full log with Vim due to usage of -u without -N #8

@blueyed

Description

@blueyed

Vim's log stops at setting raw mode for me:

Log 1/10 >
  times in msec
   clock   self+sourced   self:  sourced script
   clock   elapsed:              other lines
  
  000.005  000.005: --- VIM STARTING ---
  000.069  000.064: Allocated generic buffers
  000.132  000.063: locale set
  000.146  000.014: GUI prepared
  000.148  000.002: clipboard setup
  000.150  000.002: window checked
  000.430  000.280: inits 1
  000.470  000.040: parsing arguments
  000.471  000.001: expanding arguments
  000.483  000.012: shell init
  000.614  000.131: Termcap init
  000.647  000.033: inits 2
  001.397  000.750: init highlight
  004.790  002.947  002.947: sourcing /home/user/.vim/autoload/plug.vim
  009.861  000.110  000.110: sourcing /usr/share/vim/vim80/pack/dist/opt/matchit/plugin/matchit.vim
  009.940  000.660  000.550: sourcing /usr/share/vim/vim80/macros/matchit.vim
  012.225  010.741  007.134: sourcing /home/user/.vimrc
  012.238  000.100: sourcing vimrc file(s)
  013.508  001.041  001.041: sourcing …/lib/fzf/plugin/fzf.vim
  014.513  000.507  000.507: sourcing /home/user/.vim/plugin/delayed_cursorline.vim
…
  016.725  001.752: loading plugins
  016.780  000.055: loading packages
  017.367  000.477  000.477: sourcing /home/user/.vim/after/plugin/after.vim
…
  017.428  000.147: loading after plugins
  019.501  002.073: inits 3
  024.420  004.919: setup clipboard
  024.448  000.028: setting raw mode

It turns out that this is caused due to the explicit usage of -u (with $MYVIMRC), but not using -N (and my vimrc having no set nocompatible).

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 26 2018 23:00:19)
Included patches: 1-1542
Compiled by Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions