Refer to the essays from MaowangCut (delete):Clipping actually removes the selected content, so it can be used when the cut command is used, or when the delete command.First, you can enter the free selection mode in command mode, select the text you
Fix an issue where pasting in Vi/vim will have a lot more indentation and whitespace at the beginning of the line SECURECRT will send your original text intact to the server as a string style. So when the vim on your server is set to Autoindent, in
Excerpt from: http://www.apelearn.com/bbs/thread-7146-1-1.htmlThe differences between ": X" and ": Wq" are as follows:(1): Wq Mandatory Write file and exit (save and exit write and quite). Force write even if the file is not modified, and update the
In the VI editor we use no color matching is not very good, we install a vim Rich Text editor convenient for our text editing.[email protected] ~]# Yum install vim-yLoaded plugins: Fastestmirror, prioritiesBase | 3.6 KB 00:00:00Extras | 3.4 KB 00:00:
Multi-line Comments:1. Enter command-line mode, press CTRL + V to enter Visual block mode, then press J, or K to select multiple lines to mark the lines that need comment2. Press the capital letter I, then insert the comment, for example//3. Press
A brief introduction to the Ideavim plugin in the idea IntelliJ tips and plugins article. Here is a detailed summary of the plug-in in the daily programming of some common tips. For those interested in using this plugin, but not very familiar with
Original: Cool Shell netThe learning curve of Vim is quite large (see the learning curve of various text editors), so if you start to see a bunch of Vim's command classifications, you're bound to lose interest in the editor. The following article is
In the production environment, we must often use the Nginx.conf file layout work, today in reading "The decisive Nginx" when inadvertently see nginx.vim this auxiliary tool, so Baidu search and actual deployment of testing, the effect really let
On the git:https://github.com/bling/vim-airline/tree/master/autoload/airline/themes, there are built-in themes that can be used directly, The method is written in. VIMRC: Let G:airline_theme= "Badwolf", or play in Vim: Airlinetheme Badwolf can be
1. Select a text block. Using V to enter the visual mode, move the cursor key selection. 2. The command to copy is Y, which is yank (lifted), and the commonly used commands are as follows: Y Copies the selected block to the buffer when a piece is
Delete a character after the cursor XDelete a character before the cursor shift+xDeletes the specified number of character digits +xDelete a line of characters DDCut the specified number of rows dd 3DD cut 3 linesActually, it's not erased, but it's
The function of Vim editor in Linux is very powerful, many commonly used shortcut keys are very convenient, here will I learn the introduction of vim some of the commonly used shortcut keys to share to everyone, hope to help you.This is the bird in
The learning curve of Vim is quite large (see the learning curve of various text editors), so if you start to see a bunch of Vim's command classifications, you're bound to lose interest in the editor. The following article is translated from "Learn
Vim modeThe VIM mode is divided into edit mode (command mode), input mode, and last line mode.Mode to switch to each other:Input mode--edit mode: ESCEdit mode--and last-line mode::Last-line mode--edit mode: ESCEdit mode--Input mode:I:insert (enter
VimVim is a powerful full-screen text editor, which is the most commonly used text editor on Linux/unix , and its function is to create, edit and display text files.Note:vim does not have a menu, only commandsVI [filename ] Enter command modeWQ Exit
1. Ci "(composed of change operator and text-object i")This command will find the next "enclosed string" in the line where the current cursor is located, clear the contents of the quotation marks, and enter insert mode for easy modificationYou can
CTRL + V into visual mode
Move the cursor up or down, Select the beginning of multiple lines
When you are finished, press the I key in the upper case, and you will be prompted to enter the "Insert" mode below , entering the annotation you want
Part I: General mode available button description, cursor movement, copy paste, search substitution, etc.
How to move the cursor
h or LEFT ARROW key (←)
The cursor moves one character to the left
J or
If we open more than one file at a timeLook at the files in the current directory:[Email protected]/data/webroot/testroot/application/modules/admin/Views $ lltotal -drwxr-xr-x2Wangkongming wangkongming4096July - -: the. DRWXR-xr-x4Wangkongming
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.