vim airline

Want to know vim airline? we have a huge selection of vim airline information on alibabacloud.com

[VIM] set VIM syntax highlighting and auto indent

1. Location of configuration files under Directory/etc/vim, there is a file named VIMRC, which is a public vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private configuration file, named: ". VIMRC". For example, under the/root directory, a. vimrc file is usually already present.2. Set syntax highlighting1) Open VIMRC and add the following st

Vim Learning Note (1)--vim operation

Only some of the VIM operations that you use most often are recorded. Keep up to dateText manipulation D cut. Double-click to cut a row Y copy, double-click to copy a row P Paste x Delete the character below the current cursor R replaces the current cursor character. Replace the character in the back : s/old/new/g global replace old to new Move 0 move to the beginning $ move to end W moves to the begi

Use Vim, vim

Use Vim, vimMode ESC \ Ctrl + c: Exit edit mode ZZ \ wq: Save and exit in command mode Edit I: Enter the editing mode. I: Go to the beginning of the line to start editing S: deletes the current character and enters the editing mode. A: edit the current character A: edit A non-null character from the end of the current row. Mobile H j k l: bottom left, top right 0: zero number, to the line Header ^: The first place in the line that is not

"Linux" "vim" to create its own vim editing environment __linux

Configuration file path:/ETC/VIM/VIMRC SYN on; syntax highlighting Set tabstop=4 tab width Set shiftwidth=4, line indent width Set backspace=2, setting backspace available Set Incsearch Search Auto-complement Set ai! ; Set Automatic indentation Set nu! ; Show line Numbers Make VI compatible with Windows Chinese Set fencs=utf-8,ucs-bom,euc-jp,gb18030,gbk,gb2312,cp936 CTRL + N automatically search for complement functions or variable

Automatically add comments in vim to add text information and vim comments

Automatically add comments in vim to add text information and vim commentsTo do well, you must first sharpen your tools. In the development process, a convenient and quick development environment can improve work efficiency. A beautiful interface can make us feel happy. The most important thing is that, we can keep ourselves in a difficult and unpredictable place ~ If you want to automatically generate comm

Vim learning notes, vim

Vim learning notes, vim1. Double-click the letter d and delete the row where the cursor is located.2. vim + filename open the file and locate the cursor at the beginning of the last lineVim + n filename cursor positioned on line nVim +/xxx filename: locate the first line of string xxx3. vim aa bb cc creates or opens three files at a time: n: N move to the next (t

Vim Advanced Skills-use Vim to compare two files

Original article: http://hi.baidu.com/flost_li/blog/item/acbccd2355952d47935807d0.html Usage: 1: Use vim-D file1 file2 to directly open two files for comparisonOr: Use Vim file1 to open the first file, and then use vert diffsplit file2 to open the second file for comparison;(VERT indicates the Vertical Split Window, which is a horizontal split window by default)2: directly compare the differences between t

Vim editor operations and Vim editor operations

Vim editor operations and Vim editor operations 1. vi Operation Mode Vi provides two operation modes: insert mode and command mode ). In input mode, you can enter text. In command mode, you can perform various editing actions, such as deletion and modification. In input mode, Press Esc to switch to command mode. In command mode, press the input command (I, a, o, etc.) to enter the input mode. 2. Access vi

Basic Linux vim operations and basic Linux vim operations

Basic Linux vim operations and basic Linux vim operations 1. display the number of rows Input : Set number or: set nu 2. move the cursor H. move the cursor to the left. J move the cursor downward K move the cursor up L move the cursor to the right N 0 or move the home Key to the beginning of the line $ Or end key move to the end of the row W moves to the header of the next word B Move to the first of the

[Vim] vim notes-split screen operation

[Vim] vim notes-split screen operation We often need to open multiple files, operate multiple files in different windows, and split the screen is very useful. 1 command mode: new, create a file and split the screen, shortcut key, Ctrl + W, then immediately press the n key: spilt horizontal split screen, the current screen is divided into two, horizontal. Ctrl + w, s: vsplit Vertical Split screen. The curr

VIM uses north----multiple Windows in Vim

Multi-window open multiple filesVim-o file1 file2 ...----default up/down split windowvim-0n file1 file2 ...----vim defaults to n + windowsSplit window: [v]split file----open files with split (v) or Portrait split current window (equal to split): [N][v]split/new [++opt] [+cmd] [file]----N: The actual number of rows in a new window starting from the top, opt:vim options, cmd: Commands executed in a new window, file: A new window in the real files. Examp

Personal Vim configuration and VIM learning notes

Vim has been learning for nearly two weeks. It is indeed a very powerful editor. I believe it will speed up text more quickly after a while.CodeEditing efficiency. At ordinary times, I am mainly engaged in Web development. Based on the Asp.net platform, many HTML + CSS + JS + aspx files are edited. I have added some simple settings on the basis of the original settings: Set nobksy onset aiset nuset Sw = 4 set Ts = 4 Corresponding: The backu

Vim Linux securecrt vim color settings

Workaround:1, first in accordance with the environment of a method to check if the situation is not a second step. 2, modify the terminal term this environment variable: 1) Export command temporarily effective # echo $TERMxterm #如果结果显示: Not "xterm" execute the following command # Export Term=xterm 2) modify configuration/etc/profile# Vim/et C/profileexport term=xterm # Source/etc/profile set crtoptions-->session Options-->terminal-->emulation will ter

"Vim" vim common commands

#删除光标所在行到最后一行的所有数据d$ or D #删除光标所在处到该行最后一个字符的所有数据D0 #删除光标所在处到该行第一个字符的所有数据DW #删除光标所在处到当前单词的最后一个字符的所有数据Copy Action y:yy or y #复制光标所在的那一整行, and copies the contents to the Clipboard.Yng #复制光标所在行到第N行的所有数据YG #复制光标所在行到最后一行的所有数据y$ #复制光标所在处到该行最后一个字符的所有数据Y0 #复制光标所在处到该行第一个字符的所有数据 Paste:P,p #P在光标之前粘贴, P is pasted after the cursorIndent:>> indent one shiftwidth to the right=-> #自动缩进光标所在行Resources:1. "Brother Bird's Linux private cuisine"2.http://blog.csdn.net/donahue_ldz/article/details/17139361http://detail

[Development] [Vim] VIM displays white space characters

1. As a rigorous programmer, you have to care about the characters you've knocked on. These include whitespace characters.2. Sometimes you need to review someone else's code, for those who wantonly use Tab,space,enter. How do you find the messy characters that they left behind?We use VIMWith this configuration:set listchars=tab:→\, trail:,precedes:?,extends:?,eol:? set listchars=tab:→\, Trail:?,extends:...,eol:? set listchars=tab:?\, trail:,precedes:?,extends:?,eol:? Set listchars=tab:>-,trail:.

[Vim]vim Use Notes-split screen operation

We often have to open multiple files, different Windows operation of multiple files, split screen is very useful.1 Command mode:: New, new file and split screen, shortcut keys, ctrl+w, and then immediately press N: Spilt horizontal split screen, the current screen is divided into two, horizontal. Ctrl + W, s:vsplit vertical split screen, the current screen is divided into two, vertical. Ctrl + W, v:only cancel the split screen, cancel the current screen, the current screen refers to the cursor s

Talk vim together (Nineth: VIM)

Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we talked about the Dragon Slayer knife: Vim's evenRing knife. This time, let's go on with Vim's Blade: The Dragon Sword, vim, and knife. Well, that's the word, the gossip,Words return to the positive turn. Let's talk about vim together!Crossing, the Dragon Sword

"Vim" makes vim an extension of your hands

IntroductionA year ago also learned vim for some time, but after all, still did not cross the threshold of beginners. I found myself in a lot of situations are like this, not without serious study, but in the end did not stick down. Sometimes, I really can't imagine how programmers use VIM to see the source code of thousands of lines?I hope, this time do not give up the effort can let me experience the accu

Talk vim together (13th: Vim Blade Summary)

Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we talked about the Dragon Slayer Knife: Vim ChaseLife. This time, we will not introduce the new VI knife. Today is mainly a summary of the previous several of the various cutting knives mentioned. Well, it's stillThe words, the gossip, the words return to the right turn. Let's talk about

Talk vim together (18th: Vim plugin cscope cont.)

Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the cscope in the Vim plugin.Last time, we were mainly talking about the plug-in's functionality and how to install the plugin. This time, let's keep talking about the plugin, but we sayis how to use the plugin. Well, still that sentence, gossip Hugh, words return to the positive turn. Let's talk ab

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.