The VI editor has 3 modes: Command mode, input mode, and last line mode. It is important to master these three modes: the Command mode: The default entry is the command mode after startup, the command can be switched from this mode to the other
3.3 DebuggerDebugging is an essential part of the application development process, so it is very important to have a good debugger, unfortunately, Go in this aspect of development is not very perfect. Currently available debuggers are GDB, the
Original blog: https://www.cnblogs.com/zknublx/p/6058679.htmlAdvanced 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
Vi/vim Powerful editor
command to enter VI
VI filename : Opens or creates a new file and places the cursor at the beginning of the first vi +n filename : Opens the file and places the cursor at the beginning of nth vi + filename :
Vi:visual Interface Visual InterfaceVIM:VI improved: Enhanced version VI recommended use!!!Full screen editor, modal editorVim mode: In different modes, the meaning of the knocked-down thing is not the same.Edit mode (Command mode)Input
Method One ( the most embarrassing method ):1, display the current line number, in the VI command mode input
: Nu
2, display all line numbers, in the VI command mode input
: Set nu #这是: Shorthand for set number
A text editor is used to create or modify a text file. Three modes of Operation: Command mode-->> edit mode--->> command line mode. mode switch: enter file --Command mode appears insert --edit mode input:
This github on Vundle's address Https://github.com/gmarik/vundleSet Vundle:git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/vundle.vimTouch ~/{.vimrc,.vimrc.bundle} here for. VIMRC not bloated, new. Vimrc.bundleInsert the
Step 1: Go to VIM website vim.org, click on the left Download option, select the corresponding installation system Pc:ms-dos and Ms-windows Step 2: Click to download the vim version you want to install, for example I choose to download Gvim80.exe.
Vim is actually a Linux text editor, so vi+ file name, is actually into the VI program. VI has two modes, edit mode and command mode in command mode, We can directly press I, this time will switch to the editing mode, for example, there is an insert
I was learning how to use Vim. I wanted to learn Linux for a while and then suddenly found that Vim is a good thing to learn and use. Today I found that, you cannot use Ctrl + C/Ctrl + V to copy and paste data with other applications in the system.
Before using vim, let's take an appetizer and learn some common commands in Vim. With these basic commands, we can use Vim more conveniently and speed up our work ~
Note: The following commands are mainly used in the normal mode of VIM.
Vim practice manual (6) shortcut keys for common search and bookmarking operations
Author: poechant
Blog: blog.csdn.net/poechant
Email: zhongchao. USTC # gmail.com (#-> @)
Date: January 27Th, 2012
Update: February 27Th, 2012
1. Search for
I personally think that vi can't be used without it. Using it will improve the efficiency a lot, but it may not be able to catch up with the previous speed. The following is my shameless copy and paste: (the picture shows a piece of easy learning)
Vim encoding method settings
Like all popular text editors, VIM can well edit a variety of character encoding files, which of course include popular unicode encoding methods such as UCS-2 and UTF-8. Unfortunately, like a lot of software from the
First, I used the latest version 0.9 of pythoncomplete, added django_settings_module = settings to the environment variable, and set export pythonpath = ~ /Workspace/my_project/src. At this time, I write a model class, for example:
# File :~
After struggling, we made a compromise to GBK. All three projects will be based on the GB encoding. I think I will miss the utf8 age in the future. In fact, if you are familiar with the relationship between these encodings and pay more attention to
Those who have used source insight must be impressed with its auto-completion function. In many integrated development environments, it also supports auto-completion. Vim, as an excellent editor, is indispensable. Moreover, as a General Editor,
Address: http://linuxtoy.org/archives/efficient-editing-with-vim.html
Although Vim was used a long time agoTuneClick here and use only the commands you want. Recently, in order to improve code writing efficiency and coding fun, I re-studied vim and
1. Press V to enter the visual state, select multiple rows, and use> or
2. generally, auto indent layout is used based on language features: In the command status, the current row is used = (two connections by =), or N = (N is a natural number)
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