Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Win10 installs the gvim editor

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Download the gvim installation package

Official address: https://vim.sourceforge.io/download.php

Create download address (heard that this is used by a large number of people) (need to restart vim after installation is complete) (only gvim): https://downloads.sourceforge.net/project/cream/Cream/0.43/cream-0-43-gvim-7-3-107.exe?r=http%3A%2F%2Fcream.sourceforge.net%2Fdownload.html&ts=1515339972&use_mirror=nchc

32, 64-bit download address (installation-free) (with gvim and vim) (vim does not have a toolbar): https://github.com/vim/vim-win32-installer/releases/tag/v8.0.0003

Windows installation is very simple.

The following actions are based on the installation-free version

Generate the master configuration file

Copy the vimrc_example.vim file and rename

Rename Unix and OS/2 to .vimrc

MS-DOS and Win32 is renamed to _ vimrc

Common plug-ins install pathogen.vim plug-ins (a vim plug-in manager plug-in)

(compressed package) download pathogen.vim (https://github.com/tpope/vim-pathogen)

Extract the file

Plug-in under the vim installation directory a bundle directory dedicated to managing plug-ins

Put the pathogen.vim file in the autoload directory

Modify the _ vim file

Add this to your vimrc:

Execute pathogen#infect ()

If it is not placed in the specified directory, you need to specify that the file shall prevail.

Runtime path/to/pathogen.vim

Then you can install other plug-ins.

Plug-ins can be found on the official website: https://vim.sourceforge.io/scripts/index.php

If you know the name, you can use search to find it.

Install the project plug-in (project management plug-in)

Download and extract project-1.4.1.tar.gz

Copy the project file from the extracted doc directory to the doc directory of the vim installation directory

Copy the project.vim under the plugin directory to the plugin directory of the vim installation directory

Use for the first time:

Open the editor

Input: Project

Enter\ C (is\ backslash and uppercase C, because it is a command, it cannot be seen, and there will be a pop-up window after successful execution)

Enter the Name of the Entry: enter a project name

Enter the Absolute Directory to Load: enter the file directory path of the project (the directory needs to be created first)

Enter the CD parameter: this is the same as the project directory path

Enter the File Filter: set the file types for management, * .txt,*.sh, etc. You can set multiple file types. If you don't set them (enter directly), default is all types.

Use again: after opening vim, enter: Project

Use Enter to hit the meeting close tag.

Refresh with\ R after adding files.

For details, please see project.txt

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report