Also, the :version command mentions the name of the "user vimrc file" Vim looks for.įor Unix and Macintosh this file is always used and is recommended: ~/.vimrcįor MS-Windows you can use one of these: $HOME/_vimrc If you don't have a vimrc file yet, see vimrc to find out where you can create a vimrc file. If you already have a vimrc file (e.g., when your sysadmin has one setup for you), you can edit it this way: :edit $MYVIMRC Vim executes the commands in this file when it starts up. To start Vim with all your favorite option settings and mappings, you write them in what is called the vimrc file. You probably got tired of typing commands that you use very often.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |