1. Go to Vim's official website to download the executable file suitable for the operating system Address: https://www.vim.org/download.php#pc 2. Find the vimrc file in the Vim folder and modify it, adding the following 4 lines.
3. Create a new profile.ps1 file in the C:\Windows\System32\WindowsPowerShell\v1.0 directory and copy the following code into the profile.ps1 file. # There's usually much more than this in my profile! $SCRIPTPATH = "C:\Program Files (x86)\Vim" $VIMPATH = $SCRIPTPATH + "\vim80\vim.exe" Set-Alias vi $VIMPATH Set-Alias vim $VIMPATH # for editing your PowerShell profile Function Edit-Profile { vim $profile } # for editing your Vim settings Function Edit-Vimrc { vim $home\_vimrc } 4. Restart Shell and execute the Set-ExecutionPolicy RemoteSigned command to change the mode. Set-ExecutionPolicy RemoteSigned The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: js tag syntax usage details
>>: HTML tutorial, easy to learn HTML language
The root account of mysql, I usually use localhos...
Often, after a web design is completed, the desig...
After learning the basic operations of Docker, we...
Table of contents 1. Introduction 2. Understand t...
1. Introduction When filtering unknown or partial...
1. Download MySQL from the official website: This...
Table of contents introduce Example Summarize int...
A simple calculator written in WeChat applet for ...
1. A container is an independently running applic...
Table of contents Basic concepts of components Th...
1. Unzip the zip package to the installation dire...
Two problems that are easy to encounter when inst...
I believe everyone is familiar with database inde...
Every website usually encounters many non-search ...
In js, set the user to read a certain agreement b...