Vim shortcut keys

移动光标30 move to the beginning of the line # $ The end of the current row # GG file The first line # G file last line # line number ++ +i return to the position before the jump退出# Enter normal mode #: Q! do not save exit #: Wq after saving删除# x

2.9-vim Editor

Vim EditorVi:visual Interface, Text editorText: Ascii,unicodeType of text editing:Line Editor: SEDFull Screen Editor: Nano,viVim-vi improvedUsing VimVim: A patterned editorBasic mode:Edit mode, Command mode:Input mode:Last-line mode:Built-in command-

VIM encryption function

-The advantages of VIM's encryption function1. After encryption, if you do not know the password, you will not see the plaintext, including the root user can not see-Cons1. Obviously let others know encryption, it is easy for others to destroy the

How to get out of the Vim editor in a Linux system

In Linux, the Vim editor is the system's own text editor, but to modify a text file, it is not like Windows, more novice, into the VI editor, can not exit so that the forced shutdown, in fact, this vim (vi) is very simple.1. Enter the VIM editorVim

Vim Usage Tips

Pictures worth a thousand UNIX commands and options:I draw this to my students each semester and they seem to grasp VI afterwards.VI is a finite state machine with only three states.========   ======VIM has 3 modes of Operation:input mode, Command

Introduction to VIM and some ways to use it

Note content:L 5.1 Vim Introduction L 5.2 Vim color display and move cursor L 5.3 Vim general mode move cursor L 5.4 Vim general mode copy, cut and paste Note Date:2017.8.45.1 Vim Introduction Vim is a similar toViThe well-known powerful, highly

Vim Common commands

Some of the commands commonly used by the VIM editor under Linux (what to add)Command mode:: Set Nu #显示行号: Syntax on #语法高亮: Set tabstop=4 #tab back four gridVI has three modes: insert mode, command mode, low line modeInsert mode: You can enter

Vim's text object

The text object of Vim is made up of two characters, and the first character is always i or a . In general, text objects that start with the text i selected inside the delimiter, and the a text object that begins with the selection, selects the

Linux input and output and vim command summary

I. Management input and OUTPUTin a Linux system, the correct output number is 1, the error output number is 2performed in the system with a normal user "Student"find/etc/-name passwd > fileBecause student does not have the right to view more

Vim Add header File

Find a lot of online, use up a variety of problems, especially in a variety of formats, find an article here, write down.Insert header file template implemented in pure VimscriptAutocmd bufnewfile *.c Exec ": Call SetHeader ()" func! SetHeader ()

Securecrt/vim setting color related Debian

1. Make sure to see the color in the Linux terminal, configure ~/.BASHRC the following uncomment: # Uncomment the following lines if you want ' ls ' to be colorized: Export ls_options= '--color=auto ' Eval "' Dircolors '" Alias ls= '

ubuntu16.04 Upgrade VIM 8.0

First, install the dependentsudo apt-get install Libncurses5-dev Libgnome2-dev libgnomeui-dev \Libgtk2.0-dev Libatk1.0-dev libbonoboui2-dev \Libcairo2-dev libx11-dev libxpm-dev Libxt-dev python-dev \Python3-dev ruby-dev lua5.1 lua5.1-dev libperl-dev

Vim compiler common commands

# grep-n Domain main.c--colour=auto650) this.width=650; "title=" 6631883603326779415.jpg "src=" https://s1.51cto.com/wyfs02/M02/06/97/wKiom1m6doiS_ Zpgaacqh6w8vyg605.jpg-wh_500x0-wm_3-wmp_4-s_910153933.jpg "alt="

Vim usage (always updated)

How to set Vim's personal preferencesThe default VI many features are not open, we can customize the VI as needed, you need to modify the vi configuration file, the global configuration file in/ETC/VIMRC, but generally only need to modify the user's

Vim Modify color scheme

Let's look at the color configuration scheme provided by the VIM editor:First enter the VIM's color directory (/usr/share/vim72/colors, different system directories, it is recommended to set up in ~/. Vim directory, and then in some directories to

Vim Usage Tips

1 pageCtrl+f, turn down to the new page.Ctrl+b, turn up to the old page.2 Vim configuration fileWhat are the configuration files for 2.1 vim?Personal User Scope profile: $HOME/.VIMRCSystem-wide configuration file:/USR/SHARE/VIM/VIMRCYou can also

Learn Linux fifth with Amin vim tool

5.1 Vim Introduction1) Vim is the upgrade version of VI, with color display, also divided into general mode, editing mode, command line mode; Installation Instruction pack, install only oneyum install-y vim> This method installs multiple VIM-related

Vim Batch Replacement

(articles are extracted from other places and summarized, if there is infringement, please contact the Administrator) Vim Editor---Bulk comments and anti-annotations When writing code using VIM, it is often necessary to use bulk

Vim automatically adds the C language above and after the operator

function! Align_space () let current_line = Getline ('. ') Let replacement = substitute (Current_line, ' \ ([() a-za-z0-9_]\) \ ([!| ^&=<>%*/+-]\) ', ' \1 \2 ', ' g ') let newline = substitute (replacement, ' \ ([!| ^&=<>%*/+-]\) \ ([() a-

Automatically add Python header files to vim

After creating a Python file with vim, such as pw.py, the file header will be filled in automatically, such as: 1 #!/usr/bin/env python 2 #-*-Coding:utf-8-*- 3 # Pw @ 2013-04-15 17:26:33Add the following code to the/ETC/VIM/VIMRC file:function

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