Http://www.sudu.cn/info/html/edu/20060102/294929.html
In Vim used for a while ctags, is indeed a drawback. Ctags can only find where the function is defined based on the call to the function, and you cannot find where the function is defined by
Vim Learning Note configuration file (VIMRC)
During the vim startup process, the configuration file is first looked up and the commands are executed. And these initialization files generally have VIMRC, GVIMRC and EXRC three kinds.
Using the:
Three common modes of VIM
General mode
Move cursor Position
Delete, copy, paste
Enter edit mode
"I" current word match either insert
"I" is inserted at the beginning of the line where the
Linux Vi/vimAll Unix like systems will be built into the VI document editor, and other document editors will not necessarily exist.But at the moment we use more of the Vim editor.Vim has the ability to edit the program, can be active in font color
ModelineVim's modeline allows you to set file-level settings for each file, which overrides the settings in the current user's VIMRC. When Vim opens a file containing a vim modeline comment line, it automatically reads the parameter configuration
1):!commandDo not exit vim and execute shell command commands, the command output is displayed in the Vim command area, does not change the contents of the currently edited file such as:!ls-l Special can run:!bash to launch a bash shell and execute
I often use VI editor, but basically still the habit of windows, no system to learn its function, today encountered a copy of the text there is no way to see the solution as follows:Reference text:-----------------------------------------------------
Transferred from: http://blog.jobbole.com/58978/There may be a period of time to write Linxu, inevitably with vim, keep, find time to actually exerciseSource: Marchtea's BlogThe first time I heard this plugin or in the occasional case to see someone
Vim configuration (Vimplus) vimplusVimplus is a super configuration installer for VimGitHub Address: Https://github.com/chxuan/vimplus.git, Welcome to star and Fork.Contact Vim has been a few years now, but before using Vim is to find someone else
%s/foo/bar/gLook for ' foo ' in all lines and replace with ' bar ': s/foo/bar/gLook for ' foo ' in the current line and replace it with ' foo ':%S/FOO/BAR/GCReplace each ' foo ' with a ' bar ', but ask when replacing%s/\/bar/gcFind word exact match '
Command cursor movementH or ^h moves one character to the leftJ or ^j or ^n move down one lineK or ^p move up one lineL or space move one character to the rightG move to the last line of the fileNG moves to the nth row of the fileW moves to the
Transferred from: http://www.vpsee.com/2013/09/use-the-solarized-color-theme-on-mac-os-x-terminal/Believe that long-term immersion in the terminal and the code of the small partners have their own favorite color scheme. Used to be a simple, readable
If my latest post on this topic doesn't remind you, I'm definitely a fan of vim. So before some of you throw rocks at me, I'm going to show you a series of "little-known Vim commands." I mean, some of the commands you might not have met before, but
1, summarize the text editing tool vim use method;2, summarize the document Search command find use method;3, summarize the content of bash environment variable;4. Summarize the knowledge points of special permissions (SUID, SGID, Sticky) on Linux
0830 Exercises:1, summarize the text editing tool vim use method2. Summary File Search command How to use Find3. Summarize the content of bash environment variables4, summarizes the special authority (SUID, SGID, Sticky) The knowledge point5,
Source:This article are part of the ongoing Vi/vim Tips and Tricks Series. As a Linux sysadmin or programmer, you could do following repetitive the tasks while Coding Bash shell script:
Adding file Header
Adding Function/frame Comment
This chapter learns the global substitution commands in the VI editor. With the global Replace command, you can automatically replace all occurrences of a word in a file. a global substitution typically uses two ex commands: ": G" (Global), ": S"
When using the VI Editor, we found that the ESC key cannot be returned to the default mode. input the: HELP command, and we found that vim-tiny installed by default in Ubuntu is not complete in many functions. Install complete Vim for convenience.
Vim Introduction
As one of the most important editors in the open-source world (Emacs), VIM is favored by many developers with its powerful functions and customization capabilities. However, it may be because Vim is so powerful that it is not easy
Talk Vim together (22nd back: Vim finale), talkvim
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-
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.