[Call Sqlplus.txt in 20170617]vim--//previously wrote an Emacs downgrade with Sqlplus article, has been wanted to learn Emacs, limited own vim, to learn it no interest, the original link is as follows:--//http://blog.itpub.net/267265/viewspace-130903
Installing CtagsYum Install CtagsGenerate tags filecd/usr/-R.Configuring tags in vim#修改 the VIM configuration file. Or use vim ~//etc/vimrc# to add the following line to the VIM configuration file set tags+=/usr/include/tagsUse CTRL +] to jump to
VIM Command Summary1. Delete charactersTo delete a character, simply move the cursor over the character and press "X". 2. Delete a rowDelete a whole line of content using the "dd" command. After deletion, the following lines are moved up to fill the
Detailed reference http://www.runoob.com/linux/linux-vim.htmlI insertI Line Header InsertionA Line End InsertionFN +←, beginning of the lineFN +→, end of linefn +↑, PAGE upfn +↓, PAGE Down
[Ctrl] + [f]
Screen "Down" to move one
Vim EditorText editor, word processorAsciiNano, SEDVi:visual InterfaceVim:vi Improved:vi the basics plus some useful pluginsFull screen editor, modal editorVim mode:Edit mode (Command mode)Input modeLast-line modeMode conversion:Edit--Input:I: In
When using a CentOS host, -bash:vim:command not found appears when using Vim. Only VI. So how to install vim?Enter the Rpm-qa|grep vim command, and if Vim is installed correctly, it will return the following three lines of code:[Email protected]]#
1.vim Editor replacement mode and visual modeIn general mode, press theRAndREnter replacement mode. If you press small r then you enter the replacement mode, and the next character you enter will replace the character where you currently have the
1, Vim ~/.VIMRC Enter the configuration fileIf you don't know where the VIMRC file is, you can use the: Scriptnames to viewSet Nu #行号Set tabstop=4 #一个tab为4个空格长度Set AI? #设置自动缩进Syntax on?? #高亮?2. BasicSPACEBAR to move one cell to the rightX Delete the
Plug-in commands commonly used by "vim"[ESC]Exit Edit(input,Insert)mode, back in command mode(Common)I, IEnter insert mode(Insert mode):Ito "Insert from the current cursor location",Ifor "The first non-null in the current rowGeff start inserting ". (
As a developer, you should have heard of the editor of God Vim and God's editor Emacs. The details of the editor's battle are interested in children's shoes can be Google's.The biggest feature of Vim is the fast, powerful, and once mastered command,
Set Autoreadsyntax on "set number" filetype ident on "set Autoindent" set Expandtabset cindentset shiftwidth=4autocmd filety PE make setlocal noexpandtabset tabstop=4set showmatchset matchtime=1set smartindentset scrolloff=3set nocompatible "No Vim
DW: Delete the wordd$: Delete from current cursor to line trailerDe: Delete from the current cursor position to the end of the word (including the last character)d$: Delete from current cursor current position until end of current lineDD: cut when
Click Esc the key,; Vim enters command mode. Then enter:
:qExit (this is :quit the abbreviation)
:q!Do not save exit (this is :quit! the abbreviation)
:wqWrite the file and exit; (This is :writequit the abbreviation)
:wq!(If the file
1. Click the ESC key, which means Vim is ready to accept the order.2. Then directly tap the keyboard input command.This step requires that you do not attempt to use the mouse to find anywhere on the screen where you want any input commands.You just
The function of Vim editor in Linux is very powerful, many commonly used shortcut keys are very convenient, here will I learn the introduction of vim some of the commonly used shortcut keys to share to everyone, hope to help you.Original address:
For learning Python programming, a good IDE is essential, Python has a high requirement for code indentation, typically 4 spaces indented.For VIM, we just need vim. VIMRC plus the following 2 lines of code:Set ts=4Set ExpandtabFor sublime, you need
Why should I learn vim?
All Unix like systems have their own VI editor
Some software's editing interface will automatically adjust the VI
As an upgraded version of VI, VIM has the program editing function, but also has the code
Vim in Linux, what is vim, vim is actually the Word document inside windows, almost the biggest advantage of Windows is the humanization But Linux is not the same, the biggest disadvantage of Linux is not enough human Vim Zhang the command is to
In the Linux environment Editor has VI, VIM, gedit and so on.After entering these editors, to make it easier for us to need the editor to display the current line number, the editor will not display the line number by default.There are two ways we
Test success, perfect solution.Just change this file _VIMRC in the Vim folder below.Come on, tart. It's very powerful!Set Encoding=utf-8set fileencodings=utf-8,chinese,latin-1if has ("Win32") set Fileencoding=chineseelseset Fileencoding=utf-8endif
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