Cainiao configures vim and cainiao vim
I don't know how cainiao configures vim.
If you want to make your vim and VS similar, you must use this URL.
Http://www.open-open.com/lib/view/open1429884437588.html
After Linux is started, it is inevitable to use the vim editor. At the
Extremely easy-to-use Vim configuration and Vim ConfigurationHttps://github.com/ma6174/vim-deprecatedsimple installation tips:
Open the terminal and execute the following command to automatically install it:
wget -qO- https://raw.github.com/ma6174/vim/master/setup.sh | sh -x
Or manually install: (ubuntu is used as an e
Before using vim, let's take an appetizer and learn some common commands in Vim. With these basic commands, we can use Vim more conveniently and speed up our work ~
Note: The following commands are mainly used in the normal mode of VIM.
1. Create/modify a file
When you need to edit an object, the object
Mastering the common commands of the Vim editor can greatly improve the efficiency of our text editing. Basic Operations
When we first contacted the Vim editor, we learned some of the following things:
Just enter the Vim editor, we are in Normal mode , press I on the keyboard, we enter the insertion mode . In insert mode, if you press ESC, you are back in normal
similar taste and should be appreciated. The reality is that Vim-Loyal users and Emacs-Loyal users are incompatible with each other. Emacs users say that Vim is a single and odd operation method, while Vim users say that Emacs is bulky and starts slowly.
It is a bit difficult to fight because both of them are at the height of the artifacts. It may also be becaus
configuration" and "strongest configuration", which can be referenced. However, some of these articles have many errors, even repeated and conflicting content. They are "giving fish instead of giving fish". Although the configurations they provide can be copied, but it is often unknown. Vim has rich plug-ins and many articles on the Internet using various plug-ins to configure Vim as a powerful IDE, but it
Dark Horse programmer-vim Editor, dark horse programmer-vim
I. Basic operations
1. ENTER the vim Editor: vim filename
2. move the cursor
Left shift: h
Shift right: l
Move up: k
Move down: j
3. Delete the character where the cursor is located: x
4. insert or add text:
I insert text before the cursor
A attaches text beh
Linux vim commands and linux vim commands
A detailed introduction of vim commands in linux.
Some advanced editors will contain macro functions, which are certainly not missing in vim. It is very convenient to use Macros in vim:
: Qx starts to record macros and saves the resu
Talk Vim together (21st back: NerdTree continuation of Vim plug-in), vimnerdtree
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The last time we introduced the NerdTree in Vim
Plug-in .. In this case, we will continue to talk about the NerdTree plug-in, but the last time we talked a
Python auto-completion (vim) and python auto-completion vim
I. vim python Automatic completion plug-in: pydiction
The following python code can be automatically completed:
1. Simple python keyword completion2. python function completion with parentheses3. python module completion4. Functions in the python module and variable completion5. from module import sub-mo
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
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
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
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
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.