Questions tagged [startup]

Activity that occurs after invocation but before the first document is displayed

77 questions
64
votes
4 answers

How can I get Vim to ignore all user configuration, as if it were freshly installed?

In order to ensure that behaviour is not affected by my personal config, I want to start Vim in a way that ignores all my user-installed config files, as if Vim had just been freshly installed for the first time and the user had run it…
Rich
  • 31,891
  • 3
  • 72
  • 139
5
votes
1 answer

Interpreting the output when using --startuptime

When I use the --startuptime option, vim generates an output file. I've included an example at the bottom of this post. How can I interpret the output? I can't find documentation to verify my assumptions (I checked :help startuptime). The…
dannyadam
  • 482
  • 2
  • 6
2
votes
1 answer

Intermittent slow startup

I have a strange issue. Sometimes (not every time, but often enough) the startup is extremely slow (ten seconds or more). Most of the time, when I run vim next time, it starts reasonably fast. Then in a few minutes or hours it starts up slowly…
2
votes
2 answers

Incremental search for text from the command line

I'm trying to create a zsh alias that will start vim and search backwards from the end of the file for a given string. I learnt about +normal and can do something like this to start vim at the end of the file: vim "+normal G" log But I'm not able…
jogloran
  • 123
  • 4
1
vote
1 answer

Why is my Vim startup dominated by "first screen update"?

I'm trying to investigate why Vim startup is pretty slow. vim -u NONE and the like are extremely fast as expected, so it is obviously my config/plugins, but what strikes me, is that most of the time is spent on first screen update. Some stats: Using…
fbence
  • 677
  • 4
  • 12
1
vote
0 answers

Weird sequence of characters temporarily when opening file

I know the title isn't all too descriptive but I don't have a better way to describe it. Whenever I open a file with vim (but interestingly not nvim), a bizarre sequence of characters shows under the cursor until I take my first action in the file,…
0
votes
1 answer

Press ENTER each time Vim starts

Each time Vim (v8.2) starts, it shows a subset of my key bindings, and awaits a keypress, like this: n * za n , * :nohlsearch n Q * Press ENTER or type command to continue" In GVim on Windows 10, it…
mwil.me
  • 101
  • 1
0
votes
0 answers

How to prevent certain files from being sourced

I am not happy with the behavior of the indent/html.vim file, so I made a custom one in ~/.vim/indent/html.vim. However, vim -V2 still revealed to me that the /usr/share/vim/vim80/indent/html.vim is still sourced. How do I prevent the latter from…