Linux VIM Command detailed

Vi:o in next line edit modeA is behind the editor ==>endThe beginning of the GG fileShift + G End of File$ File Line End^ File line beginning ==> 0 also to line beginningU fallback/Search from front to back? Search forward from behindN Next go downN

Use of the Vi/vim editor

Operation in command modeReplacement characters:%s/str1/str2/gDelete all content:%dDo not save exit:Q!Save exit:wq!Execute shell command:!command such as!ls-lInsert the shell command execution result on the next line:R!command such as R!dateSpecify

Vim Sword's plugin management pathogen

By default the VIM plugin is installed to put all the plugins and related doc files in a folder, such as the $vim/vim/vim74/plugin and $vim/vim/vim74/doc directories, and the consequence is that the modification and uninstallation are cumbersome, It

Editor of God-vim

About VIVI is the abbreviation of "Visual interface", its status on Linux as if the edit program on DOS. It can perform many text operations, such as output, delete, find, replace, block operations, and so on, and users can customize them according

Vim Command re-install

bz2

Author:headsen ChenDate:2018-05-11 09:50:23[[Email protected] ~]# which vim/usr/bin/Vim[[email protected]~]# rpm-qf/usr/bin/Vimvim-enhanced-7.4. the-1. El7.x86_64[[email protected]~] #rm-F/usr/bin/vim#-------------------> Delete vim command,

Vim Editor Common Command induction Daquan

ESC: Command-line modeI: Insert command a: Additional command o: Open command C: Modify command r: Replace command s: Replace command above enter text input mode: Enter the last line modelast-line mode:W: Save Q: Exit, no save can not exit Wq: Save

Basic Linux Basics and Vim usage

Liunx basic 1, directory? /: root directory, generic root directory only, there is only one root directory under Linux. Everything starts here, for example:/home is first from the root directory/start, and then into the House directory.

Personal VIM Configuration

"/*************************************************************************"> File Name:. VIMRC"> Author:lyucheng"> Created time:2018-01-14 14:39"> Description:" ************************************************************************/Syntax

Linux Vim Common commands

(iv) General mode common operation"H (or left ARROW key)" Cursor moves left one character"J (or DOWN arrow)" Cursor moves down one character"K (or Up ARROW key)" Moves the cursor up one character"L (or right ARROW key)" Cursor moves right one

Vim Simple Configuration

"set to automatically load when files are changedSetAutoread"line number on the leftSetNu"tab length is 4Settabstop=4 "do not back up when overwriting filesSetNobackup"Auto IndentSetsmartindent"Highlight Current Line"Set Cursorline"lower right

Basic usage and parameters of vim

About VIMVi:visual Interface, Text editorText: ASCII, UnicodeType of text editing:Line Editor: SEDFull Screen Editor: Nano, VIVim-vi improvedOther editors:Gedit a simple graphical editorGvim a graphical version of the VIM editorOpen file: # vim

Vim Tree Menu Plug-in Nerdtree installation

Vim Tree Menu Plug-in installation Nerdtree1. mkdir ~/.vimCD ~/.vimmkdir Bundlemkdir AutoLoad2. Curl-sso ~/.vim/autoload/pathogen.vim https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/ Pathogen.vim3.vim ~/.VIMRCAdd this

Vim commonly used and easy to forget commands

A good tutorial on the story:nohCancel Search highlightingxDeletes the character of the current cursor.:wqDisk + exitddDelete the current row and save the deleted row to the ClipboardpPaste Clipboarda→ inserted after the cursor/pattern→ searches for

Vim General mode

Introduction to Vim Yum install-y vim-enhanced installation package Vim is an upgraded version of VI Vim is color-displayed Sub-general mode, edit mode, command mode Vim color display and move cursor in general mode The same

Vim often forgets commands

1. Copy the specified line to the next line of the current cursor.#假设当前光标在10行, want to copy line 5th to line 11th: 5copy. #copy命令有2种简写 ' Co ' and 't', so you can also write the following format: 5co.:5t.Reference: http://liuzhijun.iteye.com/category/

linux-(Type,vim)

Type command 1. Command format:Type [parameters] [command]2. Command function:Use the type command to easily find out whether a given command is an alias, a shell built-in command, a file, a function, or a keyword. You can also find the actual path

Vim copy operation

1, display line number: Setnumber2, cancel the line number; Setnonumber3, in normal mode (press ESC to enter) The key v into the visual mode, and then press the keyboard or h,l key to achieve the text selection.Other Related commands:V: Select by

The second week of Linux learning; Vim text editor

Extended mode: R file absolute Path # writes file contents to the next line of the current cursor W filename # writes the current contents of the current VIM open to the filename (new file filename, writes the content) w! FILE1 # Forces the current

Vim common plug-in installation and configuration method

Vundle Installationgit clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vimConfiguration VIMRC Header Add set nocompatible " be iMproved, requiredfiletype off " requiredset rtp+=~/.vim/bundle/Vundle.vimcall vundle#begin()

Enhanced Python color in Vim

I used to use putty with Unix server to open screen, and then use Vim to write Python. This recording improves the color of Python.Activating 256-Color terminalFirst, increase the available color to 256 colors, make sure Putty is the new version

Total Pages: 210 1 .... 173 174 175 176 177 .... 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.