The following prompt appears during installation:There are no packages available for Vim now, but it is referenced by other packages.This may mean that the missing package may have been discarded,Or can only be found in other publishing sourcesE: Package vim is not available for installation candidateWorkaround:First step: sudo apt-get updateStep two: sudo apt-get install vimubuntu12.04 when installing
Tags: 309653Enter edit modeEdit mode, which is the mode that we can modify the document, configureI insert in the current word match eitherI (uppercase) is inserted at the beginning of the line where the cursor isA inserts after the current characterA (uppercase) is inserted at the end of the line.o Insert another line below the current lineO (uppercase) Inserts an additional line above the current line·····VIM Command modeFind:/Add the characters you
I still recommend all new vim friends first go to use vimtutor practice, and then go to see Vim's help document, write very carefully, and can immediately combat, effective quickly, many of the following are the examples of VIM help document, I feel very good, took out.The reason why vim is efficient is because it has a high-efficiency mobile mechanism, as a lear
Enable Vim syntax highlighting settings in SSH Secure Shell Client
The related settings on the SSH Secure Shell client are: Setting --> profile setting --> connection --> terminal, select ANSI or xterm.
====================================When you use Vim to edit a terminal, by default, the editing interface does not display line numbers, syntax High Brightness Display, smart indentation, and other functio
Vim/Vi practical skills (version 2) and vim Practical SkillsVim/Vi Practical Skills
1. Import files
: R [file name] # import to the currently edited File
For example, r/etc/inittab
The upper part of the file is the/etc/services file, and the lower part is the/etc/inittab file.
2. Run the command [do not exit vi]
:! [Command]
:! Ls-l/home/hadoop
Extended-import the command execution result to the current
[Vim] vim learning notes-open, switch, and close multiple filesOne case is to use vim in shell to open multiple files, and the other case is to open multiple files in the vim editor.Open multiple files at the same timeVim file1 file2Open the file and display vim-o file1 file
Vim learning notes series (preface) and vim learning notes
This morning, we saw that the great gods were using vim for programming. The screen was intuitive and the speed was very fast. The operation only needed a command character.
Therefore, it can be inferred that the vim command operators are complex, so the le
Improve Efficiency Emmet. vim and emmet. vimImprove Efficiency Emmet. vim
Reprinted please indicate the source: http://blog.csdn.net/hpu_zyh/article/details/48069159Blog homepage | simplified book | zhihu | Weibo | github
Emmet-The essential toolkit for web-developers EmmetWith powerfulVimIt's no longer beautiful.HeardEmmentAndVimBetter configuration (haha, the more correct this is)
It can also be use
Vim cursor positioning, vimVim cursor Positioning
* Locate the specified row n:Enter "nG ".Or enter "ngg ".Or enter ": n"Here, n is the row number of the specified row. Note that sometimes G = gg.* Jump to the top of the screen:Enter "H ".This is the first non-empty character. Adding a number N indicates the number of rows (such as the N row of the 'nh 'positive number) from the top of the window)* Jump to the bottom of the screen:Enter "L ".This is t
Vim's DIY preference configuration under Mac"First execute:"CP/USR/SHARE/VIM/VIMRC ~/.VIMRC"Copy the default configuration file, and then execute:"Vim ~/.VIMRC"Edit the file at the end of the file to add"Syntax on"Save to exit"========================== below is the configuration content =================="Configuration file for VimSet Modelines=0 "cve-2007-2438"Normally we use
Eclipse provides an extensible plug-in development system. This allows eclipse to perform various functions on top of running the system. These plugins are also different from other applications (plug-in functionality is the most difficult to implement in code). Having the right Eclipse plug-ins is important because they enable Java developers to seamlessly develop applications based on the EE and service. Eclipse's plug-ins can also help them develop programs on different application architectu
Eclipse provides an extensible plug-in development system. This allows eclipse to perform various functions on top of running the system. These plugins are also different from other applications (plug-in functionality is the most difficult to implement in code). Having the right Eclipse plug-ins is important because they enable Java developers to seamlessly develop applications based on the EE and service. Eclipse's plug-ins can also help them develop programs on different application architectu
first of all, it is worth mentioning that my Vim tutorial PDF version has been finished, you can download, here is csdn: csdn download , if the left side of the hanging off, you can also enter below the browser to download the following address: http://download.csdn.net/detail/xinguimeng/7714213, of course, if you are a loyal user of Baidu network disk, Can also rely on Baidu network disk, I also synchronized to Baidu Network disk, as follows: Baidu n
1. You cannot see the tab key in the tab key file. To display it: set list now displays the tab key as ^ I, while $ is at the end of each line, so that you can find the spaces that may be ignored. One disadvantage of this is that it looks ugly when there are many tabs. If you use a color terminal or GUI mode, VIM can highlight spaces and tabs. Use the 'listchars' option: Set listchars = tab:>-, trail:-now, the tab is displayed as ">-", and the extra b
[Craftsman Avenue] Some Vim commands that are not common but very powerful (constantly updating), vim constantly updating
Common vim commands such as moving and editing are not described in detail. Here, we will mainly record some uncommon but very powerful commands, so that you can instantly feel the spirit of the commands.
1.: Tlist
1) this command is used
Download Vim and vim
From song4
Vim helps you complete text editing in a almost natural language.
You just need to get familiar with a few simple syntaxes, and then you will sit on the rotating seat and turn around, and feel the wonderful life is back.
Okay, let's get started.
Vim helps you complete text editing in a a
Modify the. vimrc file under your user directory. There is a "." In ubuntu, it indicates a hidden file. Then, put the configuration content in the file. I. find a plug-in: AutoComplPop. Download the latest http://www.vim.org/scripts/script.php for this tool from the URL below? Script_id
Modify the. vimrc file under your user directory. There is a "." In ubuntu, it indicates a hidden file.
Then, put the configuration content in the file.
I. code prompts
Find a plug-in: AutoComplPop. Download the
Common Vim shortcut keys and keyboard diagrams, and vim shortcut keys and keyboards
Common Vim shortcut keys
H-move the cursor one character left. j-move the cursor one character down.
K-move the cursor up one character l-move the cursor down one character to 15 rows-15j
Ctrl + f-move one page down on the screen Ctrl + d-move half page down
Ctrl + B-move one pag
Vim auto-complete, vim auto-complete, and so on. In summary, copy and paste the following code ~ /. Vimrc, save, close all vim, and open it. Enter the cursor inside the brackets. Www.2cto.com [plain]: inoremap ()
Vim (multiline comment and delete multiline comment )., Vim multi-line--- All in ESC mode:1. Comments in multiple lines in vim.(1) press Ctrl + v to enter the column mode;(2) select to end at the specified position at the beginning of the line to be commented. (Use the up/down key to determine the number of rows)(3) Press "I" to enter the insert mode;(4). Enter t
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.