I tried to use the python AutoComplete in vim and setting the environment
In ~ /. Bashrc, then it works in shell. But not works when I opening gvim from a window.
Find it on line and I get some useful information:
When you are
Vim commands are complex. The following are the commands I have taken today. Take notes!
Hjkl: Move to the bottom left and the right.
D: Delete
W: Word
$: End of a row
DD: delete a whole row.
P: Paste
V: select a row.
Example: deleting d10w
Original article output: Unknown ". There are several methods for processing. 1. Use the dos2unix command. This tool is included in the general distribution version (if not, you can download the tool based on the following connection). It is very
Original Site
Put him on GitHub. In this way, it is easier to use vundle security management to manage https://github.com/lazywei/vim-doc-tw※quoting the statement of Akria: Vim provides a lot of rich help, the amount of information is not even
The nerd_tree plug-in can list the file tree structures under the directory. It is convenient to switch between different folders when reading the source code.
On the official website http://www.vim.org/scripts/script.php? Script_id = 1658 download
Map I /********************************** **************************************** * ******************** O I * @ parameter [] O I * @ parameter [] O I * @ parameter [] O I * @ parameter [] O > I * @ description O I * @ returN O I * O
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-
After VI/Vim is disabled, garbled characters are generated, that is, all the prompts are garbled.
Solution: The reason is that the terminal name is not standard. Right-click the terminal, select preferences, and change the initial title as follows:
First install ctags and cs.pdf:
$ Sudo apt-Get install ctags cs.pdf
Then, execute the script in the folder where you want to create an index to generate the required out file. The script is as follows:#! /Bin/sh Find. -Name "*. H "-o-name "*. TCL
VIM + ctags configuration in Ubuntu
Ctags can create source tree indexes so that programmers can quickly locate functions, variables, macro definitions, and other locations to view the original shape during programming.The following
When you use putty or securecrt to connect to a Linux server and use VI to edit *. php or *. c files,The blue comment is very light and hard to see. It looks very eye-catching. The effect is as follows. I am used to the default color scheme and
% Jump to matching brackets
[[Jump to the beginning of the code block (but the '{' in the code block must be a separate line)
GD jump to the definition of a local variable
''Jump to the position where the cursor was stopped last time. It's two '',
I am a fan of VIM. I have been using it for a long time. I have some feelings and found some other people's skills everywhere. I think it is useful to VIM fans. Remember it here. I hope that this article will help you develop your own clever work,
Original article: http://ccd9527.blogspot.tw/2010/01/vim-search.html
If you want to find "Fat Boy", "Fat Boy", and "Fat Boy" in a file, a regular expression can be used.
/Feizi [zookeeper 」It can be found that [] represents one character, but the
To use advanced search and replacement functions in Vim, you must be familiar with the regular expressions in Vim. Vim regular expressions are similar to the syntax of common regular expressions, but there are some differences.Next we will introduce
Starting with IMAC, it took a few days to complete the configuration of the vim environment and record it.
On Mac, I used macvim to open the compressed package. There is an mvim script in it. After running the script, you can call macvim in the
It took a long time last night and was modified based on the ielflord color scheme of vim.
The terminal display is modified, and the color is changed .. However, you need to set the color to 256 before the change. The specific settings are Baidu
1. Simple replacement expression
Remove spaces at the end of all rows:% S/\ s \ + $ //
Remove all blank rows:% S/\ (\ s * \ n \) \ +/\ r/
Remove all "//" Annotations:% S! \ S *//.*!!
Remove all "/*... */" Annotations:% S! \ S */\ * \ _. \ {-} \ */\
Emacs has been used intermittently for several years, but still feels unskillful. It mainly involves Automatic completion and automatic prompt, and it feels too complicated in Emacs. Try Vim today to see if it is convenient.
After gvim is
1, in ~ /. Add the following to vimrc:"For colorscheme. Added by albcamusIf has ("gui_running ")"Colorscheme default" It doesn' t matter whether you comment this or not:ElseColorscheme desert "I 'd like to use modified desert scheme instead"Of the
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.