Holiday idle come to nothing, on their own set up an environment, including: Tools: Ssh,vim Environment: Jdk,hadoop in this record, the next use 1. Tool classThe two commonly used tools for SSH and Vim are two commands:Vim command: sudo apt-get
Vim is a super powerful editor, and of course we can also configure it with a super-strong IDE. There are so many such tutorials online that I don't have to repeat them.We are in the use of unfamiliar commands, unfamiliar with the use of plug-ins
General mode available commands, including cursor movement, copy and paste, find and replace functionsctrl+f: Screen moves down one page, quite page DOWN buttonctrl+b: Screen moves up one page, quite page Up button0 or home key : Move to the
Chapter III, familiar with the Vim editorthree modes : command mode , edit mode , last line modecommon commands for Command mode :Move Cursor W B () {}, G Bottom, GG frontW is a word to move,B is the first word to moveI, I, A, a, O next line edit ,
Vim has no menu, only commands.VIM Exit command "reprint":Note: These commands have a colon before them:When you are finished editing the document, you are ready to exit VI when you return to the shell, you can use one of the following methods.In
Why use VIM? Because of the feature of color display, and also support many program syntax, VIM can help you to debug the program directly. But after the SECURECRT connection Linux display is black and white, feeling very uncomfortable!!What to
Turned out a long time ago written by Vimnote.txt"Vim Practical Skills" This book has been read from beginning to end two or three times, because the memory is too bad, wrote this document to record some common instructions, use ripe later to
Try::vert sb NWhich would open a left vertical split (by default, unless to have modified some options).To open a split-to-the right, on the other hand::vert belowright sb NYou can use and to divide the current area into the windows with the :split :
Tips:In VI, [tab] The result of this button is not the same as the result is not the same, especiallyEmphasize it!General mode30↓ Move Down 30 rowsGG moves to the first line of the file, equivalent to 1GG move to the last line of the fileEnter
I. BACKGROUNDFor the operation of the Linux server, we often use vim, and sometimes I use the vim is not so skilled and deep, this week in-depth study of the use of vim, including the introduction and advanced, first share to you, but also
Vim settings display line numbers by defaultVIM Displays the line number when it is opened by default, so that you can display the line number manually in command mode without having to edit it each time.To create a configuration file for a.
Open the Vim installation directory of the _VIMRC, with a few words in the head configuration statement can be done://Set default encodingSet Encoding=utf-8Set Fileencodings=utf-8,chinese,latin-1if has ("Win32")Set Fileencoding=chineseElseSet
Open the Vim installation directory of the _VIMRC, with a few words in the head configuration statement can be done://Set default encodingSet Encoding=utf-8Set Fileencodings=utf-8,chinese,latin-1if has ("Win32")Set Fileencoding=chineseElseSet
The main reference is the integration of the online comparison of the heat of a few vim configuration documents, coupled with my habits and formed. Thanks for their dedication!Basically there are comments on each line of the configuration, and I
Vim is the greatest invention of all time, there are a lot of interesting methods, I have a brief introduction here, let your vim use more efficient. Now open your VIM editor and follow the top teacher's action.Improve: 1. .→ ( decimal point )
1. Using vim built-in search engine VimgrepFormat:: VIM/PATERN/GJ * *Command:: Vim or: VimgrepMode: Query mode is included in//Parameters: G indicates that the keywords found on the same line are divided into multiple lines for displayJ means you
Article Original address: http://geek.csdn.net/news/detail/34295I have always wanted to configure VIM with Vim has always felt that there is no visual use of the cool, but considering so many people use, that there must be a configuration of the
Insert Command
I
Insert before the cursor
I
Start insertion at the current line of the cursor
A
Insert after cursor
A
Inserts at the end of the current line of the
1 Synatax on 2 set background=light3if !has ('gui_running') 4 set term=xterm5 set t_co=6endif 78 colorscheme solarizedThere's a variety of instructions on the Internet, and I'm going to have a normalSolarized.vim it in the VIMRC after colors,
with vim, there are two common causes of errors:(1) when you use multiple programs to edit the same file. (2) non-regular exit. The following information is prompted:E325: attentionfound a swap file by the name ". Old.txt.swp"
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