This article turns from the cool shell –coolshell.cn, the author is Chenhao. But here only a part of the personal thought commonly used skills, and made a few adjustments, here Vim version is 7.3.
Testing on Vim 7.3 is possible
Played three years of Linux, the most commonly used vim compiler some of the use of skills to organize the next share to everyone.The text editor under Linux vi=visual:Vim (vi improved) literally means an upgraded version of VI.The VI Modular
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
When you perform some repetitive commands in vim, you can replace them with some shortcut keys. List below
After you edit the text and exit to normal mode, . repeat the last change operation, and if you press it more than once . , we can use
Today new to a Linux server to work, one in to find grammar is not highlighted. I opened the file with VI.And then all sorts of changes. VIMRC stuff.Changing the term environment variables will not work.I've been tinkering.。。。It was later discovered
Well ... The following games are basically under the NOI Linux, the development environment under Windows can not be used >_> decisive turn vim, record the vim configuration file ~1 Set Nu2 Syntax on3 filetype indent on4Set shiftwidth=45Set tabstop=4
Last night + this morning, I was furious with a shell script about Vim's automated configuration, and I saw a similar script project on GitHub before, and then I saw a brother in the same school who wrote a similar script file, Then I also draw a
Intent Act Repeat ReverseMake a change {edit}. UScan line for next character f{char}/T{char}; ,Scan Line for previous character f{char}/T{char}; ,Scan document for next match/pattern n nScan document for previous match?pattern N nPerform
1. Switch to the next fileSuppose the file you want to switch to is named test.py: Ex test.py 2. In-document copy command
Yy"The line where the cursor is copied. or uppercase one Y. 2yy"duplicate two lines. y^"Copy to the beginning of the line,
Vim plugin: Https://github.com/ma6174/vimIf the Xshell comes with fonts, some of the plugin's reminders will moveThe following settingsMy favorite Xshell font settings[Comfort Color]text=c0c0c0cyan (bold) =2ad1b8text (bold)
Linux under the opening of some text files will encounter garbled, excerpt a method:1)txt text character garbledIn terminal input gconf-editor, something like The Windows Registry is startedGo to catalogue
Recently you've been learning to develop Ruby using the Vim editor. Follow the online tutorial to install VIM. The address of the official website is difficult to download. Usesudo Install VIM-GTKThe first download does not come down, later I think
Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim
Shift+v Select the row, then the upper and lower keys, select the code blockMove code block around shift+> or shift+U fallback any actionVim Configuration' tab to 4 spacesset smartindentset tabstop=4set shiftwidth=4set expandtab ' not automatic
Here is a Chinese entry document, but too long, do not want to read, so there is this article
The quickest way is to find a syntax similar syntax highlighting file, a little change
Write your own words first, the key words:
Case "
VIM implements tab tab and split screen, toggle commandIf you use Xshell, then the ALT + number can toggle the large tab at the top of the Xshell, which is also handy.1, in a window, VIM's Small tab tabs command:: tabnew [++opt options] [+cmd] file
"=======================basic___configuration_start===================="Modifying the default directory"": cd D:\dream\programmingSetts=4 "the length of the TAB keySyntax on"Syntax HighlightingSetNocompatible"remove nasty about
Join talkVim (22nd back: Vim finale)
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-in. However, we
Join talkVim (14th back: Vim plug-in configuration file)
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The last time we summarized the "Dragon knife: Vim"
Various methods. In this case, we will not talk about Vim'
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