How to build an IDE for Linux C learning-Vim (III), IDE interface by lazy wood
How to convert Vim into an IDE programming environment (image and text) by Wu gen
Build Vim into a real ide by vimerProgramWorld
For more details about VIM + cscope:
I really don't want to install a VPC on my limited-memory machine, so it is a good choice to install cygwin. But I don't know why Vim cannot be used after I install it. The cursor is always at the beginning and does not go forward at all. I am still
I wrote the first csdn log today to commemorate it. Haha, start your own technology path. Haha ~~
1) gedit
. Run gconf-editor, modify the automatic detection encoding settings of gedit, and add several gb18030, gb2312, and GBK (gb18030 is
When editing with vim, you often needCodeFor example, indent, delete, and copy. For example, if you use the YY command, you need to calculate the number of rows, which is inconvenient. If you can mark the position, the code of a large segment can be
Vim file1 file2 file3
: Next next file: previous file
: ARGs display file list
: Last last file, first file
: 2next skip two files
Return to the previous file, CTRL + ^
Copy the multi-Stop content to different buffers. Specify the
Syntax: [ADDR] S/source string/destination string/[Option]
Global replacement command: % S/source string/destination string/g
[ADDR] indicates the search range. If it is omitted, it indicates the current row.
For example, "1st"
This article will briefly introduce how to build and use VIM + GCC + GDB for C Programming in Ubuntu.
I. Installation
Run sudo apt-Get install Vim on the command line and enter the administrator password as prompted.
Run sudo apt-Get install build-
Summary of common replacement modes in vim.
0,: G/null/d
Locate the null row and delete it.
1. Simple replacement expression
The replacement command can replace another word with one word in the full text:
: % S/four/4/g
The prefix of "%" indicates
To replace a string with vim, use the "S" command in VI/vim. In the past, we used only one format to replace the full text. Today we found that there are many ways to write this command (VI is really powerful, and there are still a lot to learn).
Add the following content to vimrc and then press: PrettyxmlYou can automatically format the XML. However, xmllint must be in your path variable. If you do not have one, please install the libxml2 package.
Function! Doprettyxml ()"Save The
This version is applicable to Windows, Linux, and cygwin environments. The target audience is Vim beginners.
I wish you a pleasant start to release this version before the end of the November. ^-^
See the following link for the colored
Source: success,
1) the view of all windows is saved in the session information, and global settings are added.
2) The viminfo information contains the command line history, search string history, input line history, and non-empty register content),
Install vundle
Software environment: win7 32bit gvim1. Install git. In addition to the PATH environment variable settings, other options are default:2. Add curl. CMD at c: \ Program Files \ git \ cmd. Assume that git is installed in c: \ Program
1Install vim
Ubuntu has only pre-installed VI (Vim-tiny), but has not installed Vim. It can only be installed manually. Vim & gvim
Sudo apt-get install vim-gnome
2, Configuration file locationIn the Directory/Etc/Vim/Below, there isVimrcFile,
I had a headache with vim coding and searched for it.The following code variables are used to set VIM:
Encoding: the encoding used by VIM to process data fileencoding: the encoding used for File Reading and Writing (only one value can be added)
Note! Networking
In Centos, only vim-minimal-7.x is installed by default. Therefore, whether you enter vi or vim to view files, the syntax function cannot be enabled normally. Therefore, you need to install two other components with yum: vim-common-
SecureCRT will send your original text to the server in a string style. So when vim on your server is set to autoindent, in I mode, it will indent the strings transmitted by secureCRT. If the copied text contains spaces or tabs that indicate
Note: A simple method to determine whether a flag is of type is to observe it. If there is a space behind the flag and a flag behind the space, in C/C ++, it must be a type. So you can use a regular expression to determine.
After testing, the syntax
Vim installation Analysis
Vim Configuration
Http://linux-wiki.cn/wiki/zh-hans/%E7%94%A8Vim%E7%BC%96%E7%A8%8B%E2%80%94%E2%80%94%E9%85%8D%E7%BD% AE %E4%B8%8E%E6%8A%80%E5%B7%A7
Self-configured vim
Winpos 5 5 set lines = 30 columns = 100 set nuset go =
Document directory
Select The Right Mode)
You can download the original Vim Recipes text from runpaint.
Select The Right Mode)
Problem
Although you know that Vim has multiple operation modes, you are not sure when to use them.
Solution
There
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