A summary of the quick operation of Vim under Linux

How to move the cursorh or LEFT ARROW key (←) The cursor moves one character to the leftJ or DOWN ARROW key (↓) cursor moves down one characterK or Up ARROW key (↑) The cursor moves up one characterL or right ARROW key (→) The cursor moves one

Summarize a few very useful but often don't remember the use of VIM command.

Moving from my blog: http://www.xgezhang.com/vim_command_useful.htmlVim this thing is to use more practice, a period of time after the summary. Here is a list of some of the most useful and less skilled commands to use as a record review.o Insert a

Linux applications: Vim key Mapping

1. Common mapping Setting method": Combination of actions performed by map map key combination": Set key mapping": Noremap the characters in the map key combination mapping Key": Cancels nested mappings for a character": Unmap Map key combination":

Linux (Debian) vim configuration

eol

Vi/etc/vim/vimrcEdit the following""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""General Settings""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""Set default decodingSet Fenc=utf-8Set

Vim Editor Shortcut Summary

vi   : visual interface  Visual Interface         Because we frequently write scripts and configure the server, we need a powerful text editor. Vim:vi  improved vi enhanced Vim is a full-screen, modal editor with three modes of VIM mode: Edit mode

Vim: Copy the currently edited file full path to the system Clipboard

Under Win, code debugging or VS is the most convenient, when using vs open exe, vs need to quickly locate the file, in source Insght, write a macro, with a shortcut key implementation. But how do you do it in vim? Looked for again, did not find

Vim Chinese coding problem

In vim at random to create a new HTML document, the input Chinese, and the Web page is displayed as garbled, and began to think it is a vim configuration file problems, change multiple invalid. The final discovery is that the HTML header does not

Vim Command Collection

Command HistoryCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.start VimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim

SECURECRT + screen + Vim remote login utf-8 garbled problem solving

Problem one: Using SECURECRT telnet machine, using Vim Viewer program, is garbledWorkaround: In SECURECRT settings, set the character encoding to utf-8650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/57/0A/

A summary of the VIM text editor

Speaking of the text editor, you have to say that the vim of the old age, say, but also Hale, still have a lot of advocates. It is true that vim is practical, and the advantages of VI are listed first.1, if the master of vim, you can save the mouse.2

Vim ignores case Lookup configuration

zhanhailiang 日期:2014-12-17The default Vim lookup is case-sensitive and can be implemented by ignoring case lookups in two ways:set ic?noignorecase1 instruction setting::set ic(ignorecase 的缩写) 忽略大小写:set noic(noignorecase 的缩写) 不忽略大小写Enter the

Set Vim's color scheme

The default color of the "go"Ubuntu VIM is ugly, and the blue annotations are basically invisible.See how many color schemes you have:$?ls?/usr/share/vim/vim72/colors? The following files were foundBlue.vim?????? Delek.vim???? Evening.vim??

VIM Command Summary

Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim

Syntax highlighting for go in vim

Test environment: Ubuntu 14.04 version KylinVim itself does not have golang syntax highlightingSolution:In the/usr/share/vim/vim74/There are so few folders: syntax, Ftplugin, indent, compiler, etc.,We see syntax can see there are gcc.vim and other

Vim shortcut keys

A. Mobile:H,j,k,l: Left, bottom, top, right.W: The first word of the next word.E: The ending of the next word.B: The word head of the previous word.Two. Jump:%: Can match {}, "", (), [] jump between.H, M, L: Jumps directly to the top, middle, and

Three modes of the VIM editor

Vim650) this.width=650; "class=" Selectsearch-hide "id=" Selectsearch-icon "alt=" search "src=" http://img.baidu.com/img/ Iknow/qb/select-search.png "/> Editor can basically be divided into 3 modes, namely command mode, insert mode and bottom-line

Vim Indent Settings

1. Create a. vimrc file under your home directory (///). Console input vi ~/.VIMRC carriage return.2. Enter the following text in the. vimrc file:Set tabstop=4Set softtabstop=4Set shiftwidth=4Set NoexpandtabSet NuSet AutoindentSet

[Vim] New Python file automatically add Python header

using a VIM script, using a template, a few lines of code can be implemented very useful. code in the ~/.VIMRC"Auto Add Pyhton header--startautocmd bufnewfile *.py 0r ~/.vim/vim_template/vim_pyhton_headerautocmd BufNewFile *.py ks |call FileName () |

N. ° vi ° Í vim ± à ¼ ­ Æ £ £6©£° Ex ±?©

N. ° vi ° Í vim ± à ¼ ÷ £ 6 £\° ex ±? Vi ± à ¼ Æ Ê Ó ózäµ×² ±? please refer to vi ± à ¼ Æ Ç çex Ð ± à ¼ ÷ %% ************************ äã» â ú ¯ Ð Ô ü Ü ü £ £ä äáá¦ Ç üçµ µä± à ã ü üáî £ £ex Ò Ð î ª µ;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Multi-line comment (especially for python code) in the vim compiler, vimpython

Multi-line comment (especially for python code) in the vim compiler, vimpython ------------------------------------------------------ Multiline comments in the vim compiler -------------------------------------------------------- When writing a

Total Pages: 210 1 .... 95 96 97 98 99 .... 210 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.