Linux command line and vim simple learning record

Linux command line 1. Open the command line  Ctrl+alt+t2. Catalogue Displays a list of files for the current directory     Ls Jump to the X folder in the current directory     CD x Return to the root

Solarized of Vim Plugin

Solarized is not really a strict plug-in, it is just a theme, this theme seems to be very good. One thing, because the final effect of Vim is also related to the Ubuntu terminal color, so we also need to make other settings. The specific process is

Vim's Column editing operations

Delete Column1. Position the cursor where you want to operate.2.ctrl+v into "visual block" mode, select how many rows this column operates.3.d deleted.Insert ColumnKnowledge is slightly different when inserting operations. For example, we insert "()"

Vim Configuration Finishing

Simple settings for VIM themes:Call pathogen#infect () syntax on"turn on syntax highlighting"Chinese support set fileencodings=UTF-8,CP936,BIG5,EUC-JP,EUC-KR,LATINL,Ucs-bomset ambiwidth=double "prevents special symbols from being output ColorScheme

Compiling and installing vim 7.3 in CentOS

The default installed Vim does not have multi-character support, so Chinese is not supported. Whether to change the original CentOS language to Chinese or to change the language setting of Vim to Chinese, it is not possible to display Chinese

Vim Editor Common operations

Vim modeEdit mode (Command mode)Input modeLast-line modeConversion ModeEdit-InputI: Convert to input mode in front of the character that the current cursor is inA: After the current cursor character, convert to input modeO: Create a new line below

The VIM editor uses

1. Open the file and create a new file if it does not exist:Vim file name2, entered after the general mode, unable to enter the textInput I in edit mode, you can directly edit the contents of the fileInput: Enter command mode, you can type a new

CenOS6.5 under the source installation vim-7.4

1."Download"vim-7.4 :ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz22."Unzip"Tar jxvf vim-7.4.tar.bz2after that, the source file is under the compression package src directory insideIt's best to do it in this directory only . Configure , Make and

Linux under VI or VIM operation found a swap file by the name causes and solutions

When opening a Test.java file with VI or VIM under Linux[Email protected] tmp]# VI Test.javaThe following information appears:e325: attention    found a swap file by the name  " . TEST.JAVA.SWP "             owned by:  root   dated: Wed Dec  7 13:52:

VI, VIM basic use (2)

command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the

Vim Editor Common operations

Vim file Editor Common operations Summary:CopyYY Copy a row10yy Copy from the current cursor line to the following 10 linesY1G Copy all data from the row to the first row of the cursorYG copies all data from the row to the last row of the

Some of Vi-vim's forgotten points

1. VI is divided into three modes: General mode, edit mode and command line mode. I/esc +: wq:q: q! Enables VI to be converted back and forth in general mode and edit mode. /word down looking for a string named word; Word looks up for a

Vim Command Detailed

Command Simple description : W Saves the edited file content, but does not exit the Vim editor. The purpose of this command is to write the data in the memory buffer into the file specified when Vim is started. :

Why and how to found a swap file by the name when you edit files under Linux vi or VIM

When opening a Test.java file with VI or VIM under Linux[Email protected] test]# VI Test.java The following message appears: e325: attention    found a swap file by the name  " . Test.java.swp "             owned by:  root   dated: Wed Dec  7 13:52:5

The repetition of the basic learning of VIM

Repeat command.: This command can repeat the previous operation. For example, you perform a DD operation, and then. It will delete the forwardThere is also a single operation between the changes from Insert mode to exit Insert mode. For example,

The insertion mode of VIM basic learning

Insert mode1. Character encoding, inserting special characters{3 bit}If you want to enter a, you can enter it in the input mode065 (must be 3-bit)u{4 bit}For example, if you want to enter ¿, you can enter it in the input

In use of Vim plugin

The-nerd-tree Https://github.com/vim-scripts/The-NERD-treeIn Vim can also have a directory tree, if you want to open the current folder under the other files can also be very convenient to find. Here are some common shortcut keys:Q Close the Display

ubuntu& Red Hat's VIM Universal configuration (file header + One-click Compile execution C/c++/java single file)

Vim is a powerful editor and may be more complex to configure on-line gods. There are many functions. My configuration here will meet the basic requirements. Fast and versatile, as long as you open your own VIMRC files follow my add a few lines of

Vim editor under Python2.0 Auto-complete

Python automatically complements all of the vim editing and Python interactive modes, and below describes how to implement tab completion in these 2 situations.One, vim python automatic completion plug-in: pydictionYou can implement the following

Vim: error while loading shared libraries:/usr/lib/libgpm. s

Vim: error while loading shared libraries:/usr/lib/libgpm. s [Root @ localhost etc] # vim my. cnfVim: error while loading shared libraries:/usr/lib/libgpm. so.2: file too short[Root @ localhost etc] #See the figure, get it, or report an error. Run

Total Pages: 210 1 .... 132 133 134 135 136 .... 210 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.