How to Start Vim temporarily without settings or plugins

Sometime you want temporarily to disable your vimrc without loading any of my plugins or settings. In this article, we will see how can we do that

Ahmed Abdulrahman
Ahmed Abdulrahman
Jan 4th, 2020 • ☕️ 1 min read
vimnvimshell

When you run vim, your .vimrc file gets read and executed only once. If you want to nullify and temporarily to disable your .vimrc without loading any of my plugins or settings you need to, just use another environment by passing -u flag:

1# starts VIM without initializing vimrc
2vim -u NONE

You can also start vim with alternative vimrc file

1vim -u ~/.vimrcnew

or if you want to start VIM without any vimrc, but with plugins

1vim -u NORC

This is really handy when you when to record screencast showing default view of vim without deleting your config file.


Discuss on TwitterFollow @_ahmed_ab

Other things I've written