VIVI is a computer text editor, written by the American computer scientist Bill Joy Bill Joy, and released in 1976 with the BSD license.VimVim is a text editor developed from VI. Its code completion, compilation and error jump and other convenient
Basic concept: A powerful text editor developed by VIOpen File:Vim file nameVim + N File name —————— How many lines of file are opened directlyVim three modes of operationCommand modeCommand mode toggle Input modeInput modeLast-line modeSwitching
First, the movement of the cursor0: Move to the beginning of the line.$: Moves to the end of the line.W:walk move to the next wordB:back move to the previous wordH or BACKSPACE: Move left one character; backL or Space: move right one character;
I. Introduction of VIMVim is an upgraded version of VIis the vi with color displayDivided into general mode, edit mode, command mode.yum install -y vim-enhancedInstall VimUse VIM to open passwd after installation is completevim /etc/passwdAnd before
How to cut shortcut keys:dd:剪切光标所处当前行n + dd:剪切光标所在行及以下共 n 行按 p 粘贴在光标所在行Command line mode:例如剪切1到10行,并粘贴在12行处:1,10 m 12How to copy shortcut keys:yy:复制光标所处当前行n + yy:复制光标所在行及以下共 n 行按 p 粘贴在光标所在行Command line mode:例如复制1到10行,并粘贴在12行处:1,10 co 12To delete a
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
1. Notes :Move the cursor to the comment headerCommand mode Ctrl + V, enter column modeMove up and down to select what to commentPress Caps I to enter insert modeInput//or #Press two times to exit2 Solution NoteMove the cursor to the ready-to-note
VI has 3 modes: insert mode, command mode, low line mode.Insert mode: You can enter characters in this mode and press ESC to return to command mode.Command mode: You can move the cursor, delete characters, and so on.Low-line mode: can save files,
Follow the online tutorial to install the software, none of which is successful (or probably not). Oneself from the net patchwork, finally let own vim intelligent identification.1. Upgrade Vim: (Ubuntu)sudo add-apt-repository ppa:jonathonf/vimsudo
The VIM editing program has three modes of operation, called edit mode, insert mode, and command mode, and when Vim is run, it first enters edit mode. The main purpose of the Vim editing method is to move the cursor position in the edited file. Once
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 Editor1 vim ModeEdit mode (command-line mode)Last-line modeInput mode2 Mode ConversionCommand line------> inputI: Switch to input mode before the current cursor characterA: After the current cursor character, switch to input modeO: Under the
One, when the Vim is not installed, prompt installation[Email protected]:~/test$ VIM ABCThe program ' Vim ' is already included in the following packages:* VIM* Vim-gnome* Vim-tiny* Vim-athena* Vim-athena-py2* Vim-gnome-py2* VIM-GTK* Vim-gtk-py2*
Using the VIM Editor:VI is working in the character terminal environment of the full-screen editor, by the command to achieve the corresponding editing and operation functions, vi Editor can use three different modes of operation:Command mode: Start
First, IntroductionVim is an enhanced version of VI. Vim is the main editor on the Linux platform. Basically all of the documents are added, modified, saved and need to be used. Therefore, it is necessary to master vim.The installation of Vim is
RPM-IVH Software Name-version information-.rpm (install software)RPM-Q software name (see if the software is installed)RPM-E Software name (uninstall the switch)Because RPM has dependencies and Yum just solves this problemCreate/Modify text files
Multi-file Mode:Vim FILE1 FILE2 FILE3 ...: Next Next:p Rev A previous: First One: Last One: Wall Save All: Qall Quit allWindow-delimited mode:Vim-o|-o FILE1 FILE2 ...-O: Horizontal split-O: Vertical splitSwitch between windows: Ctrl+w then arrow
16. Use Vim to edit multiple filesUsage:Vim FILE1 FILE2 FILE3Switch between files:Last-line mode:: Next switches to the next file: prev Switch to previous file: Last switch to final file: first to switch to file oneExit: QA All exits17, split screen
Reference Document: http://blog.csdn.net/ii1245712564/article/details/46960387First, comb the key knowledge for easy accessV (small v): Enter visualizationV (large V): Enter visual lineCtrl + V: Entering a visual blockThere are also some related
Look at the C + + code, lack the right editor, and tinker with Vim.
Installing the Vundle for plug-in managementgit clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim --depth=1
Install Youcompleteme, code completioncd ~/
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