Vim shortcut Notes "original"

Source: Internet
Author: User

Vim

ZR all Expanded

ZM All merger

Vim shortcut keys

SHIFT + I (' I ') for editing

SHIFT + 4 (' $ ') jumps to the end of the line

Shift + V (' V ') select row

SHIFT + 0 (') ') jumps to the beginning of the line

Ctrl + V module Edit First

Then s, or SHIFT + $, SHIFT + I to edit, and then esc to change the local content

s Delete

CTRL+WL or WH is the toggle window to edit

VS A.C Open a file

Bundlesearch Find all plug-ins, found, yy copy the desired line of the plug-in into the VIMRC can be VI ~/.VIMRC

And then execute the Bundleinstall.

Bundlelist Current Plugin

After the vim is installed, put the. VIMRC in the inside and save it, and then there are a few hidden folders to put in it.

To see what functions are called, shortcut keys: ctrl+\, then press S

Or CS find main can also

First installs the Ctags, runs the ctags-r in the root directory of the program, generates the tags file, and then presses CTRL +] While editing the program to jump to the definition of what is at the current cursor. If there are multiple tags, execute: TS, make a selection. Press Ctrl+o to jump back. However, after you have modified the code, you need to regenerate tags.

Vim jumps to the beginning-----> 0

Vim jumps to the end of the line shift+4----> $

Welcome to Exchange

Sina Blog: http://blog.sina.com.cn/u/2049150530
CSDN Blog: http://blog.csdn.net/u011749143
Blog Park: http://www.cnblogs.com/sky-heaven/
Sina Weibo: Zhang Zhanhua--sky

Vim shortcut Notes "original"

Related Article

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.