why to use VI.
VI is a very unfriendly text editor, but why use it. Because: all Unix like systems will build a VI editor, and other text editors are not necessarily present; a lot of the editing interfaces of the software will call VI Vim's
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
1. In the terminal use Vim for editing, by default, the editing interface is not displayed line number, syntax high-brightness display, intelligent indentation and other functions. In order to better work under VIM, you need to manually set a
securecrt Change Display widthAfter each use of SECURECRT login sqlplus query data are folded line display, even if set lines 1024 parameters are useless, very uncomfortable, today finally finished.
SECURECRT v5.5.1 (Build 407)
1, first global
The shortcut key combinations that are often used in vim:Normal Mode:Ctrl F turn to the next page Ctrl B turn to previous page/search keyword n look down n findWith a single word selected, press to select N to find n up^ Jump to the beginning of the
Vim working modeVI file name into command modeI a O into insert modeESC key back to command mode: Enter edit modeAdd line number: Set Number/nu: Wq Save ExitInsert commandA specifier insert in the word cursorA at the end of the line where the cursor
(a) What is Vi/vim?Almost all the configuration files in the Linux world exist in plain text, and the VI editor is available on all Linux distribution systems, so it is convenient to easily modify the various configurations of the system with simple
Directory
1, vim mode of operation
2. Insert command
3. Positioning commands
4. Delete command
5. Copy and Cut commands
6. Replace and Cancel commands
7. Search and search replacement commands
8. Save and Exit
1. Introduction:The installation requires GIT, which triggers the git clone default to copy every repository that specifies a specific format plugin to ~/.vim/bundle/ . The search requires curl support.For Windows users, visit Windows Setup directly.
File and directory management and the use of the VI editorFile and directory management, just beginning to learn this piece of feeling a lot of content is miscellaneous, but after the completion of the summary, found in fact very organized and no
Thanks to Czloveyeer's forwarding and revelation, I experimented on his basis and changed the original link http://blog.csdn.net/czloveyeer/article/details/8076284Operating platform: Ubuntu LTS 12.040. First you have to have VIM version 7.3 or more1.
Question: How do I implement the code folding function in vim? Workaround: Use Vim's own shortcut keys and commands directly, you can achieve a powerful folding small test folding: 1:set fdm=marker in vim to execute the command 2 5G the cursor jumps
DeleteX Lowercase x indicates that one character is deleted backwards, that is, the character where the cursor is deletedNX N represents a number, which means that each character is deleted backwards, for example: 10x means to delete the next 10
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
Start vim under Ubuntu, prompting for no color scheme blackboard (or any other),How do you choose your favorite color scheme? In/usr/share/vim/vim72/colors, (here you select the appropriate folder based on your vim version)You can see a lot of files,
If the current locale is UTF-8, use Vim to open a gb2312 encoded file, which is garbled. Open it with gedit, but it is displayed normally. Isn't Vim as good as gedit? The small issue of recognition encoding should be a piece of cake for vim. The
# Firewall configuration written by system-config-Firewall# Manual customization of this file is not recommended.* Filter: Input accept [0: 0]: Forward accept [0: 0]: Output accept [0: 0]-A input-M state -- State established, related-J accept-A
C compilation process
Step 1: Use VI to compile the. C code file
Step 2: gcc-G. C-o. Debug
Step 3 GDB
Step 4 file. Debug
List
Start debugging
Or GCC. C directly generates an executable file named A. Out.
./A. Out.
Run the VI command (for details
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
[Vim] vim notes-split screen operation
We often need to open multiple files, operate multiple files in different windows, and split the screen is very useful.
1 command mode: new, create a file and split the screen, shortcut key, Ctrl + W, then
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service