The method is simple enough to add the following code to the _VIMRC:""""""""""""""""""""""""""""""Solve the Chinese garbled problem under windows
The code is as follows
Copy Code
"""""""""""""""""""""""""""""Set Encoding=
Vim working mode (diagram)650) this.width=650; "title=" 1.png "alt=" 1.png "src=" http://ask.apelearn.com/uploads/questions/20161121/ Af81c577bb73dc91582301c824210ebb.png "/>Vim three modes: Command mode, input mode, last line modeCommand line mode:
Vim General mode:(1) Press the X key to delete the contents of the bank (backward delete)(2) press SHIFT + X to delete the previous contents of the bank (delete forward)(3) Press the number n and then press the X key to remove the N characters
One. Cut:1. To delete from the current cursor to the next word, enter: DW2. To delete from the current cursor to the end of the current line, enter: d$3. To delete the entire row, enter: DD//can use DND to delete multiple rows n for the number of
/************************************************************************* * Ubuntu Vim Copy to System Pasteboard * Description: * The content of Vim is copied to another application, before the general use of the mouse, now or instead of using the
From yesterday afternoon to now has been studying vim, beginner, from the most basic of vim command start to look at. is learned through the vimtutor.When I see the last chapter, I find the tip of the iceberg in the knowledge and knowledge of
Record your own youcompleteme installation steps:Vim does not have the code auto-completion function is very uncomfortable.1, first clear: The MAC comes with Vim is 7.3 version, and Youcompleteme installation requires more than 7.3 version of Vim.
Experimental system version and VIM version System: CentOS6.3 vim:7.2 Plug-in introduction (Attach a photo) Nerdtree (plugin for navigating the directory structure on the left side of the window) Solarized (a vim theme that you think is more
[ESC] Command mode1. J K H L up or down2. x Delete Current character I enter edit mode a current word specifier insert3. Action options for the D motion delete operator operator1. DW is removed from the cursor to the beginning of the next word,
1. Vim IntroductionVim (Visual Interface improved) is an exceptionally powerful text editor, if everyone's understanding of it is still in the editing of files, and then quit the stage, it is too sorry for vim, but instead of using the nano to the
Vim simple and practical & write code with VIMVI 1.c set up 1.c to enter terminal instruction modePress ESC to enter instruction modePress ESC and press: Enter command line modePress I to enter edit mode (Press I to enter, the cursor does not move.)
Vim's common mode is divided into command mode, insert mode, visual mode, Normal mode. In this tutorial, you only need to use Normal mode and insert mode. Switching between the two can help you to complete this guide's learning.
Normal
Failure phenomena:Use Vim to modify the file error, the system prompts the following:E37:no write since last change (add! To override)Cause of failure:The file is a read-only file and cannot be modified.Workaround:Use the command: w! to force the
(Disclaimer: This article is for Linux users such as Ubuntu)Three modes used by VIM:1. General Instruction Mode2. Edit mode3. Instruction-column Command modeVim's easy steps to walk:Simple command: (I think it's better for beginners to put it in
Vim operation modeCOMMAMD Mode-Command modesInsert mode-Input modesLast line mode-bottomI,o: Enter input modeEXC: Enter the bottom row modeIn command mode DD: Delete the current line where the cursor is located "Other reference vim common"H,J,K,L:
" This article declined to reprint Original from http://990487026.blog.51cto.com"Steps:1,windo ws platform installation notepad++2,notepad++ Installing the FTP plugin3, Set login properties4, create file, set encoding5, edit the file, compile and
Refer to the instructions in the Vim-7.4.1786-20160425\\src\\installpc.txt file to compile
Download vim code git clone https://github.com/vim/vim.git vim-gitGit archive--format=zip--output=. /vim-7.4.1786-20160425.zip HEAD
Compile Vim
In command line mode:% The current complete file name%: H indicates the header of the file name, that is, the file directory. For example, ../path/test. c will be ../path%: The end of t file name. For example, ../path/test. c will be test. c%: R
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service