Vim is the most famous text/code Editor on Linux systems, and the enhanced version of the Vi editor in the early years, and GVim is its Windows version. Its biggest feature is the full use of keyboard commands for editing, while leaving the mouse to
Http://zhwen.org/?p=articles/cscope-tags
The Linux source code provides make commands for making Cscope index files and tags files. First , the installation of software installation Cscope:
sudo apt-get install Cscope
In the installation ctags:
http:
securecrt Change Display widthAfter each use of SECURECRT login sqlplus query data are folded line display, even if set lines 1024 parameters are useless, very uncomfortable, today finally finished.
SECURECRT v5.5.1 (Build 407)
1, first global
Vim Plug-in list
Warehouse Address Basics
Plug-in
Use
gmarik/vundle, L9
package Management
the-nerd-tree
directory tree
Ctrlpvim/ctrlp.vim, Dyng/ctrlsf.vim
Quick
The font color that is commented out in VI defaults to blue and cannot be seen clearly, you can change the color configuration by setting the. vimrc file in the user's root directory.
Use the Hi command to modify the color of the annotation,
Vim test.c +24 opens and navigates to 24 rowsCommand mode1. Edit modeH LeftJ DownK UpL RightI input insertGg=g can be indented in the first lineYY copyP PasteR Replacement ModeR replaces the current position, back to command modeDD Delete When
Daily common to multi-line merging functions, recorded as follows:First, multiple lines are merged into one line, namely:AAAAAbbbbbCccccMerge to:AAAAA bbbbb CCCCCMethod 1:normal State 3J where 3 is a range, can be a bookmark or search location, and
Transferred from: http://os.51cto.com/art/201507/484174.htmVim is a versatile, lightweight text editing tool on Linux. Although it is quite difficult for ordinary Linux users to start learning, it is worth learning because of the benefits. As for
let g:AutoPairs = {‘(‘:‘)‘, ‘[‘:‘]‘, ‘{‘:‘}‘,"‘":"‘",‘"‘:‘"‘}Set the symbol to be paired automatically
let g:AutoPairs[‘‘Add symbols to auto-pair <>
let b:AutoPairs = g:AutoParisSet the symbol to be automatically paired, default to G:autopairs,
I. Common functions of VIMVim is a text editor developed from VI. Code completion, compilation and error jump and other convenient programming features are particularly rich, widely used in programmers, and Emacs parallel to become UNIX-like system
VI belongs to the Linux kernel built-in command (vi editor)1. Vi/vim Working principleBefore you learn Vi/vim editor parameters and shortcut keys, you need to understand how Vi/vim works first. The Vi/vim command has three modes: edit mode, view
vim 存文本编辑器Syntax format: VIM "option" "File" vim [options] [file]Attention:1.vim command and subsequent options and files, there must be at least one space between each element2.vim can be divided into three modes: normal mode, edit mode, command
Day5 python full stack s3 the last Class review
S3 Python full stack day5 file merge and file archive
S3 Python full stack day5 file archive with two compression methods
Python full stack S3 day5 Vim Editor
Python full stack S3 day5
First, in Vim into the last line mode to find and replace:Press/or in edit mode to find a patternFormat:/patternYou can use N or N to find the previous or nextThe S command in the last command, which is the command to replace, looks for and then
CentOS 7 has its own VI,There are three modes of VI:Commande modeInsert modeLast line modeEnter VI vi+ file name (corresponding directory)----go to the VI Full screen editing screenAfter entering VI, is under command mode, you need to switch to
First, move the cursor1、移动到行尾"$",移动到行首"0"(数字),移动到行首第一个字符处"^"2、移动到段首"{",移动到段尾"}"3、移动到下一个词"w",移动到上一个词"b"4、移动到文档开始"gg",移动到文档结束"G"5、跳到第n行"ngg" 或 "nG" 或 ":n"6、移动光标到屏幕顶端"H",移动到屏幕中间"M",移动到底部"L"7、移动到上次编辑文件的位置 "`"Second, edit the operation1. Insert after
(Prerequisites)
Learn VIM: http://www.cnblogs.com/starspace/archive/2009/05/15/1458044.html
Configure VIM: http://haohetao.javaeye.com/blog/690715
Summary:Install Vim --> Configure the/etc/Vim/vimrc FileThis enables Vim to support syntax
Vim and vimVim-common sorting: 1.1 move the cursor
0 or home: Move to the beginning of the line (first line)
$ Or end: Move to the last character (end of line) of this line)
G: Move to the last row of the file.
NG: Row n of the object to be
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.