Vim Copy & cut

Original: http://vim.wikia.com/wiki/Copy,_cut_and_paste Reference: http://linuxtoy.org/archives/efficient-editing-with-vim.html Ever try to cut (or copy) some lines and paste to another place? If you need to count the lines first, then try

Linux 4 Vim

Www.vim.org command: Set nu to use VI more quickly, we need to master several sets of commands {#1, [INSERT command] A, A, I, I, O, O #2, [positioning command] H, J, K, L, $, 0, H, M, L: Set nu to set the row number: setnonu cancel the number Gg to

Python auto-completion in VIM

This is a pretty good PythonCodeAutomatically completed scripts. The following Python code can be automatically completed: Simple Python keyword completion Python function completion with parentheses Python module completion

Select All Vim copies

I was also looking for a quick way to select all, but many of them are repeated and incorrect on the Internet, such:1, $ y, what is this? To write, you must also write: 1, $ y, but I tell you, write: 1, $ Y is all copied, not all selectedDG. This is

Turn to Vim's learning Manual

I recently advocated Vim in the project team: the first reason is that the text editors used by everyone are different. They use ue, notepad ++, and editplus, some tools involve copyright issues, and the final text format is not uniform during text

Why Emacs and Vim are called two major artifacts

Emacs is the god Editor, while Vim is the god of the editor. Why are the two so well known and I want to hear from you in this article. Author: Jiqing Wu Email: Jiqingwu@gmail.com Homepage: HTTP: //

Vim basic configuration

1. Configuration File LocationUnder the/etc/directory, there is VimrcFile, which is a public Vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private configuration file named" . Vimrc".

Vim tab Function

Although Vim has been used to write programs and documents, it has not been used to explore the specific usage of its tab page function. Now I am paying attention to this issue. After all, it takes less and less time to use Vim. Of course, this is

Introduction to VIM

12-09 update: The English version of VIM visual cheat sheet is also available. PNG, PDF) (Update:Add the basic instruction table and description in the graph andPDFTo facilitate printing and pasting on the wall at any time.) I was writing that

Vim usage record

Automatic indent settings: Set cindent Format and adjust. = Manual adjustment. Code auto-completion Insert mode: C + n to complete the next step; C + P to complete the previous step.Show row number Command mode: set numberPowerful g

The better Vim is, the better it will be. paste the configuration file. vimrc

On the one hand, you can see it elsewhere :) In fact, in the past, Vim's configuration was nothing more than looking at someone else's long configuration file and copying it by yourself. Now it basically forms a habit, add the shortcut key as needed,

Vim plug-in quick comments

This is a plug-in for VIM. You can see the name. It belongs to the same author as the nerd tree. With this plug-in, you can comment out files of various file types in different ways and quickly. This is undoubtedly a tool to improve efficiency and

VIM + taglist + ctags in Windows

Install it in Windows:1.Download from www.vim.orgTaglist_45.zip. After decompression, there are two files Doc and plugin. Copy these two files to the install directory Doc and plugin of vim.2. Open Vim : Helptags $ (home)/doc: HelpTaglistThen you

Vim and vimgdb compilation and installation process records

  1. Download Vim Http://www.vim.org/download.php   2. Download vimgdb Http://clewn.sourceforge.net/   3. Extract # Tar jxf vim-7.2.tar.bz2 # Tar zxf vimgdb72-1.14.tar.gz   4. Patch # Patch-D vim72 -- backup-P0   5. Configure compilation Parameters

VI & Vim copy, paste, and cut text

I often use the VI editor, but it is basically a habit of windows. I have never learned the functions of the system. Today I have encountered text copying, which is no way to solve it. Let's take a look at the solution below: references: NLP often

Vim syntax highlighting

After Vim is installed, if it is not highlighted, set it as follows:   1. If not ~ /. Vimrc, first create   $ VI ~ /. Vimrc   2. Switch to the insert mode and copy the following settings directly:     set autoindentset cindentset

Vim sets the tab width

Http://blog.chinaunix.net/uid-346158-id-2131115.html In the work, it is suspected that the width of a tab in VIM is too large. In the Debian system, the width is 8 characters before it is changed. to change it to 4, see the following:Cd ~Vim.

Vim tips-Write Program comments

1. Import copyright information at the beginning of the file Copyright information usually needs to appear at the beginning of each source code file. This part of content is the same and there is no need to repeat the input. Even copying and

Vim notes and materials favorites

Vim usage notes **************************************** **************************************** ---- 1 ---- SHIFT + Z in normal mode, equivalent to: WQ **************************************** **************************************** ----

Vim command memo

View File encoding Highlight the current row set cursorline Highlight the current column set cursorcolumn Delete linefeed J Definition of work iskeyword Exchange two characters in XP Move to the end of GE <> E blank Definition Blank and bounded

Total Pages: 210 1 .... 196 197 198 199 200 .... 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.