The VI editor is a modal editor and features exceptionally powerful volume and shortAnd the vim we're using now is the enhanced version of VI.VIM use Formatvim [options] [/path/to/somefile]Here's The path can also be omitted to write after writing
Software installation:
Python-2.7.2.msiPython for Windows, which is installed in the C: \ python27 directory by default.
Markdown-2.0.win32.exeFollow the default installation path.
Gvim73.exeVim editor for Windows, which can be installed by
One day when I was reading something about vim, I found out why it uses the hjkl key as the direction key. When Bill Joy created the VI text editor, the machine he used was the ADM-3A terminal, which used the hjkl key as the direction key. Naturally,
In VI/vim, you can use the: s command to replace the string.
: S/Vivian/sky/Replace the first Vivian in the current row with sky
: S/Vivian/sky/g replace all Vivian in the current row with sky
: N, $ S/Vivian/sky/Replace the first Vivian from
Operations in VIM
I. Set the size-character MismatchSet ignorecase/set ICSet noignorecase/set noic2. Set to highlight and not show when searchingSet hlsearch/set HLSSet nohlsearch/set nohls3. Set to display matching points during the search process
ArticleDirectory
Graphical cheat sheet
Graphical cheat sheet based tutorial
Notes
Learning VI or Vim is not easy. but it doesn' t have to be that difficult, either. it is, in any case, faster, more powerful, and more productive
I recently built a vim-ide on Ubuntu, but it cannot interact with the system clipboard .... I read n online strategies, all of which are "+ Y and" + P commands, but they do not work .... Finally, I found the cause. It turns out that my vim does not
1. Search
/XXX (? XXX) indicates searching for strings matching XXX in the entire document,/indicates searching down ,? It indicates that xxx can be a regular expression in the upward search. We will not talk much about the regular expression.
ArticleDirectory
1. Create a new tab
2. Remote-tab function of gvim
3. jump between tabs
4. Tab sorting
5. Optimize the display of tab names
6 tabs and sessions
Although I have been using Vim to writeProgramAnd
1. Let's take a look.
2. configuration method
.
If the following effect is not specifiedCodePrompt shortcut key (such as Ctrl + p), to see the effect, do not really want visual assist.
1.1 code prompts for structure struct and enum
SourceProgramFiles (usually plain text files) Comparison and merging tools have always been an important part of the software development process. Many powerful dedicated comparison and merge tools on the market, such as beyondcompare. Many ide or
1 download: http://www.vim.org/scripts/script.php? Script_id = 1, 16432. decompress the package: Just drop the supertab. Vim file to the/usr/share/Vim/vim70/plugin folder.3. Help: supertab. Vim file header, and command ": supertabhelp"4 usage:In the
Although Vim was used a long time agoTuneHangingSub-statements. Recently, to improve writingCodeEfficiency, as well as coding fun, and re-study vim, found a good VimQuick StartArticleThe original text is in the English version. I think it is very
Create a tab
Use: TabeCommand and file name parameters, you can open the specified file in the new tab. You can also use: TabnewCommand to edit the new file in the new tab. Command: Tab splitThe file in the current buffer is opened in the new tab.
I learned some simple mobile shortcuts for vim last time and used them for a period of time.
You are already familiar with these shortcut keys.
Continue learning now
This time, we will summarize some shortcut keys for inserting, searching,
1. commands using regular expressions
The most common commands using regular expressions are: /(Search)Command. The format is as follows:
/Regular Expression
Another useful command is: S (replace)Command to replace the regular expression between the
"/Etc/vim/vimrc is the configuration of all users ,~ /. Vimrc only affects a single user. /Usr/share/vim/vimrc is a hard link of/etc/vim/vimrc ($ ll/usr/share/vim/vimrc can be seen). Generally, only ~ /. Vimrc."Colors, plugins, and docs are all in
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.