How to use VIM----reproduced

Reprinted from: http://www.cnblogs.com/itech/archive/2009/04/17/1438439.htmlVi/vim Basic Use MethodThis article describes the basic use of VI (VIM), but for the average user is basically enough! I/vim the difference is simple, they are multi-mode

Vim Common commands

Ctrl + F scroll down one screenCtrl + B scrolls up one screen/text find text, press N to find the next, press N to find the previous one.? text find text, reverse lookup, press N to find the next, press N to find the previous0 (number 0) move to the

Vim Common commands

Method 2:Input in command line mode6,9 Co 12Copy the contents of lines 6th through 9th to the following line 12th.Method 3:Sometimes you don't want to struggle to see how many rows or large lines are copied, you can use labels insteadMove the cursor

On VIM configuration under Linux

Vim is a text editor developed from VI. Code completion, compilation and error jumps and other convenient programming features are particularly rich, is widely used in programmers, and Emacs parallel to become UNIX-like system users favorite text

Quickly configure the Vim editor under Linux

The VIM editor is a powerful text editor. For a C + + beginner, you can use Vim to write your favorite code. But accustomed to using the IDE under Windows, the first experience of vim is really bad, unlike the programming habits of VS, and its

Configuration of Vim

Chinese Installation ManualInstallation method:Download the Chinese Help package on the following website:$wget http://nchc.dl.sourceforge.net/sourceforge/vimcdoc/vimcdoc-1.5.0.tar.gzafter decompression, there is a Doc folder, the contents of which

Linux VIM annotations

Multi-line Comments:1. Enter command-line mode, press CTRL + V to enter Visual block mode, then press J, or K to select multiple lines to mark the lines that need comment2. Press the capital letter I, then insert the comment, for example//3. Press

Vim Configuration under CentOS 6.5

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 $

Vim shortcut keys

1, Vim ~/.VIMRC Enter the configuration fileIf you don't know where the VIMRC file is, you can use the: Scriptnames to viewSet Nu #行号Set tabstop=4 #一个tab为4个空格长度Set AI #设置自动缩进Syntax on #高亮2. BasicSPACEBAR to move one cell to the rightX Delete the

Use of Vim

Vim's positioningHome: Cursor moves to the beginning of the lineEnd: Cursor moves to end of linePageUp: Turning pages on the screenPagedow: Page DOWN screenShift+g: Positioning line as go to line 10 10shift+gShift+gg go to end of file, GG go to

Ubuntu16.04 VIM Configuration Auto-complete

Ubuntu16.04 VIM Configuration Auto-completeAt the end of last month, ubuntu16.04 's news exploded in various Linux forums. I am looking forward to the release of the next long-term stable version for me, which has always been under Ubuntu. Very hard

Vim Learning record 2

Replace the current line: S/xxx/yyy/gxxx is the string that needs to be replaced, and YYY is the replacement string. Global substitution:% s/xxx/yyy/g. Replace the specified part with V into visual mode, and then: s/xxx/yyy/g. or specify line range

Vim Common directives

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

Linux under the terminal, vim display Chinese as garbled

This problem, mainly or some environment variables are not caused by setting.The main modified documents include:1./var/lib/locales/supported.d/local2./etc/environment3.~/.vimrcFirst of allsudo vim/var/lib/locales/supported.d/localEn_hk. UTF-8 UTF-8

001 Embedded Childhood VIM common commands

1, the command line mode: Just enter the VIM mode, the mode can move the cursor to browse, you can delete the whole row, etc., but unable to edit the text, the mode of the function keys are:(1) YY: Copy the current cursor in the row(2) [N]yy:n is a

Vim configuration file--partial configuration

Vim related set nuset showmatchset autoindentset smartindentset rulerset incsearchset tabstop=4set shiftwidth=4set Cindentset clipboard+=unnamedsyntax onset nocompatibleset showcmdset ignorecaseset novisualbellset laststatus=2set Mouse=alet

VIM Usage Tips

OrderTo Baidu after the job, found in our department, whether Mac or Windows programmers exclusively to use VIM to edit code, a variety of plugins, shortcuts, dazzling commands and so on. I used to be in college only a few vim commands, to Baidu

Vim Use Notes

Vim configuration file. VIMRC generally has 2 locations1 is in/directory2 is in the ~ directoryIf there is a configuration file in the ~ directory then it will not read/directory under the configuration fileIf you do not know which directory the Vim

Vim automatically adds annotations

I thought about it, to do something good, 1, first of all like it's the most motive to understand it 2, hearsay about that thing, will go to understand and go to play a turn 3, interest needs to be cultivated One add VIM header information. System:

Vim environment settings (applied to Python programming)

1. Install the complete vim# Apt-get Install Vim-gnome2. Install Ctags,ctags to support taglist, required!# Apt-get Install Ctags3. Installing TagList#apt-get Install vim-scripts#apt-get Install Vim-addon-manager //It seems I installed the

Total Pages: 210 1 .... 152 153 154 155 156 .... 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.