Some tips for using vim

Too simple to say, just find a manual can find, here to say some tips, but also recently used to force out of the study, hehe, but quite convenient. 1. Global replacement(1) v + G + $ Select all, then enter: s/original string/target

PHP vagrant Vim xdebug Configuration

I. Installation of XDEBUG 1, compile and install Xdebug, you can also use pecl install Xdebug wget http://xdebug.org/files/xdebug-2.3.2.tgz tar-zxvf xdebug-2.3.2.tgz cd

[VIM] How do I jump to a specified line number when I open a file?

Vim file +line For example: root@xxx-ubuntu:/ics-android/ics-src/system/core/init# grep init.rc *-rn init.c:706:init_parse_config_file ("/ Init.rc "); util.c:79: * ("/dev/socket") as dictated in init.rc. This socket was inherited by the

Use vim like using the IDE

http://download.csdn.net/download/litao0976/6325921 Recently configured with Vim, you can quickly build projects like Sourceinsight, find files, sign jumps, function lists, and auto-complete. Moreover, the symbol update is automatic, and from now

Vi/vim Cursor Move command

Move cursorOn: K NK: Move up n rows 9999k or GG can move to the first line G move to the last rowUnder: J NJ: Move Down n rowsLeft: H NH: Move n columns to the leftRight: L nl: Move n columns to the rightW: Cursor moves forward with a word NW: the

Screen Splash, rollback, VIM exit rollback residue issues

Flash screen Problem Solving method: 1, temporary sister method Ctrl + a CTRL+G 2, the thorough method modifies the/ETC/SCREENRC, changes Vbell on to Vbell off, as if there are two places. Rollback issues: I only see this method now, but I

VIM + Scala Development environment

VIM Tools Vim is a very useful tool, a small and capable code editor, no wonder many people are regarded as "The God of the editor." IDE Write code, in addition to the code debugging function, other functions vim can be implemented, and Vim does not

VIM basic Commands

VIM basic CommandsVim Editor is case sensitive i editor enters text input mode, ESC exits edit mode [Baskspace] Key (or press [ctrl-h] key) to delete text [Return] key to the next line [ESC] key into command mode, regardless of the

Ubuntu compilation Vim+lua

Reference: https://www.cnblogs.com/DillGao/p/6268165.html$ sudo apt-get remove--purge vim$ sudo apt-get autoclean$ sudo apt install python-dev python3-dev ruby-dev Luajit liblua5 .1-dev libluajit-5.1 libperl-dev libncurses5-dev$ sudo rm-rf/usr/local/

Vim Bulk Indent

Method One1, press CTRL + SHIF +; Enter the bottom row mode2. Write the line number that you want to indent in bulk, follow the format: "line number 1, line number 2>" Input command, if you want to indent a tab value from 4 to 11 lines in bulk, the

How to use the VIM editor

For the first use VI, there are a few notes to remind:1. When you open a file with VI, you are in command mode, and you want to switch to insert mode to enter text. Toggle method: Click on the letter "i" "Command mode" to enter "Insert Mode", then

19th. How to use the VIM editor

Vim Editor Commands commonly used in the Vim editor are stored in the ~/.viminfo file There are 3 modes in the VIM Editor: Command mode, last line mode, and input mode, and three modes are converted as shown: Vim file name #

Common usage and settings for the VIM editor

First, the common editor:Nano, Gedit, VI, Vim.The difference between VI and VIM:Vim is an enhanced version of VI.Three, the principle:When opened with an editor, it is opened in memory. After the save is written to the file.Four, several

Vim tips,. vimrc file

Upload the. vimrc file to the user's home directoryThe contents of the file are as follows:Autocmd bufnewfile *.py,*.cc,*.SH, *.java exec": Call Settitle ()"func settitle ()ifExpand"%:e") =='SH'Call Setline (1,"#!/bin/bash") Call Setline (2,"########

Vim Regular expression matches replacement string

/********************************************************************** * Vim regular expression match replacement String * Description: * with Vim has been used for several years, usually also replace the string more, and rarely replaced with

The basic use of VIM

The common use of VI1. General modeCtrl+f Move Down one pageCtrl+b Move up one pageCtrl+d Move Down half a pageCtrl+u move up half a pageN[enter] cursor down n line, n for number, Enter for keyNG moves to the nth row of the fileG move to the last

Vim Usage Tips

Find a replacement App example: Copy/etc/profile to/tmp/directory, remove white space characters from the beginning of the/tmp/profile file with the Find replacement command:%[email protected]^[[:space:]]\[email protected]@g Copy the/etc/

Vim commands commonly used in the work

Recently work in need to change files on the Linux server, suffering from the various commands of VIM is not familiar with, today we summarize and familiar with a variety of VIM commands, so as to improve work efficiency. Late Continuous updateVim

Individual configuration of VIM (easy programming)

Create a new VIMRC in the user's home directory. For example:Vim ~/.VIMRCthen you can copy it in. The configuration is as follows:"turn off VIM consistency principleSet Nocompatible"Show Line NumbersSet number"sets the row and column information for

17th lesson The general mode of VIM tools

One, vim toolsVim is an upgraded version of VI, VIM with color display, divided into general mode, editing mode and command mode1. Install Yum install-y vim-enhanced2, Vim color display is based on the contents of the file display, its configuration

Total Pages: 210 1 .... 122 123 124 125 126 .... 210 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.