Using the VI (VIM) editor on Linux tutorial

VI (VIM) is a very common editor on Linux, and many Linux distributions have VI (VIM) installed by default. VI (VIM) commands are numerous but if used flexibly it will greatly improve efficiency. VI is the abbreviation for "Visual Interface", Vim is

Vim Editor-shell script

First, VimEditor1.1 concept and its roleText Editor for writing, modifying text, which is already installed on Linux by default, similar to Windows word1.2 Vim three modes of Operation 1) Command mode: Vi/vim default mode, cannot input characters,

This is how I use vim to write code--Plug-ins

The previous article introduced a simple way to edit vim. Mastered the basic operation of VIM, but also a handy text editor, after all, is much weaker than the IDE. Powerful vs, code tree, code jump, function browsing, auto-completion, code

Vim multi-line comment and cancel

God operation Writing code in vim often comes across multiple lines of comments and uncomment, and in VS we can use the default shortcut keys or customize shortcuts in settings to solve this problem. Since Vim is so powerful, it must also

VI Vim Editor

Note: These commands have a colon before them:Edit Exit VimWhen you are finished editing the document, you are ready to exit VI when you return to the shell, you can use one of the following methods.In command mode, double-press two capital Letter Z,

Vim and Shell Programming basics

One: Vim Undo and Redo  U Undo Recent Changes#u撤销之前多次更改U undo cursor falls on this line after all the changes of this rowPress Ctrl-r to redo the final undo change. Repeat previous actionN. Repeat the previous action n timesExit mode e! Direct

Linux commands, VIM,VI instructions

(a) What is Vi/vim?Almost all the configuration files in the Linux world exist in plain text, and the VI editor is available on all Linux distribution systems, so it is convenient to easily modify the various configurations of the system with simple

Vim shortcut keys

Vi/vim Key DescriptionIn addition to the simple example above I, ESC,: Wq, in fact, Vim has a lot of keys can be used.Part I: General mode available cursor movement, copy and paste, search and replace, etc. How to move the cursor

Working with ^h and ^m in the redirect file in Vim

When doing the experiment, the log redirection is written to the file for easy viewing later. But with vim opened after a lot of ^h and ^m, like garbled. :Now try to solve this problem in vim. Replace ^hEnter a command in vim to replace the ^h

linux-extension Application: Vim editing skills, distribution network yum source, source code compilation and installation

permissions are numeric:Basic Permissions r=4 w=2 x=1Additional permissions suid=4 sgid=2 Stiky bit=1Set permissions by using numeric formSpace occupied by the statistics file: Dudu [Options] ... [Directory or file]-S: Counts the total amount of

Vim-Common configuration

Basic ConfigurationIn the case of any plug-in, the configuration is as follows:set nusyntax onset hlsearchset tabstop=4set shiftwidth=4set expandtabset smartcaseset iccolorscheme srcery-drkVundleVundle is a plug-in manager for Vim, like Neobundle is

Basic use of VIM in the Linux text editor

A text editor is used to create or modify a text file. Three modes of Operation:   Command mode-->> edit mode--->> command line mode.      mode switch:     enter file       --Command mode       appears insert    --edit mode      input:    

Vim Installation and Configuration

Installation and configuration of the Linux operating system vimInstallation of VimVI is the most established Linux editing tools, and Vim is the upgrade version of VI, Linux system must ah.1. Press the TAB key after typing "VI" on the command line

Vim failure problem

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/9E/36/wKioL1mNchSQ-TYGAAEBT1E6Nn0262.png-wh_500x0-wm_ 3-wmp_4-s_2403780095.png "title=" vim fault. png "alt=" wkiol1mnchsq-tygaaebt1e6nn0262.png-wh_50 "/>E325:attention # # # Please

Vi/vim Multi-window editing related commands

1, vi Multi-window editing command: vi-o file1 file2 Display multiple files vertically, inter-window shortcut key:ctrl+w(need to press two times W)Save and exit all windows:WQAExit all windows:QA650) this.width=650; "title=" Vi.png "alt="

Linux VIM Editor

Commonly used vim operation self-summary, the great god please avoid: Vim Open Exit SaveOpen it:Open Vim Practice_1.txt directlyYou can also open vim first, after: E file pathSave:: W file nameor exit Save: wq!Exit Vim:shift+zz in Normal mode

Remove the ^m characters from the open file in vim

Symptom: ^m appears when you open a text file that is edited by Windows under LinuxWhy: Move files from one system to another, and you'll encounter issues related to line breaks.Workaround: Use regular expressions for full-text null

A practical technique for Vim editing for advanced users

Guide There is no doubt that Vim is a very powerful text editor. It provides a number of features, which means learning and remembering all of the functions of Vim is virtually impossible. But we can at least continue to learn simple ways to do

Sinsing to play with you. Vim section Fourth operation text content

first of all, it's worth mentioning. My Vim tutorial PDF version number has been written. Everyone can go to download, here is csdn: csdn download , assume that the left side of the hanging off, you can also enter the browser below such as the

Two graphs learn vim editor

Xu Liugen Source: http://blog.csdn.net/xlgen157387/article/details/53184811 Vim is a kind of vi-like text editor, but on the basis of VI added a lot of new features, Vim is generally respected as the best of the Class VI editor, in fact,

Total Pages: 210 1 .... 59 60 61 62 63 .... 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.