practical vim

Alibabacloud.com offers a wide variety of articles about practical vim, easily find your practical vim information here online.

Vim-multiple-cursors: Vim plug-ins that support multiple selections __vim

http://top.jobbole.com/1370/ The Sublime Text Editor has a very powerful "multiple selection" feature that supports "one edit, multiple changes". Since the vim-multiple-cursors this plugin, VIM users no longer need to envy Sublime Text users. After you install the plug-in, select multiple selections by pressing Ctrl + N. After selection, you can combine Vim wi

Vim's editing mode, Command mode, and vim practice operation

I. VIM's editing modeSecond, vim command modeThird, VIM practice operation# Cp/etc/dnsmasq.conf/tmp/1.txt (1) Move Down, right, left, and up 6 characters (6j 6l 6h 6k) respectively. (2) turn down and up two pages (two times ctrl+f and Ctrl+b respectively). The (3) Moves the cursor to line 49th (49G). (4) Move the cursor to the end of the line, and then move to the beginning (Shift+4, shift+6). (5) moves

Enter edit mode & VIM Command mode &vim practice

as a stringYou can also write this:1, $s #/etc/hosts#xiaobo.com#g: 1, $s/dnsmasq/aminglinux/gNote: 1. Replace ":" before adding "2.$ that the end of the line can also be represented by a number, such as 1,100 for the first row to the 100th row3. s means replacement4.////Front two/middle write what to replace two/middle write what you want to replace5. G global variable represents allDe-translation:where/etc/hosts/need \ de-translationor///change to # # # or @@@Small knowledge:: Wq and: X If the

Vim environment variable configuration, background color configuration, and vim environment variable background color

Vim environment variable configuration, background color configuration, and vim environment variable background color When we use vi or vim, if we want to display the row number, we may do this: switch to the command mode, enter set nu, and then press the Enter key to display it; in addition, when programming, sometimes we want to press the Enter key, the cursor

Vimdiff --- VIM comparison and merge tool, vimdiff --- vim merge

Vimdiff --- VIM comparison and merge tool, vimdiff --- vim merge This article comes from the IBMDW http://www.ibm.com/developerworks/cn/linux/l-vimdiff/ Comparing and merging source program files (usually plain text files) has always been an important part of software development. Many powerful dedicated comparison and merge tools on the market, such as BeyondCompare. Many IDE or software configuration mana

"Vim little" vim's copy and paste (including system clipboard)

1. Vim Common copy and Paste commandVim's copy-paste command is undoubtedly y (Yank), p (paster), plus yy,pPs:Vim has a very interesting convention (I think it is a convention), that is, the case of a command is to achieve a certain function, but the direction is different, such as:W Jump to the next word,w: Jump to the last WORDF a line forward to find and jump F: Reverse ....Then some double-written letters have line operations:YY Copy line dd

Learning VI and VIM Editor: VIM overview

Vim refers to the "VI improved", that is, the improved version of VI. Currently, Vim is probably the most widely used type of VI.Overview:Author and Brief History:Vim is written by Bram Moolenaar, and is also developed by other people. So vim can grow and change with the computer industry and the need of text editing, and maintain its own value. Today's

Common vim commands, vim

Common vim commands, vim VIM is generally divided into several modes to distinguish whether the input is a text or a command through different modes:1. Normal mode (common mode, c-mode ):Once you enter VIM, it is in c-mode. You can only enter commands and text. These commands may be commands for moving the cursor, edit

Linux learning notes (10) Text Editor vim, learning notes vim

Linux learning notes (10) Text Editor vim, learning notes vim Vim is a powerful full-screen text editor, the most common text editor for Linux/Unix. It is used to create, edit, and display text files. Vim features no menus and only commands. Vim mainly has three working mode

VIM editor Usage Details, vim editor details

VIM editor Usage Details, vim editor details The Vim text editor is installed on all Linux operating systems by default. It is a very useful editor.Three Modes It has three modes: Command mode and last line mode. Command mode: controls the movement of the cursor to copy, paste, delete, and search the text. Input mode: normal text input. Last line mode: Save or ex

Vim shortcut, vim

Vim shortcut, vim1. vim Environment Settings Vim behavior record file path ~ /. Viminfo Set the file path in the vim environment ~ /. Vimrc In ~ /. Manually write the following content in vimrc (double quotation marks "indicate comments ): Set nohlsearch "highlightSet backspace = 2 "deleted with backkeySet autoindent "

Vim uses zhibei ---- learning the VI and VIM editors Reading Notes

VI/Vim is one of the most powerful and popular text editors in the liux system. Learn Vim while reading learning the VI and VIM editor, and write simple notes for future queries.Before reading this book, we often used Vim to edit some simple files and some basic simple commands. But while reading the book, I found that

[Vim] with sudo permission to save vim open readonly file

[vim] with sudo permission to save vim open readonly file The following command is to be stated in this article: : W! sudo tee% >/dev/null In the Linux configuration, you will change to read-only files, such as/etc/profile $ ls-al/etc/profile-rw-r–r–1 root root 1139 Mar 17:30/etc/profile Use VIM to open the file/etc/profile modified, save will be wrong: : WE45:

My vim is on the road

ObjectiveFrom the sophomore time began to contact with the Linux, and thus also contact the VI, right, at that time not quite understand, do not know there is a vim, really feel that the introduction is not simple, online about vim compared to other editor's learning curve, looked daunting. At that time, there is not much to use, so has been in the naked run state, only the basic operation, here I prefer a

Run the VIM exit command and run the vim exit command.

Run the VIM exit command and run the vim exit command. Note: These commands are preceded by a colon: You can use either of the following methods to exit Vi and return to shell after editing the document. In command mode, two uppercase letters are used for a connection. If the edited document has been modified, Vi saves the document and exits, and returns to shell; if the edited document has not been modifie

Vim basic operations and vim basic commands

Vim basic operations and vim basic commands Copy y Paste p Cut d When the row processes yy (copy row), dd (cut row) Multi-row processing nyy (copying multiple rows) and ndd (cutting multiple rows) Line paste when row copy is used Partial row pasting when using region Replication Intra-row processing y ^ (copying from the cursor to the beginning of the line), y $ (copying

"Vim little" vim's efficient movement

I still recommend all new vim friends first go to use vimtutor practice, and then go to see Vim's help document, write very carefully, and can immediately combat, effective quickly, many of the following are the examples of VIM help document, I feel very good, took out.The reason why vim is efficient is because it has a high-efficiency mobile mechanism, as a lear

Enable Vim syntax highlighting in SSH & Vim configuration in Terminal

Enable Vim syntax highlighting settings in SSH Secure Shell Client The related settings on the SSH Secure Shell client are: Setting --> profile setting --> connection --> terminal, select ANSI or xterm. ====================================When you use Vim to edit a terminal, by default, the editing interface does not display line numbers, syntax High Brightness Display, smart indentation, and other functio

[Vim] vim learning notes-open, switch, and close multiple files

[Vim] vim learning notes-open, switch, and close multiple filesOne case is to use vim in shell to open multiple files, and the other case is to open multiple files in the vim editor.Open multiple files at the same timeVim file1 file2Open the file and display vim-o file1 file

Vim learning notes series (preface) and vim learning notes

Vim learning notes series (preface) and vim learning notes This morning, we saw that the great gods were using vim for programming. The screen was intuitive and the speed was very fast. The operation only needed a command character. Therefore, it can be inferred that the vim command operators are complex, so the le

Total Pages: 15 1 .... 10 11 12 13 14 15 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.