Install vim on centos7 and display Chinese Characters in vim
1. Install vim on centos7
Yum-y install vim (simple and crude installation method)
2. No garbled characters are displayed in vim.
(1), vim ~ /. Vimrc (~ /. Vimrc is
Linux learning notes-Explanation of Vim operation commands and learning notes-vim
Linux Study Notes-Vim operations
1. Vim Introduction
Vim is a powerful full-screen text editor,
Is the most common text editor on Linux/UNIX,
It is used to create, edit, and display text files.
one case is to open multiple files in the shell with Vim, and the other is to open multiple files in the VIM editoropen multiple files at the same timeVim File1 file2Open the file and display the Vim-o file1 in the horizontal window file2Open file and display Vim-o p1.sh vertically p2.shopen a new file in VimThe origin
Global find substitution:%s/stext/rtext/gLike what::%s/text/txt/g is to replace all the text into txt. How does vim collectively indent a piece of code or vice versa?
Very simple, by V into the visual mode, select the code to indent, press > Indent code, a > Insert a tab, of course, to insert 3 tab on the input 3>
The tab width can be set in _VIMRC
Set tabstop=4
Set shiftwidth=4
use VIM bulk annotation
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the VIM plug-in with theThe file is placed. This time, let's continue to talk about Vim's plugin. This time we want to say the vim plugin called: Ctags. Well, that's the same thing.Gossip Hugh, words return to the positive. Let's talk about
Solve the problem of the original URL: http://m.blog.csdn.net/blog/zuisuozhe/37600293, I do the original content to edit, please forgive the original author.
problem : I Ubuntu14.04 under the installation of VIM-GTK encountered the following problems:
$ sudo apt-get install VIM-GTK reading package list ... CompleteAnalyzing Dependency tree for PackageReading status information ... CompleteThere is no avai
Summary
Since Adobe released its public PDF reference for the first time in 1993, PDF tools and libraries supporting various languages and platforms have sprung up. However, the support of Adobe Technology in Java application development lags behind.
Since Adobe released its public PDF reference for the first time in 1993, PD
Complete VIM tips: file name completion and vim tips completion
Well, I 've been reading the "concise Python tutorial" These two days. The author suggested to write the file name and the interpreter of the call in the comments in front of the Code. For example:
Well, of course I can't create a file every time. I need to write a large string of things at the beginning. There must be a simple way to use
Batch comments and uncomments are implemented in vim, and vim uncomments
When debugging code, you can easily comment out or cancel code comments in batches. Many ides use shortcuts to comment out or uncomment selected code blocks in batches, how can this function be completed in Vim?
Method 1 selection mode
Batch comment:
Ctrl + v enter the block selection mode,
Use of the vim editor in linux and the vim editor in linux
Vi or vim editor is an indispensable editor. There are many editors available on windows, such as notepad, notepad ++, and edit,
But in linux, it is basically vi or vim. vim is bigger than vi, and it is an enhanced
VIM tutorial, vim
Vim environment setting parameters
: Set nu
: Set nonu is to set and cancel the row number!
: Set hlsearch
: Set nohlsearch hlsearch is high light search ). This is to set whether to reverse the white value of the searched string. The default value is hlsearch.
: Set autoindent
: Is set noautoindent automatically scaled down? Autoindent m
The above is, all can be listed in my resources, and the instructions for use are attached below:
Usage:1. Put. vimrc in the vimrc package in the/home or/root directory (depending on your identity ).2. Put the files in plugin and Doc in the other two zip packages into Vim/DOC and VIM/plugin respectively.The specific contents depend on your system and VIM v
For a whole bunch of vim files online, here's just a few steps to record my new configuration environment. for viewing reference.Installation Configuration VundleThe first step is to create a vim directory and configuration file:Under the ~ directory, add the. vimrc file and the. Vim/bundle/vundle directory.The second step is to add the configuration contents of
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
C + + libraries:1,pdf Class Library Podofohttp://podofo.sourceforge.net/Podofo is a C + + class library for manipulating PDF file formats. It also contains widgets for parsing, modifying, and creating PDF text2,xpdfHttp://www.foolabs.com/xpdf/download.htmlXpdf is an open source PDF file Browser, Xpdf can decode LZW com
# ifconfig
--After viewing the IP address of the virtual machine below, the following actions are connected on the local software
--Upload all the compressed package files I have given to the/root directory
# yum-y Update
# init 6
--Restart
# yum-y Install Vim
--Install Vim
# yum-y Install wget
--Install the Download tool
# wget http://pkgs.repoforge.org/unoconv/unoconv-0.5-1.el6.rf.noarch.rpm
--Download fi
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
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.