I used to work as an intern in a company on Ruby on Rails. Aptana is used as the IDE, and its speed is sometimes very slow. Then we can see that some old employees in the company use Vim as the compiler. Looking at how they use Vim to make their own
If you have been using Vim for a while, you will want to modify some of its configurations, such as displaying the row number by default. Where can I change it?
The answer is:Vimrc
Where is this configuration file?
Open your VI and enter [:
Why use Vim? Because it has the color display function, and also supports manyProgramSyntax. Vim can help you directly perform program debugging. However, after securecrt is connected to Linux, it is displayed as black and white, which is unpleasant
Install it in Windows:1.Download from www.vim.orgTaglist_45.zip. After decompression, there are two files Doc and plugin. Copy these two files to the install directory Doc and plugin of vim.2. Open Vim : Helptags $ (home)/doc: HelpTaglistThen you
1. View function/variable definitions
3. Set the tags search path of vim.
Edit ~ /. Add a line to the vimrc File
# Add this line to let the ctags search tags in the file "/opt/GTK/tags"
Set tags + =/opt/GTK/tags
4. move the cursor to the
This is used for a long time in advanced programming for Linux. Today, I have time to sort it out.
Http://www.cnblogs.com/witcxc/archive/2011/12/28/2304704.html original blog.
My personal experience: Although Vim can be designed to be
When editing C ++ code or other code in Linux, copy, paste, and code formatting are common functions. However, Linux is a keyboard operation, therefore, you need to write down some tips. The following tips should be the easiest.
Press the I or
Because I have been using the VC + VC assistant for development in windows, so I have long been used to the syntax highlighting and Automatic completion, so I am a little uncomfortable in VIM development, therefore, we want to slightly change the
After calling gsensor this afternoon, there are still some bugs. I want to change my mind for the time being. I accidentally think of VIM. Vim is nothing more than configuring it. I used to configure some of it, it took another afternoon to add
1. First put all source code file paths in the project into cs5. files:
$ Find/home/jzj/myproject-name "*. h"-o-name "*. C"-o-name "*. CC"> cscope. Files #Note:Use absolute path in the find command, otherwise the tag will not be found once the
Copy the following code ~ /. Vimrc (~ Is your main directory. If ~ /. Vimrc, touch one to be in ~ Touch. vimrc,
. Vimrc is a hidden file, in ~ Enter LS-a to check whether the file exists ):
Set nocompatibleSet numberSet autoindentSet smartindentSet
I used to use the editor in windows. Today I used vim and accidentally pressed Ctrl + S. As a result, VIM does not work when I press any key. in the past, we also encountered this problem. The solution was to directly shut down the SSH client
Because Vim itself is powerful and can use many commands, and can call external commands by executing colleagues, this makes it possible for us to customize tools and operations! Today, I will take Java compilation and execution as an example to
Emacs said, I only need an editor, but you gave me an operating system. It is a hacker's editor. If I fail to make Emacs into an operating system, I need a pure editor.
The following are common commands of the vim Editor:
Insert mode: it refers to
This article is reproduced. Address: http://coolshell.cn/articles/5426.html
Author: Chen Hao
Vim's learning curve is quite large (see the learning curve of various text editors). Therefore, if you see a lot of VIM command classification at the
Source: Use ctags and omnicppcomplete-taglist-cs1_globalHttp://blog.chinaunix.net/uid-11770217-id-323264.html
Automatic Code Completion and code jump reading should be one of the most common functions for programmers. I will not explain what the two
In vim, I usually use visual mode to select some text and then use the ZF command to collapse the text. However, it is not very convenient to use visual mode, however, it is not very convenient to use it frequently. the command mode can be used:
Turn: http://www.cnblogs.com/cbscan/archive/2012/02/26/2368875.html
This problem has been solved for a long time.
First, directly import wx In the python interpreter. If wxpython can be used properly, it indicates that wxpython has been installed
1. Enter the character page
2. Create a folder to store the source file
Mkdir helloworld // create a folder
CD helloworld // enter the new folder. Here we should say that the directory is better, and Windows is used to it.
Vim main. C // open 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