The VI editor is a modal editor and features exceptionally powerful volume and shortAnd the vim we're using now is the enhanced version of VI.VIM use Formatvim [options] [/path/to/somefile]Here's The path can also be omitted to write after writing
I haven't written it for a while. Make a simple note.
Download from http://www.vim.org/scripts/download_script.php? Src_id = 1, 6738
Decompress the package and add javacomplete. Vim java_parser.vim In the autoload folder
It is usually a development project in Windows. The latest work environment requires development in Linux. Although it is not suitable at the beginning, it is much better now. But compared with development in windows, there is always something
(1) easy to forget but commonly used operations:
(1) mobile
W/W: Move to the beginning of a word, case-insensitive punctuation
E/E: Move to the end of a word. The case difference is the same as above.
B/B: Move to the beginning
H/m/L: Move to screen
ArticleDirectory
Graphical cheat sheet
Graphical cheat sheet based tutorial
Notes
Learning VI or Vim is not easy. but it doesn' t have to be that difficult, either. it is, in any case, faster, more powerful, and more productive
Time: 2014.06.28 Location: Base Bytes -------------------------------------------------------------------------------------- Note: To illustrate how to call the. Command in VIM as a point command I. Brief introduction to some commands The Vim
ArticleDirectory
(1) vimrc Introduction
(2). Vim folder
Environment Configuration
"If you think Vim is just a text editor, you lose"-from Vim
Vim provides a variety of configuration functions in a simple way. The main
I think Vim is a powerful text editing software because it supports function expansion in the form of plug-ins (plugin. Many Vim enthusiasts write plug-ins to implement the required functions and customize their own vim. Vim supports the following
1 download: http://www.vim.org/scripts/script.php? Script_id = 1, 16432. decompress the package: Just drop the supertab. Vim file to the/usr/share/Vim/vim70/plugin folder.3. Help: supertab. Vim file header, and command ": supertabhelp"4 usage:In the
Install python. Vim syntax highlighting
Copy python. Vim ~ /. Vim/afer/ftplugin
In ~ /. Add configuration in vimrcSet autoindent "same level indent
Set smartindent "Next level indent
Set expandtab
Set tabstop = 4
Set shiftwidth = 4
Set softtabstop
Vim is a simple and powerful text editor that can perform complex operations in a simple way. Vim (http://www.vim.org/) is an open source software that provides multi-platform versions on Windows, Linux, and MACOs. Vim on MACOs is called macvim
1. Navigate to 1.1. view the row number
: Set numberShow row number
:. =Display the current row number at the bottom
: =Display the total line number at the bottom
1.2. move the cursor
0^Move the cursor to the beginning of the
This is the first time I learned how to use the vim editor.
1. First list common shortcut keys
U indicates revoking the previous step.
X indicates deleting the cursor position.
Dd indicates deleting the content of the row where the cursor
This tutorial describes some basic tips for using VIM in different working modes: insert mode, command mode, and file access. The goal is to help new users who have just been familiar with VIM use this excellent editor more efficiently.
(In this
Today, I will share with you my vim configuration, which is just a personal habit. If necessary, replace the following content copy ~ /. Vimrc content:
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$" set fileencodings=utf-8,latin1endifset tags=./tags,..
Vi/Vim
Picture copyright: lampbrother
Note: After Entering Vim/Vi, the command mode is used by default.
1) Basic commands
AAdd text behind the cursor
IInsert text before the cursor
: WqSave changes and exit
ZZShortcut Key, save the
Multi-line comment:
1. Enter the command line mode, press ctrl + v to enter the visual block mode, then press j or k to select multiple lines, and mark the lines to be annotated
2. Press the uppercase letter I and insert the annotator, for example
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