A few days ago I was well equipped with vim as a C language development environment, add a few plug-ins, syntax highlighting, font size are changed, in the gvim under the very comfortable, in the graphical interface of the terminal window using Vim
Learn the Vim tool using the Vimtutor command1, K on J Lower H left L right;2, I inserted before the cursor, a after the insertion of the cursor;3. I insert the cursor at the beginning of the line, a moves the cursor to the end of the row, E jumps
Vim highlighting the syntax structure of nginx configuration file1. Download vi syntax highlighting configuration file to ~/.vim/syntaxNote: Create the directory if it does not exist#cd ~/.vim/syntax#wget
Well, these two days in the "Concise Python tutorial," the author suggests writing code when the previous comment write the file name, write the call interpreter, such as:Well, then of course I can not create a new file every time, it is necessary
Today, Adobe's brackets,sublime text and other editors were used under Linux, and it was still inappropriate to find out. So I thought of vim.First of all, I'm using the derivative version of Ubuntu: Linux Mint 17.Then start installing Vim,linux
Users who have just turned to Linux from Windows may have a bad place, that is, the cursor in the terminal and Vim is the width of a character, very coarse, at the time of input it is easy to find the current input characters will appear in the
Emacs's first words: the comparison between Emacs and Vim
Emacs's first words: the comparison between Emacs and VimHalf a year ago, when I first started using Linux, I heard that Linux didn't use the IDE. It's all about using Vim/emacs. Scratched
When using VI on the putty, when opening numlock, press the numeric key on the keypad and not enter a number, but a letter and then newline (in fact, the command mode corresponds to the upper and lower keys). WorkaroundOption Terminal->features,
Advanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient:: QX starts recording macro and registers the result in register XQ Exit Record mode@x playing macro commands
Normal Mode ==> insert mode
Press I to insert before cursor
Press I to insert at the beginning of the line
Press A after the cursor to insert
Press S to delete the word Fu insert
Press A to insert at the end of a row
Press O
Basic setup information (reference URL: http://hessian.cn/p/1026.html): "or configure/.VIMRC file. Syn on" syntax supports set laststatus=2 "Always show status bar set tabstop=2" The length of a tab set softtabstop=2 "a tab length (can be greater
Tiger, wrote a function, and added a shortcut key for the Octopress article to add some specific content, in the article list and the first page to display the article introduction or summary, and to create a directory of the article.The reason to
Problem Description: After installing the system, just want to start to write the program, found that Vim has not been installed, with Su-switch to root afterRun Apt-get install vim directly, prompt to insert disc source, then enter, into an
The following no special instructions are in command-line mode1: Turn line numbers on and offAfter pressing the Escape key to enter command mode,: Set number command to turn on line numbers expand: Enter command mode to &NBSP: set all command
Use of the VIM editorCommands used by VIM
: Q Exit VI directly:
Wq exit VI after saving, and can create new file
: q! Force exit
: W file saves the current content as a file
: Set Number | NU Displays line numbers in edit
Is definitely a boutique, strongly not exclusive, Vi/vim keyboard map. VI is first used in Unix system, it is a text editor, almost all Unix-like machines are provided, learning Linux will need to learn vi/vim, familiar with this keyboard diagram,
1. Download Winmanager.zip2. Copy the Winmanager.zip to the ~/.vim directory and unzip the3. The following files will appear in the ~/.vim/plugin after decompression:[Email protected]:~/.vim# ls-a. .. Doc plugin taglist_46.zip. Viminfo. VIMRC
Vim highlights the syntax structure of the nginx configuration file, vimng.pdf
Vim highlight the syntax structure of the nginx configuration file
1. Download the vi syntax highlight configuration file ~ /. Vim/syntax
Note: This directory is
Learn vi and vim editors (5): go beyond the basic barriers, vivim
This chapter summarizes the previously learned editing commands such as "c", "d", and "y", and learns some new knowledge: other methods for entering vi, use a buffer to store dragged
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