Configuration file. vimrc1Set tabstop=42Set softtabstop=43Set shiftwidth=44 Set Noexpandtab5 Set Autoindent6 Set Cindent7Set backspace=28 Set Nu9 TenSet nocompatible"Be improved, required OneFileType off"Required A - "set the runtime path to include Vundle and initialize -Set rtp+=~/.vim/bundle/Vundle.vim the Call Vundle#begin () - - "Let Vundle manage Vundle, required -Plugin'Vundlevim/vundle.vim' + - "Keep Plugin commands between vundle#begin/end
, while the cursor goes down another line, enter "# hello!" )。(25) Save the document and exit (press the ESC key and enter ": Wq").Ii. Vim Usage Supplement1.vim Editor replacement mode and visual modeIn general mode, press R and R on the keyboard to enter replacement mode. If you press small r then you enter the replacement mode, and the next character you enter will replace the character where you currentl
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 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
Tags: vimNote content:L 5.5 into edit mode L 5.6 VIM Command mode L 5.7 Vim Practice Note Date:2017.8.45.5 into edit mode The so-called editing mode is to enter the state of the contents of the file can be edited, and into the word document into Notepad is the same, the most common way to enter the editing mode is to press I, This is the edit mode that enters the current cursor position. Here are a few w
Recently looked at node. js, but when writing, Vim does not have a good hint of JS. Then install the plugin to handle, ready to install vim-javascript. However, when installing the plugin above GitHub, it is recommended to use Vundle and pathogen.Installing plugins, using Vundle management, is indeed a lot more convenient. The specific configuration is as follows (my operating system is Ubuntu 14.04 LTS):1.
Ubuntu 12.10 Install vim Error[Date: 2013-01-18] Source: Linux Community cubernet [font: Big Small]The following tips appear when you install Vim in Ubuntu 12.10:Reading Package List ... CompleteAnalyzing Dependency tree for PackageReading status information ... CompleteSome software packages cannot be installed. If you are using the unstable release, this may beBecause the system is unable to achieve the s
First, Introduction
Spf13-vim is a release version of the Vim plug-in and configuration, including a set of carefully selected Vim Plug-ins, with Vundle for plug-in management, and can be personalized through the following files
~/.vimrc.local #个性化配置文件
~/.vimrc.bundles.local #本地bundle配置文件
~/.vimrc.before.local # Personalization
, global variables, functions, such as tag (similar to the Sourceinsight function) tagbar--taglist alternatives (more suitable for C + +) autopairs--Auto Insert and formatting parentheses powerline--status bar vim-airline--powerline alternatives echofunc--automatically display function declarations snipmate--automatically insert code (Code reuse tool) nerdtree--file browser (tree directory) ctrlp--File brow
Vundle is the VIM plug-in management tool used to manage Vim plug-ins, Vim-autoformat is a code-formatted plug-in
1. Installation Vundle (reference click to open link)
$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/vundle.vim
2. Add the following content to the. vimrc file
Set Nocompatible
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the Nerdtree in vim.Plug - ins.. This time, let's continue to talk about the Nerdtree plugin, but what we said on the previous page is how to install the plugin.How to use the plugin. Well, still that sentence, gossip Hugh, words return to the positive turn. Let's talk about vim together!Crossing, l
5.5 Entering edit mode5.6 VIM Command mode5.7 Vim PracticeExtendedSpecial usage of vim http://www.apelearn.com/bbs/thread-9334-1-1.htmlVim Common shortcut key summary http://www.apelearn.com/bbs/thread-407-1-1.htmlVim quickly deletes a character http://www.apelearn.com/bbs/thread-842-1-1.htmlVim garbled http://www.apelearn.com/bbs/thread-6753-1-1.htmlSmall keyboa
1, CENTOS7 installation vimYum-y install vim (simple rough installation method)2, in vim display Chinese does not appear garbled(1), Vim ~/.VIMRC (~/.VIMRC for vim configuration file)(2), enter:Set fileencodings=utf-8,gb2312,gbk,gb18030Set Termencoding=utf-8Set Fileformats=unixSet ENCODING=PRC3, ~/.VIMRC~ Indicates the
This article is from Svtter's blog, reproduced please retain this information
Write with VIM (1)
Vim's Next stepFor myself, it is also in this step.Now that you have a knowledge of vim, HJKL will, F can also be used, , may be mapped to you, or so on. But I still want to write this blog, to guide the novice (admittedly, also guide themselves). Mislead and don't scold me, please say your
From; http://blog.csdn.net/carolzhang8406/article/details/6117593
From Wikipedia http://zh.wikipedia.org/wiki/Vim.
Vim is a text editor developed from VI. Code Completion, compilation, error jump, and other convenient programming functions are particularly rich and widely used by programmers. It is used in parallel with Emacs to become your favorite editor for Unix-like systems.
The first version of
Because of this konjac Konjac Noip character explosion, can go to winter camp, so ready to start practicing using Linux under the Ide:vimWith the help of Dalao DTZ, I installed vim and made the initial configuration.However........ It's so hard to use, it's not the same with Devcpp.Can not use the Clipboard, not with the mouse, but also to play so long compile commands, look at the uncomfortable ~ ~So, I wrote this configuration file.First, there are
Tags: nbsp button roman Exit Shift ace Insert Edit SWP Related knowledge /relevant knowledge 1 _VIMRC Programming /_VIMRC Program1. Annotation ", for comment2. Keyword set, for setting functions, etc.3. Keyword IMAP, which indicates a re-map in insert mode4. Keyword Inoremap, indicating the re-map in insert mode:Inoreremap HL Inoremap 5. Keyword Nnoremap, indicating a re-map in normal mode6. Phase Key table:
Name
corresponding keys
Name
corresponding keys
Unix Linux vi Vim User manualAbout ViVi is the most popular full-screen document editor in the Unix world, and almost any UNIX machine can saywill provide this software. Linux Of course also has, its VI is actually Elvis (copyright question), but they allAlmost. Familiar with the DOS of the document processing, may feel that VI is not good, Unix has developedMany newer, better-used clerical editors, but not necessarily every Unix machine will install
Vim in the SWP that Swap file, which is generated when editing a file, it is a hidden file, if the original file name is Data , then SWP file name is . DATA.SWP . If the file exits normally, the file is automatically deleted. The following two scenarios do not delete the SWP file:
Vim non-normal exit , In this case , unless manually deleted SWP file (also available in
The use of Linux nature to learn a good text editor, I would recommend the use of Vim here, not that it must be better than other editors, for vim, we can find a lot of useful resources through Baidu (Google was the wall, Baidu's English search is simply a mess. Resources such as Emacs are not easy to find). Below, I also give a copy of my personal use of the configuration, including some utility plug-in (i
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.