vim boots

Read about vim boots, The latest news, videos, and discussion topics about vim boots from alibabacloud.com

Automatically load cscope. Out in VIM (Vim supports cscope) [zz]

In the initial growth of vimer, the combination of VIM + ctags + cs.pdf is basically a must for every vimer. Although ctags are powerful enough, csags can do more. Next, let's share a part of my vimrc script about cssag. This script can automatically search for cssag. Out in any subdirectory of the project and add it in. First, we will share a small script to help us generate csmetadata. Out and ctags in the project. I named this file CS. Sh.

Vim and vim

Vim and vimVim-common sorting: 1.1 move the cursor 0 or home: Move to the beginning of the line (first line) $ Or end: Move to the last character (end of line) of this line) G: Move to the last row of the file. NG: Row n of the object to be moved. Gg: Move to the first line of the file, equivalent to 1G N [Enter]: move the cursor down N rows1.2 search and replace /Word: Search down for a string named Word ? Word: search for a string named word

Vim configuration and vim auto-completion code (code prompt) plug-in sharing

Modify the. vimrc file under your user directory. There is a "." In ubuntu, it indicates a hidden file. Then, put the configuration content in the file. I. find a plug-in: AutoComplPop. Download the latest http://www.vim.org/scripts/script.php for this tool from the URL below? Script_id Modify the. vimrc file under your user directory. There is a "." In ubuntu, it indicates a hidden file. Then, put the configuration content in the file. I. code prompts Find a plug-in: AutoComplPop. Download the

Sprout new note-vim command "=", "d", and "y" usage (combined with the cursor movement command, it will be very convenient in some cases), vim is very convenient

Sprout new note-vim command "=", "d", and "y" usage (combined with the cursor movement command, it will be very convenient in some cases), vim is very convenient Vim has many commands. on the Internet, you can search for a bunch of posts and articles to list commands for various functions. For "=", "d", and "y", I accidentally discovered some of the same usage.

Common Vim shortcut keys and keyboard diagrams, and vim shortcut keys and keyboards

Common Vim shortcut keys and keyboard diagrams, and vim shortcut keys and keyboards Common Vim shortcut keys H-move the cursor one character left. j-move the cursor one character down. K-move the cursor up one character l-move the cursor down one character to 15 rows-15j Ctrl + f-move one page down on the screen Ctrl + d-move half page down Ctrl + B-move one pag

Vim auto-complete and vim auto-complete brackets

Vim auto-complete, vim auto-complete, and so on. In summary, copy and paste the following code ~ /. Vimrc, save, close all vim, and open it. Enter the cursor inside the brackets. Www.2cto.com [plain]: inoremap ()

Vim (multiline comment and delete multiline comment )., Vim multi-line

Vim (multiline comment and delete multiline comment )., Vim multi-line--- All in ESC mode:1. Comments in multiple lines in vim.(1) press Ctrl + v to enter the column mode;(2) select to end at the specified position at the beginning of the line to be commented. (Use the up/down key to determine the number of rows)(3) Press "I" to enter the insert mode;(4). Enter t

Linux applications: Vim quick operations and vim quick operations

Linux applications: Vim quick operations and vim quick operations 1. Delete characters X: Delete characters under the cursor Dd: deletes a whole line, including line breaks. J: Delete the line break of the current row. It can be executed anywhere in the current row. 2. Undo and undo U: undo the last operation. Continuous execution will be unperformed continuously. U: undo the row. undo all the last modifi

Xin Xing deeply analyzes Vim's automatic complementing function and VIM ing

In the past, all the auto-completion functions of VIM were downloaded from the Internet when needed, and copied to their own vimrc. I didn't know what it meant, the results show that many of the methods found to be auto-complete are quite different. Some prefer to use auto-wrap when the braces are fully filled, and others prefer to use auto-indent when the braces are fully filled, let's take a few minutes to understand how to write these configuration

"Vim" vim learning

1. Three modes(1) Command mode:Just start vim and enter command mode, at which point the keystroke will be treated as a command.Here are a few common commands:I switch to insert mode to enter characters.x deletes the character at which the current cursor is located.: Switch to Baseline command mode to enter commands at the bottom of the line.(2) Input modePress I in command mode to enter the input mode.In input mode, you can use the following keys:Cha

Vim series 1-mac, VI and VIM are God-like editors, how to delete multiple lines

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 three modes of command mode, edit mode, and default modePress ESC to enter the command mode, you can use the exit, save the exit, do not save the command to exit. Co

2016/8/19 5.1 Text editor Vim-vim common operations

following n rowsP/p pasted at the current cursor row or lineTo replace or cancel a command:R replaces the character at which the cursor is locatedR replaces the character at the beginning of the cursor and presses ESC to endU Cancel the previous actionSearch and search Replacement commands:/string search for specified string, ignoring case when searching: Set ICn searches for the next occurrence of the specified string:%s/old/new/g full text Replace specified string: N1,n2s/old/new/g replaces s

Vim-multiple-cursors: Vim plug-ins that support multiple selections __vim

http://top.jobbole.com/1370/ The Sublime Text Editor has a very powerful "multiple selection" feature that supports "one edit, multiple changes". Since the vim-multiple-cursors this plugin, VIM users no longer need to envy Sublime Text users. After you install the plug-in, select multiple selections by pressing Ctrl + N. After selection, you can combine Vim wi

Vim's editing mode, Command mode, and vim practice operation

I. VIM's editing modeSecond, vim command modeThird, VIM practice operation# Cp/etc/dnsmasq.conf/tmp/1.txt (1) Move Down, right, left, and up 6 characters (6j 6l 6h 6k) respectively. (2) turn down and up two pages (two times ctrl+f and Ctrl+b respectively). The (3) Moves the cursor to line 49th (49G). (4) Move the cursor to the end of the line, and then move to the beginning (Shift+4, shift+6). (5) moves

Enter edit mode & VIM Command mode &vim practice

as a stringYou can also write this:1, $s #/etc/hosts#xiaobo.com#g: 1, $s/dnsmasq/aminglinux/gNote: 1. Replace ":" before adding "2.$ that the end of the line can also be represented by a number, such as 1,100 for the first row to the 100th row3. s means replacement4.////Front two/middle write what to replace two/middle write what you want to replace5. G global variable represents allDe-translation:where/etc/hosts/need \ de-translationor///change to # # # or @@@Small knowledge:: Wq and: X If the

Run the VIM exit command and run the vim exit command.

Run the VIM exit command and run the vim exit command. Note: These commands are preceded by a colon: You can use either of the following methods to exit Vi and return to shell after editing the document. In command mode, two uppercase letters are used for a connection. If the edited document has been modified, Vi saves the document and exits, and returns to shell; if the edited document has not been modifie

Vim basic operations and vim basic commands

Vim basic operations and vim basic commands Copy y Paste p Cut d When the row processes yy (copy row), dd (cut row) Multi-row processing nyy (copying multiple rows) and ndd (cutting multiple rows) Line paste when row copy is used Partial row pasting when using region Replication Intra-row processing y ^ (copying from the cursor to the beginning of the line), y $ (copying

Learning VI and VIM Editor: VIM overview

Vim refers to the "VI improved", that is, the improved version of VI. Currently, Vim is probably the most widely used type of VI.Overview:Author and Brief History:Vim is written by Bram Moolenaar, and is also developed by other people. So vim can grow and change with the computer industry and the need of text editing, and maintain its own value. Today's

Use Vim, vim

Use Vim, vimMode ESC \ Ctrl + c: Exit edit mode ZZ \ wq: Save and exit in command mode Edit I: Enter the editing mode. I: Go to the beginning of the line to start editing S: deletes the current character and enters the editing mode. A: edit the current character A: edit A non-null character from the end of the current row. Mobile H j k l: bottom left, top right 0: zero number, to the line Header ^: The first place in the line that is not

"Linux" "vim" to create its own vim editing environment __linux

Configuration file path:/ETC/VIM/VIMRC SYN on; syntax highlighting Set tabstop=4 tab width Set shiftwidth=4, line indent width Set backspace=2, setting backspace available Set Incsearch Search Auto-complement Set ai! ; Set Automatic indentation Set nu! ; Show line Numbers Make VI compatible with Windows Chinese Set fencs=utf-8,ucs-bom,euc-jp,gb18030,gbk,gb2312,cp936 CTRL + N automatically search for complement functions or variable

Total Pages: 15 1 .... 10 11 12 13 14 15 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.