About my VIM configuration
Often write code on the server, a friend provided about his vim configuration, here to share to everyone.
Interface Effect Chart:
. VIMRC
The contents are as follows
"===============================================
When doing the experiment, the log redirection is written to the file for easy viewing later. But with vim opened after a lot of ^h and ^m, like garbled. :Now try to solve this problem in vim.
Replace ^hEnter a command in vim to replace the ^h
Call Pathogen#infect () call Pathogen#helptags () Let g:syntastic_always_populate_loc_list = 1let G:syntastic_auto_jump = 1set Numberset encoding=utf-8 "wrap" set textwidth=80 "automatic line wrapping set Wrapnnoremap " Ctrl-j to Move down a split
Vim shortcut key package (i)
move cursor
h-- l (Small letter l Span style= "font-family: ' Times New Roman ';" >-- Move right
k-- move up j-- below move
1. Download:Download page: http://vimcdoc.sourceforge.net/Select "Latest platform independent Tarball, including an Linux/bsd installation Script" "1" download.2. Installation:Many people on the internet said that "decompression, the doc directory
Installation and configuration of the Linux operating system vimInstallation of VimVI is the most established Linux editing tools, and Vim is the upgrade version of VI, Linux system must ah.1. Press the TAB key after typing "VI" on the command line
Vim's split-screen functionSumming up, basically are ctrl+w then add a key letter, triggering a function.(1) Open several files in the shell and split the screen:vim-on file1 file2 ...vim-on file1 file2 ...Large O for Vertical division (vertical),
Haha, small series again, today, small series will introduce you to the powerful Vim editor on Linux. First of all, let us introduce what is the Vim editor. The Vim editor, also known as a text editor, does not require a graphical interface to work
Why should I learn vim?
All Unix like systems have their own VI editor
Some software's editing interface will automatically adjust the VI
As an upgraded version of VI, VIM has the program editing function, but also has the code
VI and VIM1. Introduction:The VI Editor is the standard editor for all UNIX and Linux systems, and he is the equivalent of a notepad in the Windows system, which is no less powerful than any of the latest text editors. He is a tool we cannot use
Https://github.com/Raimondi/delimitMateDelimitmate is a good plugin for auto-brace completion, but if you don't have a good way out of parentheses, you want to shading the discount.The best way I can find it right now is to do a mapping in an insert
Vim Global Replacement file:The syntax is: [addr]s/source string/destination string/[option]the Global Substitution command is::%s/source string/destination string/g
[addr] Indicates the scope of the search, which represents the current row
The philosophy of the Linux system is all documents, we usually need to fill in the content of the file is often used in the text editor before we learned the Nano editor, but the Nano editor features a single, not suitable for complex operations,
The VIM editor has two modes of operation: Normal mode and edit mode, when the editor is opened, the default is normal mode.The VIM editor processes data in a memory buffer.Vim (vi) filename Edit filePress the I key to enter edit mode, press ESC to
Www.vim.org-Scripts, Browse All can see there are 5,051 plugins.Search nerd can see Nerdtree plugin, it's rated rating 7882/2514, downloaded by 183205Most plug-ins have a 1000 download volumeTagList has not submitted anything in recent years. Seems
Let's take a picture first:For some small Python projects, using Vim is a good choice. What is the best practice for writing Python with Vim in the context of the self-informed answer in this article? , the following is a supplement to the old
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