Everyone is very strong, can share with it.
because temporarily does not have the Linux, therefore first uses the Gvim to make up a bit.
A little bit of a problem before ... UPD (2018.4.01)
My configuration
SOURCE $VIMRUNTIME/vimrc_example.vim
Day11-12-21How to remember?Brain: consciousness = = Memorysubconscious = = = HDDHow to put knowledge in the subconscious:1. exchange of discussions -- Speak outBefore going to bed, the content of the day's study and the content of the review are
Today I was installing with the CentOS 7 Yum command with the following error:[[email protected] ~]# yum install vimLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* base: mirror.hosting90.cz* extras: mirror.hosting90.cz*
Problem:The directory in which vim automatically sets the currently edited file does not conflict with the current working path, but when Vim creates a new file, the working path automatically switches the cache path.How to make a file available
Back up a bit more handy configuration fileSet sw=4Set ts=4Set ETSet SmarttabSet SmartindentSet LBRSet FO+=MBSet SMSet selection=inclusiveSet WildmenuSet Mousemodel=popupAu FileType php setlocal dict+=~/.vim/dict/php_funclist.dictAu FileType css
Vim Three modes: General mode , edit Mode , Command mode . * General mode: when you vim filename to edit a file, it is normal mode to enter the file. . In this mode, you can do the following actions: Move the cursor up or down, delete a
Mac, vi and VIM is God-like editor, how to delete multiple lines, at the beginning, very confused.The following is an example of editing the host fileFirst, in terminal, enter vim/etc/hosts and press RETURN.Enter the default mode of VIM.Vim has
Then the previous article, learn the ex editor.Change the buffer name:you can save the current edit buffer as a new file by using the ": W new_file_name" method. This allows the current editing results to be saved without modifying the original file
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
Then the previous article continues to explain some simple text editing commands in the VI editor. This article is mainly the deletion of text, copying, moving and other commands.Delete text:As mentioned in the previous article, the Delete command ("
Linux command: VI global substitution methodThe syntax is: [addr]s/source string/destination string/[option]The Global Substitution command is::%s/source string/destination string/g[Addr]: Indicates the scope of the search, omitting the current line.
Vim is a text editing tool under the Linux operating system, which is very powerful, but it is more complex to learn. All of Vim's functions have to be understood to be hundreds of pages, and here are just a few of the basic uses of VIM.First VIM
Environment Configuration /Environment SetupPython-Developed GVim Environment configuration (Windows)1 based on Vundle to configureVim has multiple extension managers, but Vundle is highly recommended. You can think of it as a vim pip. With Vundle,
A friend who works on Linux may have encountered such a situation. When you use Vim to edit a file, run:wqSave and exit. An error occurs:
E45: ‘readonly‘ option is set (add ! to override)
This indicates that the file is read-only. Follow the prompts
System Environment: ubuntu10.04 complete installation of VIM gvim
Problem: The Chinese Characters in VIM on the terminal are garbled and some solutions are searched online. However, it is strange that none of these methods can implement gvim menus
0. Collation: Legend of the arms
On this blue planet, the legends of two major artifacts are circulating:EmacsIs God's editor, andVimIs the god of the editor.
The experts and Low-handed people who are dedicated to the world are eager to see them.
From the forum, the original address: http://club.topsage.com/forum.php? Mod = viewthread & tid = 2373558 & fromuid = 3869657
The two editors are very lively, interesting, and worth sharing!
Emacs and Vim: God's editor and editor God
0. Collation:
0 Introduction
Understanding the vim startup process is very important to enhance the confidence in using vim. All the information in this article comes from the reference manual provided by vim and the actual operation practices of the author. The
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