Enter the following text in the. VIMRC (or/ETC/VIMRC) file: Set tabstop=4 set softtabstop=4 set shiftwidth=4 set Noexpandtab set nu set autoindent set Cindent: Tabstop: Indicates the length of how many spaces a tab appears to be, default
Because the server is not me alone in the operation, in the modification of the Apache configuration file found a very strange problem, vim edit Open Profile discovery has a ^m tag behind itAlthough it doesn't affect the operation of the service, it
In school, also intermittent use of git and vim, intermittent reason is that the school network to GitHub support is not very good, sometimes can not open, so, used to version management of the code is not appropriate. So, the commands for git and
Learn the basic operation of VIM by Vimtutor this brief tutorialTwo move cursor: H: Left L: Right K: Upper J: LowerThree Vim entry and exit1. Enter: Vim + filename Enter or VIM + ENTER2. Exit: 1:q Key Exit-Do not save2:q! force not to save exit3:w
It's not hard to install Vim under Linux, but this is the first software I've installed under Linux, or the way someone else's blog does it. Anyway, now this method has been learned by me, it is mine, so he should appear in my blog. And then share
problem Description: use sudo apt-get install vim under Ubuntu, installing vim OK, but each time you use vim to edit the code, you are prompted to "cannot execute the directory:" $HOME/.VIMRC "press Enter or other command to continue", Then press
The final exam this time = = Water break, now ready to transform vim.First you need to understand the difference between vim:http://coolshell.cn/articles/5426.htmlAnd then you must have been in the bare vim water a pitch? Must have found some
Ctags-r the root directory to generate tagsAdd set tags=/.../.../tags in. vimrcCTRL +] JumpG CTRL +] cross-directory jump: TS Lists all: TP jumps to the previous: TN jumps to the nextTlist InstallationDownload the latest version of TagList plugin to
The four modes of VIM technique _ Insert Mode
Correcting errors in insert mode in a timely manner
Insert-Normal mode
Paste the contents of the specified register directly under Insert mode mode
Doing operations in insert mode
After installing VIM on the new machine, you can use YY to re-hold, but "+y copy to the system Clipboard does not work." Follow the steps below:1. First to check if your vim version supports +clipboard, the command is: versionOr you can enter: Reg
What's the difference between plugin, autoload, Ftplugin?Many of the first friends with VIM will have some doubts when installing plugins. The same plug-ins, some tutorials say installed in the plugin directory, some say installed in the Ftplugin
Basically vim can be divided into three states, namely command mode, insert mode, and bottom line mode.Mode Switching methodEnter "I" in the command mode, enter the Insert mode, you can edit the text content, after editing, "ESC" key exit edit,
1. Vim mode:Edit mode (Command mode)Input modeLast-line mode2. Mode conversion:I: Switch to input mode before the current cursor characterA: After the current cursor character, switch to input modeO: Create a new row below the current cursor line
Vim shortcut keys, in order to prevent too cumbersome, only write their usual, follow-up supplement. Introduction to the article Vim Basic learning, detailed see reproduced in the article Vim shortcut key1. Open the file Vim + file starts at the end
Visual mode allows us to select a range of text and then operate upon it. However intuitive this might seem, Vim's perspective on selecting text was different from the other text editors.Visual mode allows the user to easily select a piece of text
Don't want to spend too much effort on the editor recently, so find a good solution.You can use it very happily without understanding the vim configuration.1, download and install Janus (Https://github.com/carlhuda/janus)Installation is simple and
[Vim]Operating mode switching:Enter edit mode when I (insert), C (modify), O (another line) command is entered in normal mode, and press ESC to return to normal mode.Enter a colon in normal mode (:) can enter command mode. After entering the command
Here are three VIM plug-ins, one is Pyflakes, the other is PEP8, and their fit Flake8 installedInstallation is simple, find your. Vim directory, unzip the two compressed packets and put them in.Go below vim official down down.Pyflakes http://www.vim.
Basic operation of the Vi/vim editor under Windows contents
1. Tool Preparation (Download Gvim)
2. Basic Introduction to Vi/vim
2.1. Installation
2.2. Basic use
3. Vi/vim Basic Command table
1Tool
Vim column block operation, vim Column1. There are three ways to enter the visual mode: v, V, CTRL + V (1) Enable the visual mode by v. You can select the content by a single character and move the cursor to select. For example:(2) Press V to enable
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.