Vim General mode:(1) Press the X key to delete the contents of the bank (backward delete)(2) press SHIFT + X to delete the previous contents of the bank (delete forward)(3) Press the number n and then press the X key to remove the N characters
One. Cut:1. To delete from the current cursor to the next word, enter: DW2. To delete from the current cursor to the end of the current line, enter: d$3. To delete the entire row, enter: DD//can use DND to delete multiple rows n for the number of
This complements the plug-in from the name to see very greasy harm ~
System environment: Ubuntu64, ready to install Youcompleteme
Confirm Vim Version: Open vim to see the version number, need to be greater than 7.4.143
Confirm that Vim
Vim commands a lot, it is difficult to remember the whole, so combined with my usual practice, often to use the command has been marked with red body word. If there are any errors, please note.?three different statesCommand: Any input will be used
Split screen start vim
Use the uppercase O parameter to split the screen vertically.vim -On file1 file2 ...
Use the lowercase o parameter to split the screen horizontally.vim -on file1 file2 ...
Note: N is a number that is divided
Summary:In the minicom terminal to modify the files in the Development Board, you must use the VI, because the development Board is not like the development of the host, there are gedit and kscope such as the editor, and even in the development of
for beginners who are just starting out with the Vi/vim text editor, how do I exit the Vi/vim text editor without saving changes? When you use the Linux vi/vim text editor to edit a configuration file under Linux, when you are finished, you can save
The configuration file is/ETC/VIMRC, and the following modifications can be added directly below the configuration file.
Automatically add comments, vim write. sh and. py files when you press F4 in command mode, you can add annotations
I use VIM to open a file, I want to open another file, just like windows open two Notepad, so need to split screen displayFirst open a file with vimVim File1Input command [ESC]: SP file2Split screen to open a second file file2Toggle cursor:[Ctrl] +
Position commandCommand functionH Move one character to the leftJ Move down one lineK Move up one lineL Move one character to the right$ move to end of line0 Move to the beginning of the lineH move to upper screenM moves to the center of
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 VI
Vim is known as very efficient text editing software. But mastering and efficient use is a difficult thing to do. Fast search and Replace in Vim is an important way to improve the efficiency of vim. Here are some of the things I've collated when I
# #一, substitution and revocation of characters (undo action)
# # #1. Replace and revoke (undo) commands
Both the Replace and undo commands are for normal mode
Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim
Ancient artifact, presumably we will associate to the XX TV drama, the ancient artifact is not Donghuang clock, shaft sword, Pangu, refining demon pot, Hao Tian Tower, Fuxi Qin, Shennong Ding, Kong Tong Printing, Kunlun Mirror, nu wa stone. It is
Content of this week's job:1. Copy the/etc/rc.d/rc.sysinit file to the/tmp directory and add # to the beginning of the line with at least one whitespace character in the/tmp/rc.sysinit file;2, copy/boot/grub/grub.conf to/tmp directory, delete the
Vim is the most famous text/code Editor on Linux , and the GVim of the Vi editor of the early years, while the Windows edition of the system is the version. Its biggest feature is the full use of keyboard commands to edit, away from the mouse
Vim is really bad to get started, feel good annoying.In addition to Linux under the campus Wi-Fi is particularly slow, git clone has been prompted Fatal:unable to access ' Https://github.com/XXXXXXX/XXX. GIT ': GnuTLS recv error ( -54): Error in the
-Youcompleteme exact words: On Ubuntu 16.04, Python support is not working due to enabling both Python2 and Python3. Read answer by Chirinosky for workaround.-The first one to answer the question,
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundleTouch ~/.VIMRCThen paste the attached file into the ~/.VIMRC.Vim has just entered the error, we can press ENTER.Then enter: Plugininstall can be installed, installation process such
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.