Today, git commit is used in the company to submit to git ServerCodeThe nano editor is opened directly after you use the git-commit-a command.
I have never used Nano, so I decided to stop using vim.
Vim./. Git/config
Add the core field to the
Ubuntu10.05 has been tossing for the past two days. It shows that wubi is unresponsive, and then grub errors occur during hard disk installation. After the installation is successful, it will take half a day to get a Chinese input method. It is
Recently, we have been tossing over Vim exceptions on Mac, and many small problems are hard to solve. In order to replace the terminal with iterm with 256 colors, but for a better visor, we had to continue using the terminal in the band. So I
In VI/vim, copy and use "Y" and delete with "D". What about the clipboard? The clipboard is deleted and then pasted. The original deletion is not a real deletion, but a buffer.
Copy1. In "YY" editing mode, copy the content of the row where the
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
By default, the function name is not highlighted in vim.
Code Add it to the end of the/usr/share/Vim/vim73/syntax/C. Vim file:
" Highlight Functions SYN match cfunctions " \ [^ ()] *) ( " Me = e- 2 SYN match cfunctions " \ \ s *( " Me = e-
Vim is the god of the editor. Needless to say, the more you use it, the more powerful and convenient Vim is. However, it is powerful based on a combination of many plug-ins, and VIM itself lacks effective management of plug-ins. it is inconvenient
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
Use Vim to develop software projects-(2) sessions and viminfo
The help entry for the commands used in this section:: Help mksession
: Help 'sessionoptions'
: Help Source
: Help wviminfo
: Help rviminfo
: Help 'viminfo
Many software have this
1) Why can't other people's methods work for me?
(2) how to find the last edited file?
(3) how to copy and paste it?
(4) how to replace multiple files?
(5) how to open all fold once?
(6) how to select or copy the word where the cursor is located?
(7)
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
1. Install VimSudo apt-Get install Vim
2. you can create your own configuration file in the home directory.Switch to the Home Directory # Cd ~Touch a file named. vimrc (hidden file starting)# Touch. vimrc# Vi. vimrcEnter the following
As we get used to Vim's lightness and do not want to install the extra Tex Editor, we configure Vim according to our usage habits.
1. Install the vim-latex plug-in
: Http://sourceforge.net/projects/vim-latex/files/
DownloadVim-latex-1.8.23-2012012
Vim settings code folding
Source: chinaunix blog Date: 2008.08.29 (comments in total)I want to comment
When viewing the Code, if the code is very lengthy, especially
Set the vim syntax highlight and auto indent of centos. Use your own installation and summarize the following:
1. The configuration file is located under the/etc/directory, and there is a file named vimrc, which is a public Vim configuration file in
Author: Jiqing wuemail: homepage: http: // hi.baidu.com/jiqing0925create:2011-01-09update:2011-01-09readers: students who often use computers to process tokens and Programming
Directory
1.3 Vim is not just vi
How to configure vim in cygwin:
1) enter the cygwin environment and execute the following command to copy the vim configuration file.$ Cp/usr/share/vim/vim71/vimrc_example.vim ~ /. Vimrc
2) Modify. vimrc$ Cd ~$ Vi. vimrc
3) I am used to the
Centos is located at:/etc/vimrc
1 if v: lang = ~ "Utf8 $" | v: lang = ~ UTF-8 $"2 set fileencodings = ucs-bom, UTF-8, latin13 endif4 syn on5 set number6 set nocompatible "Use Vim defaults (much better !)7 set bs = indent, eol, start "allow
1 screen
A install screen through ports
B $ screen
C $ vi file1.c
D CTRL + a c (hold down CTRL and a at the same time, release and then click c, the same as below) to create a new window
E $ vi file2.c
F move the cursor to the Starting Point
G CTRL +
In VI/vim, you can use the: s command to replace the string. This command has many usage methods for different details, which can implement complex functions and record several types here for future query convenience.: S/Vivian/sky/Replace the first
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