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 growth path from a Linux novice to a Linux ma...
This article shares the specific code of JavaScri...
1. Introduction It has been supported since versi...
I recently encountered a strange thing when debug...
Effect There are currently 2 projects (project1, ...
Preface This article will explain how Vue compone...
Here, I have mainly sorted out some commonly used...
Get the mongo image sudo docker pull mongo Run th...
Several Differences Between MySQL 5.x and MySQL 8...
In the vertical direction, you can set the alignm...
View the installation information of mysql: #ps -...
Table of contents Deploy httpd with docker contai...
Table of contents background 1. Document Descript...
This article shares the specific code of the firs...
1. Introduction to mysqldump mysqldump is a logic...