Vi:visual Interface Visual InterfaceVim:vi Improvedvi Enhanced VersionFull screen editor, modal editorVim mode:
Edit mode (Command mode)
Input mode
Last-line mode
Mode conversion:Edit--Input: I: In front of the character of
first, the common operation(i) Vim mode of operation1.VIFile: Enter Command mode 2,Iao: Enter insert mode
ESC: Exit Insert, enter command mode
3, ":": Enter edit mode
Enter: End run, enter command mode
5.Wq: Exit(ii)
With Vim is the code of the fly, suddenly xshell off the line, it is too painful.So began to miss the VS code when the ctrl+s saved shortcut keys, Baidu a bit, on-line vim to achieve Ctrl+s save the shortcut key settings have problems, their own
String substitution for Linux batch filesSed-i "s/oldstring/newstring/g" ' grep oldstring-rl path 'Vim Multi-line substitution:: 1,2s/str1/str2/g replaces only "str1" into "str2" in line 1th through 2nd in the file.: s/vivian/sky/replaces the
2015-06-04 by KomileVIM Basic CommandOpen a file vim index.phpDescription of several modesNormal ModeThat is, the general Normal mode, the default into Vim, in this mode.Insert ModeInsert mode, in fact, refers to the state of editing input. In
Vim is a modal full-screen editor:The following three modes are available:Command mode: Typed characters as command processing instead of typing directly into the documentInput mode: Typed characters are entered directly into the documentLast-line
I mean, vim and Emacs are really powerful.In fact I learned from vim to start configuring Vim and plug-ins to download vim and uninstall Vim almost 10 times.As for Emacs, in order to prevent hand cramps, or first putAll programmers will tell you
SSH Xshell connection cannot be used in vim with CTRL+Insertcopy and paste changes. VIMRCSetMouse=CVI Three modes: Command mode, insert mode, visual mode. The mouse can be started in various modes: The mouse can be enabled fordifferent modes:n
First, Introduction There are only three types of editors in the world, EMACS, Vim, and others. The times we are in are very fortunate, with more and more editors, compared to the old vim and Emacs, they are called modern editors. Let's take a look
Snipmate IntroductionSnipmate a powerful code completion plug-in, customizable code templates, and the ability to complement words.Vim plugin SnipmateSnipmate InstallationUnzip the snipmate.zip into the ~/.vim directory. Where the snippets directory
1. v+ move cursor to select text. 2, y can copy the selected text 3, p can be pasted copy one line: YY Copy the current cursor location to the end of the line: y$ Copy the current cursor position to the beginning of the start: y^ copy three lines:
Learning from: Experimental buildingVIM has 6 basic modes and 5 derivation modesNormal Mode:The default mode after Vim is started, commonly used editor commands such as moving the cursor and deleting text.In normal mode, there are many ways to enter
The VIM input command zz can redraw the screen so that the current line is in the middle of the screen.Paste in insert modeyt,The command is copied from the current character to the character, and then the j command moves to the next line, the A
First, move the cursor1, left shift H, right shift L, Move down J, move up K2. Page Down CTRL + F, PAGE up Ctrl + B3. Turn down half a page Ctrl + D, turn up half a page Ctrl + U4, move to the end of the line $, move to the beginning of 0 (number),
I. Title: VIM Insert template automatically after new fileIi. SummaryBoth the Linux system administrator and the Linux development programmer often stop at the VI Editor programming development under the Linux environment. This article shares, the
The first vim file mode is the basic mode, you can move the cursor to view the file.Insert mode:Press I into the insert mode, you can write something, need to save press: W, need to save and exit Press: Wq.Then press ESC to go back to basic
Use the Counts to does simple arithmeticIn vim, execution and commands can be added or reduced directly to the numbers in the text.If you do not provide a number to directly execute the above command, the default is to add 1 or minus 1 of the
Download Vim's Windows version: Ftp://ftp.vim.org/pub/vim/pc/gvim74.exeAfter installing Ctags:http://files.cnblogs.com/files/jiahu-blog/ctags58.zip decompression, copy the Ctags.exe file under the folder to the same folder as Gvim.Installing Taglist:
Join talkVim (21st back: Continuation of the Vim plug-in's NerdTree)
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The last time we introduced the NerdTree in Vim
Plug-in .. In this case, we will continue to talk
Join talkVim (13th back: Vim method summary)
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The last time we talked about the removal of the dragon knife: Vim
Life knife method. In this case, we will not
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.