Speaking of the text editor, you have to say that the vim of the old age, say, but also Hale, still have a lot of advocates. It is true that vim is practical, and the advantages of VI are listed first.1, if the master of vim, you can save the mouse.2
Usually in Linux or other *nix environments we use VIM as the Code editing tool, which is almost irreplaceable under the pure command terminal. It has a very powerful extension mechanism and is basically omnipotent in terms of text editing. However,
Vim practical skills One, vim three modes normal mode edit mode Command mode Two, vim simple operation Normal mode: move: H: Move left J: Move K down: Move up L: Move from + u: Move up half screen + D: Move down
工欲善其事, its prerequisite. A powerful development environment can greatly improve productivity. Well, I know it's nonsense ... However, I think there must be a lot of new developers like me who are going into the Linux platform, and at first it's
1. General modeMoveh or direction left-------------------left to moveMove under--------------------J or in the directionK or move------------------on the directionL or Direction right-------------------right Move Crtl+f Move down one page
Go as a new language, development in full swing AH. However, there is not yet a mature IDE. This paper introduces the development environment of the go based on vim, which ensures the pleasure of vim while supporting the features of Go.1. Go
Transferred from: http://www.2cto.com/os/201203/122133.htmlMain command:zf-creating a collapsedzf20g--create collapse, collapse from current line to line 20thzfgg--creates a collapsed, collapsed from the current position to the file header, perfect
First, the configuration platformSystem: Xubuntu 14.04.1 32-bitVim:vim 7.4Plugin management: Plug-in management with VundleScope of application: Mainly used for C programming
Ii. preparatory work1. Install VIM-SYNTAX-GTK (highlight)sudo
This chapter describes the use of the VIM editorThe Vim editor is an enhanced version of the VI editorVim is a full-screen editor, a modal editor, called a modal editor, because Vim has multiple modes.The following are the main three modes of
Reproduced in: http://blog.chinaunix.net/uid-20614631-id-1914849.html Pro test availableFirst download the Cygwin, want to program under Linux must install VIM,GCC and GDB, now mainly to solve the vim backspace not normalUse the problem. Cygwin
When debugging code, you can easily comment out or cancel code comments in batches. Many ides use shortcuts to comment out or uncomment selected code blocks in batches, how can this function be completed in Vim?Method 1 selection mode Batch
In vim, the tab is automatically converted to a space.In vim, you sometimes need to convert tabs into spaces. Use the RET command (replace tab ).[Range] RET [AB]! [New-tabstop]For example, the tab line from the first line to the end of the file is
In normal mode:
H-move cursor left, J-move cursor down, K-move cursor up, L-move cursor right
U-Undo
X-delete characters under the current cursor
DD-delete the entire row under the current cursor
.-Repeat the previous operation
When you look for source code from the Internet, you will often find that the code is well formatted, but with the line number in front, copy and paste it directly to remove the line number in front to compile, and worse, with the line number in
From: http://coolshell.cn/articles/5426.html
Basic commands:
i→InsertMode, pressESCBackNormalMode.
x→ Delete a character of the current cursor.
:wq→ Save disk + exit (:wStorage,:qExit) (Chen Hao note: the file name can be followed after W)
dd→
The color of sublime text is quite colorful. Today, when I browsed the webpage, I found a Vim Molokai color. It is a textmate-based monokai color,
It is similar to the default topic monokai of sublime text. If you prefer sublime text, try
Part 1: Description of buttons available in general mode, move the cursor, copy and paste, and replace search
How to move the cursor
H. move the cursor to the left arrow for one character.
J. Or a down arrow. The cursor is a character that moves
------------------------------------------------------------------------------------ Gvim has four modes: Normal Mode, insert mode, replace mode, and command mode.
Normal Mode insert mode I/I insert a/A at the beginning of the cursor/line at the
Vi and vim Editor (1): vi text editor, vivim
There are many editors in UNIX systems, which can be divided into two types: Row editor and full-screen editor. The row editor can only display one row of a file on the screen at a time, such as the ed
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