I still recommend all new vim friends first go to use vimtutor practice, and then go to see Vim's help document, write very carefully, and can immediately combat, effective quickly, many of the following are the examples of VIM help document, I feel very good, took out.The reason why vim is efficient is because it has a high-efficiency mobile mechanism, as a lear
Enable Vim syntax highlighting settings in SSH Secure Shell Client
The related settings on the SSH Secure Shell client are: Setting --> profile setting --> connection --> terminal, select ANSI or xterm.
====================================When you use Vim to edit a terminal, by default, the editing interface does not display line numbers, syntax High Brightness Display, smart indentation, and other functio
Vim/Vi practical skills (version 2) and vim Practical SkillsVim/Vi Practical Skills
1. Import files
: R [file name] # import to the currently edited File
For example, r/etc/inittab
The upper part of the file is the/etc/services file, and the lower part is the/etc/inittab file.
2. Run the command [do not exit vi]
:! [Command]
:! Ls-l/home/hadoop
Extended-import the command execution result to the current
[Vim] vim learning notes-open, switch, and close multiple filesOne case is to use vim in shell to open multiple files, and the other case is to open multiple files in the vim editor.Open multiple files at the same timeVim file1 file2Open the file and display vim-o file1 file
Vim learning notes series (preface) and vim learning notes
This morning, we saw that the great gods were using vim for programming. The screen was intuitive and the speed was very fast. The operation only needed a command character.
Therefore, it can be inferred that the vim command operators are complex, so the le
Improve Efficiency Emmet. vim and emmet. vimImprove Efficiency Emmet. vim
Reprinted please indicate the source: http://blog.csdn.net/hpu_zyh/article/details/48069159Blog homepage | simplified book | zhihu | Weibo | github
Emmet-The essential toolkit for web-developers EmmetWith powerfulVimIt's no longer beautiful.HeardEmmentAndVimBetter configuration (haha, the more correct this is)
It can also be use
Vim cursor positioning, vimVim cursor Positioning
* Locate the specified row n:Enter "nG ".Or enter "ngg ".Or enter ": n"Here, n is the row number of the specified row. Note that sometimes G = gg.* Jump to the top of the screen:Enter "H ".This is the first non-empty character. Adding a number N indicates the number of rows (such as the N row of the 'nh 'positive number) from the top of the window)* Jump to the bottom of the screen:Enter "L ".This is t
first of all, it is worth mentioning that my Vim tutorial PDF version has been finished, you can download, here is csdn: csdn download , if the left side of the hanging off, you can also enter below the browser to download the following address: http://download.csdn.net/detail/xinguimeng/7714213, of course, if you are a loyal user of Baidu network disk, Can also rely on Baidu network disk, I also synchronized to Baidu Network disk, as follows: Baidu n
1. You cannot see the tab key in the tab key file. To display it: set list now displays the tab key as ^ I, while $ is at the end of each line, so that you can find the spaces that may be ignored. One disadvantage of this is that it looks ugly when there are many tabs. If you use a color terminal or GUI mode, VIM can highlight spaces and tabs. Use the 'listchars' option: Set listchars = tab:>-, trail:-now, the tab is displayed as ">-", and the extra b
[Craftsman Avenue] Some Vim commands that are not common but very powerful (constantly updating), vim constantly updating
Common vim commands such as moving and editing are not described in detail. Here, we will mainly record some uncommon but very powerful commands, so that you can instantly feel the spirit of the commands.
1.: Tlist
1) this command is used
Download Vim and vim
From song4
Vim helps you complete text editing in a almost natural language.
You just need to get familiar with a few simple syntaxes, and then you will sit on the rotating seat and turn around, and feel the wonderful life is back.
Okay, let's get started.
Vim helps you complete text editing in a a
Script Purpose: Find the Mac blacklistDate: August 20, 2015Contact e-mail: [Email protected]Q q Group: 1851 1570151CTO Blog Home: http://990487026.blog.51cto.comOpen source community, have you more exciting!Brief introduction:Traverse the MAC address inside the switch, compare with the company registered Mac legitimate MAC
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
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
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, 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--- 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
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
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
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.