It's been a long time since I wrote Jekyll blog on Vim, and it's been a hassle to write code blocks (Fence) and then "type", and manually write header information (Front matter). Harttle today uses the VIM keyboard mapping to provide carriage return
from:http://blog.csdn.net/klarclm/article/details/7932558
1. Install Vim and basic plugin
$sudo apt-get Install vim vim-scripts
2. Vim configuration file
Vim system configuration files under the/usr/share/vim and/etc/vim, we do not change the
1.VI and VimIn the world of Linux, most of the configuration files are in ASCII Plain text form, so the use of simple text editing software can be modified settings!It's often heard: Emacs, Pico, Nano, Joe, and Vim, and so on (note 1).Use of
I. Introduction of VIMVim is an upgraded version of VI: Available with color display1. Install VimYum Install-y vim-enhancedvim/etc/passwd2. Three modes:General mode: DD P yy edit mode: Edit file Content Command mode::/?Two, Vim color display and
Article Source: http://blog.sina.com.cn/s/blog_5e357d2d0100zmth.html
Command
Simple description
: W
Saves the edited file content, but does not exit the vim Editor. The purpose of this command is to write the
1.1 General Mode Available button description, cursor movement, copy paste, search substitution, etc.
How to move the cursor
h or LEFT ARROW key (←)
The cursor moves one character to the left
J or DOWN
One, insert commandI inserted at the current positionI Insert at the beginning of the currentA is inserted after the current positionA inserts at the end of the current lineo Insert a row after the current lineO insert a row before the current
ZZ: Exit and savee!: Revert to the last saved look CW: Modify Word (automatically into insert mode) cc: Modify the contents of a whole line CS: Modifies a word (automatically enters insert mode).: You can repeat the previous command J: merges the
--vim, the king of Linux text editingVim: full-screen, patterned text editorVi:visual interfaceVim:vi Improved (vi enhanced version)I. VIM [options] [file..]Vim file to open or create a new fileIf the file exists, the file is opened and the content
Super-powerful VIM configuration (Vimplus)===============================================I. Overview-----Contact Vim has been a few years now, but before using Vim is to find someone else to configure the vim, but others are configured to not be
Multi-window open in vim
VIM, the default multi-window open, is the horizontal split window.After entering the VIM editor, you can create a new child window with the new command: New "Create an unnamed window: New name "Create a file named name"
0830 Exercises:1, summarize the text editing tool vim use method2. Summary File Search command How to use Find3. Summarize the content of bash environment variables4, summarizes the special authority (SUID, SGID, Sticky) The knowledge point5,
MobileKJHL move cursor up or downGD find the current location defined by Word, n jumps to the next placeNG jumps to nth row% in range characters (bracket pairs, HTML tags, etc.){} Move up/down between empty rows() Move between paragraphs, including
Vim EditorText editor, word processorNano, SEDVi:visual Interface (Visual Interface)Vim:vi improvedMode editor, full screen editorOne: Open file# Vim/path/to/somefile
Vim +#/path/to/somefile Open/path/to/somefile and locate the file # line
Vim is a very powerful editor on a Linux platform, and he is an enhanced version of the VI editor of the early years. This gvim is a Windows version and has a standard Windows-style graphical interface, so it's called G (graphical) Vim. We can
Vim encoding method settings
Reprinted: http://www.cnblogs.com/freewater/archive/2011/08/26/2154602.html
Like all popular text editors, VIM can well edit a variety of character encoding files, which of course include popular unicode encoding
Android programmers should say that eclipse or netbean is the most widely used. Considering that Google has launched a complete set of development plug-ins that allow users to write code from the project to compile and run the link simulator in one
In ubuntu, the vim configuration file is stored in the/etc/Vim directory. The configuration file name is vimrc.
In fedora, the vim configuration file is stored in the/etc directory. The configuration file name is vimrc.
1. display the row numberAdd
Talk Vim together (22nd back: Vim finale), talkvim
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 not introduce the new Vim plug-
Vi and vim Editor (6): ex editor Overview (1), vimex
The bottom-layer editor used by the vi editor is the ex-row Editor, which can be considered as the visual mode of the ex-row editor. Ex allows you to edit commands with higher mobility and
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