turn fromPerlman original link: poke here 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
Vi/vim Basic Use MethodThis article describes the basic use of VI (VIM), but for the average user is basically enough! I/vim the difference is simple, they are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not
Nerdtree is a directory browsing plugin for VIM, using the plugin, you can browse the directory on one side of the Vim window, browse the directory using HJKL, open or close the directory with the ENTER key, and open the file. The installation
I posted my use of vim configuration and plug-in configuration, these things can only be a script stack, no discussion of efficient code reading development.Let's write the frequently used commands, and start with the Configure F-Series shortcut
The following tips appear when you install Vim in Ubuntu 12.10:www.linuxidc.com @linuxidc:/etc/apt$ sudo apt-get install vimReading Package List ... CompleteAnalyzing Dependency tree for PackageReading status information ... CompleteSome software
I posted my use of vim configuration and plug-in configuration, these things can only be a script stack, no discussion of efficient code reading development.Let's write the frequently used commands, and start with the Configure F-Series shortcut
Vim Wangyunpeng.txt Create a wangyunpeng.txt fileEnter "I" into insert modeDisplay line number, you need to enter ": Se nu" in command modeCp/etc/services/tmp/services Copy the Services file under the ETC directory to the TMP directory name is also
Vim Search Settings highlightingWhen Linux vim opens the document search string, the settings are searched for string highlighting. There are two ways: 1, temporary settings: Vim opens the document--and the command line type set Hlsearch. Cons: When
StatementThe Stars last nightBlog:http://yestreenstars.blog.51cto.com/This article by oneself creation, if need reprint, please indicate source, thank cooperation!ObjectiveSolve the vim Chinese garbled.Main operation# Create a. vimrc file in the
Vim is a file editor, pure ASCII code, is full screen editor and mode editorVim modeEdit modeLast-line modeInput modeVim Mode ConversionEdit mode-->> Input modeI: Indicates the input mode in front of the character of the current cursorA: Indicates
(1): Clone to local, configure to Linux personal directory (if it comes from linux_config, do not need clone) git clone https://github.com/wklken/k-vim.git(2): Installation dependent2.1 system Dependent # Ubuntusudo apt-get install Ctagssudo
Introduction to VimVim (vimsual) is a universal full-screen editor in the Linux/unix series OS.Vim is divided into two states, the command state and the editing state, in the command state, the character system typed as a command, such as: Q for
Next page: Page Down
Up one page: Page up
To the beginning of the line: Home
To end of line: End
Move to the end of the file: G
Move to file header: GG
The cursor moves down n rows: N
Search down Word string:/word
Mainly some online information for quick query use.Teach you to convert vim into an IDE programming environment (graphics) http://blog.csdn.net/wooin/article/details/1858917VI and indent settings
A text editor is the most commonly used tool in all computer systems. Unix under the editor has ex,sed and VI, among them, the most widely used is VI, and the VI command a lot, the forum seems to be summarized in this respect, the following summary,
Moving from my blog: http://www.xgezhang.com/vim_command_useful.htmlVim this thing is to use more practice, a period of time after the summary. Here is a list of some of the most useful and less skilled commands to use as a record review.o Insert a
Learn other people's posts, the content into their own is to grow, here markVim multi-line indentation Tips1. Press V to enter visual state, select multiple lines, indent or indent with > or 2. Automatic indentation is usually used according to the
1.vim Add PluginGitHub above Yangyangwithgnu written very well, recommended: Https://github.com/yangyangwithgnu/use_vim_as_ideHowever, it seems that some can not be used, of course, when very few lost lost.2.yangyangwithgnu with vim-powerline
If you want to add plugins such as Youcompleteme to Vim, then you need vim with Python support, which is specified in the first compilation option. Here's how:1. See if Python is supportedgrep pythonDescription does not join Python support, this
Vi and vim Editor (12): advanced editing method (3), vivim
This chapter describes the @ function, ex script, and ctags In the vi editor.
@ Function:
The naming buffer provides another method to create a macro, that is, you can save a complex command
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