Common settings and actions in Vim:Under the Linux system:Open VI File:0 number 0, jump to beginning of line ^ jump to row first non-null character $ jump to end of lineVim brackets match Jump actions:Ctrl +] jump to function or variable
I. Adding multiple lines of comments
1. Vim's command mode (ESC enters command mode):
2. Press CTRL + V to enter visual mode (visual BLOCK);
Note: The VIM command mode v enters the visual mode, CTRL + V. Enters the visual block, simple to
It's been more than a year since I've been learning and developing Ruby & rails. But the official full-time rails project was developed with only poor 4 months of experience. During this time I have been using NetBeans 6.x as a development tool, so
Now the Linux system is generally installed by default vim editor, if there is no VIM editor installed, there will be a VI editor, the VI editor produced more time than the mouse to come earlier, although the function is very powerful, but I
I am a novice, have not touched the Vim editor before, so feel not comfortable, after all, have not used the habit. There is no basis, so in the configuration of the time has been online search information .... If you want to configure the vim
My working environment is centos6.5. Now is the Linux rookie stage. So I will be very careful to tell you how my vim is configured.Let's start by showing the results:650) this.width=650; "src="
First contact This a little strange, but there is a hint of surprise! For a novice to the configuration of vim really do not know, so from the Internet to find information to browse the blog has some gains, so I think to share to everyone, I feel
Next, configure TagList.First download here:http://www.vim.org/scripts/script.php?script_id=273I downloaded the latest version, 4.6After downloading, unzip to ~/.vimThen open it in your own working directory or create a new vim(Mine is test.c)Then
1. Log in and go to your favorite user name to view its home directoryCommand:# su XXX$ cd XXX$ ls-a2. View and create directories and files
First look at whether you have a. vimrc file under your home directory ~/, no input instructions $
First, on the following website:Http://ctags.sourceforge.netNext Ctags5.6 (ctags-5.6.tar.gz)Then, CD to download the good directory and unzip$ TAR-XZVF ctags-5.6.tar.gzUnzip the CD to ctags-5.6 later.CD ctags-5.6Then compile and installmake//next to
1. Change all account configurationsChange/ETC/VIMRC directlyVim/etc/vimrcAdd set Nu at the end of the VIMRC fileWq exit.This way, no matter which account you use to log in, Vim opens and displays line numbers2. Configure the environment for the
1 Installation(If it is a newly installed CentOS, it is best to follow vim before the installation of the necessary common support libraries in Linux: http://blog.csdn.net/clevercode/article/details/45438401)# yum-y Install vim*2 Viewing the
Vim: Open FileCD: Go to FolderLS: List filesVim A, B opens a A, B file,: N toggles back and forth, b: N switches to the first file again at the end of a switch;Vim + A: Open file A and navigate to the last lineVim +/ab A opens file A and navigates
Reference from: http://www.cnblogs.com/itech/archive/2009/04/17/1438439.htmlITechSource: http://itech.cnblogs.com/Re-editing, only keep the usual commands, and add a little understanding and experience.1, VI of the basic conceptBasically, vi can be
The simplest solution: simply search the document for a nonexistent string, and then save the document.or other methods:Remove document highlighting search string: command-line mode : NohlsearchRemove document highlighting search string:
/************************************************************************* * VIM support markdown Syntax * description : * Recently see the Readme on GitHub is using the Markdown markup language, it feels good, it looks like * can be used, mainly to
Common commands1, vi Basic concept of basically VI can be divided into three states, namely the command mode insert mode (the last line mode), the bottom row (last command mode) 1) control the movement of the screen cursor, character, Delete the
The default Vim provided by Ubuntu 16.04 even do not has Python support. That ' s insane.I say, what if I wanted to use Vim as a Python IDE in Linux as before? Ubuntu, you can ' t is so careless.Using This command to the check whether it
Vim calls Python format JSON data November,gnu/linuxpython3, vimopenwares Python has a standard module called JSON, for encoding/decoding, serializing/serializing JSON format data.The JSON data returned by the server is unformatted, the program
Create a basic file and directory structure" Set up Vim's basic setup file vim ~/. vimrc" to create a plugin directory, all plugins have their own folders exist. Vim directory under mkdir ~/ . Vim ; Let the vundle take over. Vim plugin management
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