Command history
Commands with: and/start with history, you can first type: or/And then press the up and down arrows to select a history command.
Start vim
Enter the following command in the Command line window
Vim starts vim directly
Vim
Puppet PP profile has not been vim support, edit the black background white, not easy to row wrong, it seems difficult to distinguish, need to make further changes to perfect display
You must add 2 files to the. Vim in the user's root directory, as
Today, after dealing with the problem, you have nothing to do, and intend to practice shell scripting in Ubuntu in the virtual machine.Helpless, virtual machine system installed only VI, this editing software for us or is not accustomed to, so
The regular expressions in VIM are powerful and can do a lot of unthinkable things if they are free to use.If you are familiar with Perl's regular expressions, you can refer to a section directly.I. Commands that use regular expressionsThe most
All Unix like systems will be built into the VI document editor, and other document editors will not necessarily exist.But at the moment we use more of the Vim editor.Vim has the ability to edit the program, can be active in font color to identify
Common shortcuts in the command mode of the 1.vim editorCommand functionDD Delete (cut) the entire line where the cursor is located.5DD Delete (cut) 5 lines starting at the cursor.YY copies the entire line where the cursor is located.5yy Copies
Edit command:I insert the word "a" before inserting a Line at the end of insert an O new line edit O Create a new row aboveInsert:X i * "ESC" insert 10 *25 a XX "ESC" insert 25 xxj join merge two rowsMove:
System: Ubuntu 15.04Because the Ubuntu15.04 system comes with vim that does not support LUA, you have to compile the installation yourself.1. Remove the vim that comes with the system.sudo apt-get remove vim vim-runtime vim-tiny vim-common
Text Editor:Line Editor: SEDFull Screen Editor: Nano,vi,vimVim Program EditorVim can be considered an advanced version of VIVi:visual Interface Full Screen text editorVIM:VI improved improved full-screen text editorVim Tutorial:VimtutorModal
Requires software vim http://www.vim.org Code_complete.vim plugin http://www.vim.org/scripts/script.php?script_id=1764 ctags After the general installation of Vim will have, Ubuntu seems to be not supported, need to download. A VIM configuration
A text selection:Rectangular block Selection:[Ctrl]+v block selection, can be selected in a rectangular wayV character selection, the cursor will pass through the place of the white selection!V (uppercase) line selection, the line of the cursor will
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, we no longer introduce the new vim plugin. But we're going to do a Zhanghuizhong of the Vim
Vim Three modes: General mode , edit Mode , Command mode . * General mode: when you vim filename to edit a file, it is normal mode to enter the file. . In this mode, you can do the following actions: Move the cursor up or down, delete a
Record it for later use.Machine: ubuntu_14.04.1_64bits;Steps:1. Download the Chinese Help file at the following address:Http://sourceforge.net/projects/vimcdoc/files/vimcdoc/vimcdoc-1.9.0.tar.gz/download2. Unzip the vimcdoc-1.9.0.tar.gz file;3.
There are only three types of editors in the world, EMACS, vim, and other650) this.width=650; "src=" Http://feihu.me/img/posts/vim-solarized-yinyang.png "width=" 433 "height=" 434 "alt=" Vim-solarized-yinyang.png "/>Personally feel very good
The previous article has learned how to replace globally with the ": S" command in the VI editor, and you can use regular expressions in replacement commands for strong pattern matching. This article will learn more examples of pattern matching to
Count on the University class Linux contact for four years, but in addition to work contact those, other places are still very water, are not proficient, today turned to look at the previous reading that forget the vim skills, found, such as no
Http://hi.baidu.com/xletian/blog/item/f19962061a9a506c020881dc.html
After looking at VIM's global command and search instructions, will you also think you have what you need to be called Vim?Today, I talked to my elder pudding elders
Content of this week's job:1. Copy the/etc/rc.d/rc.sysinit file to the/tmp directory and add the line beginning with at least one white-space character in the/tmp/rc.sysinit file #:%[email protected]^[[:space:]]\[email Protected]#&@g384
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
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.