Due to my recent work need to use vim and Linux Shell programming, I gathered some nice articles about self-learning those relative knowledge. Here I share them for you, hope it does work
First, you need some shell exprience. Bash guide for
Sudo Vim/var/lib/locales/supported. d/local
The premise is that you have installed Vim (it's nice to use)
Open this file and write the font you want to install. Zh_CN.UTF-8 UTF-8en_US.UTF-8 UTF-8zh_CN.GBK gbkzh_cn.gb2312 gb2312
Run
Sudo
Restoration in VIM is relatively simple, but it is difficult to recover to a specific time period.
In my experience, it is better to use restoration to delete and rewrite data.
Here we will talk about the use of recovery, revocation, and repeated
Reprinted from: http://linux.bloghome.cn/posts/114.html
1. Install to http://vim.sourceforge.net/scripts/script.php? Script_id = 1, 159
Download the latest minibufexpl. Vim script,Copy the file to the plugin directory.
2. ConfigurationAdd the
1 shiftwidth
This is usedProgramIndicates the white space length used for automatic indent. In general, to keep the program beautiful, it is best to be consistent with the following parameters. It is also the setter of the symbol shift length. 2
1. Display hexadecimal data in VIM
: %! Xxd-G 1 indicates that each byte is one group.
: %! Xxd-G 2 indicates that every two bytes is a group (default)
: %! Xxd-G 4 indicates that each 4 bytes is a group of 1
: %! Xxd-r restores Vim to the
I am used to the IDE tools in windows, and I always feel that some of them are missing.
CodeRather than your own, it is brought by IDE.
On the other hand, in the process of cultivation, you always need to master one of the other editing tools.
I have been using Vim for some time, but I still have some knowledge about it.I accidentally found an article on the InternetArticleIt feels good, hoping to bring it to friends like meSome help.
Because there are too many content to copy, I will
When Vim is used in the terminal for editing, by default, no line number, high syntax brightness, and smart indentation are displayed on the editing interface.
. To better work in Vim, You need to manually set a configuration file:. vimrc.When Vim
I. Basic concepts of viBasically, VI can be divided into three states: Command mode, insert mode, and last line mode. The functions of each mode are as follows:A) Command Line Mode)Controls the movement of the screen cursor, the deletion of
Use of the cssag plug-in:1 download: http://cscope.sourceforge.net/2 installation: #./configure# Make# Make install // root permission requiredNote: if an error occurs during the installation process, it is because you want to directly install the
I have learned some configuration items in Linux over the past two days. Now I will record the learning process for your convenience. I would like to thank my colleagues for their guidance ~.
System Environment: Linux Debian
I. Su, sudo
After Linux
For vimist, neocomplcache is a plug-in that is both love and hate. The main feature is powerful, complex configuration, and like to conflict with various plug-ins.
I was also overwhelmed by him. During this period, you searched countless times, but
Configuration
Modify the. vimrc File
Set number # display row number filetype on # display file type set fileformat = UNIX # Set the file format to unixset Ts = 4 # Set the tab length to 4 set expandtab # Set the tab to use space set autoindent #
From: http://code.google.com/p/xiangelinux/wiki/vim_pm
Does Vim require additional engineering management plug-ins? The answer is no need. Suppose we have a project under the test directory, which contains main. C, A. C, B. C...
1. Create a
1. In securecrt, when securecrt uses vim, syntax highlighting is not actually a function of securecrt, but a function of vim.
Settings: Options-> session options-> terminal-> in emulation, select ANSI or Linux or xterm for terminal. ANSI colour must
First check securecrt,
Set
Options-> Global Options-> General-> default session-> edit default settings-> terminal->
Appearance-> character encoding,
Select UTF-8
Then set
Options-> Global Options-> General-> default session-> edit default settings->
1. Prepare the winmanger plug-in. Click the following URL:
Http://www.vim.org/scripts/script.php? Script_id = 95
2. decompress the package and obtain the plugin and Doc folders. Copy them to a directory similar to c: \ Program Files \ Vim \ vim7
Well, what I'm talking about here is not how to use tabnew in the terminal to open a new tag, but how to use gvim to open a new file in windows, it is opened on the gvim tab by default.
Here there are two main methods, in fact, the principle is the
Vim split screen function
To sum up, ctrl + w and a key letter are used to trigger a function.(1) open several files in shell and split the screen:Vim-On file1 file2...Vim-on file1 file2...
Large O represents vertical, and small o Represents
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.