Linux shell scripts and vim common operating notes

This note records the most basic vim and shell operations.What can shellscript do?Shellscript similar to Windows batch processing, you can put a lot of instructions together, so it is easy to execute multiple commands through an operation. Very

Reproduced in: Linux vim three modes

General Mode : Enter the "Vim file name" in the Linux terminal to enter the general mode, but cannot enter the text.edit mode : Press I in general mode will enter the editing mode, you can write the program, press ESC to return to the general

The ultimate solution for VIM and Gvim in Chinese garbled under windows

Article turned from: HTTP://WWW.LIUHUADONG.COM/ARCHIVES/68The ultimate solution for vim and Gvim in Chinese garbled under windowsIn Windows Vim's Chinese font display is not good, so we need to adjust the font display encoding utf-8, only in order

Debian Vim highlighted syntax

By default, VIM is not installed in Debian. APT-Get install vim-y is required. By default, the highlighted syntax is also annotated. You need to cancel the annotation in the configuration file:Vim/etc/Vim/vimrcCancel the following comments:; Syntax

Shorten the refresh time of taglist in VIM

When the cursor inside a function is located in Vim, The talist column displays the current function. However, by default, the refresh takes a long time and is inconvenient. Original link: Www.newsmth.net/nforum /#! Article/Vim/39368   Solution:

Vim encoding settings (for conversion)

  The encoding in VIM is mainly related to three parameters: ENC (encoding), fenc (fileencoding), and fence (fileencodings) Fenc is the encoding of the current file, that is, a file that has been correctly displayed in VIM (the premise is that

Vim configuration file -- display the row number tabstop settings

In Red Hat Linux, the Administrator's vim configuration file is stored in/etc/vimrc. Set nocompatible // remove the VI consistency mode to avoid bugs and limitations of previous versions Set nu // display the row number And so on. You can view

Install the ctags plug-in and taglist plug-ins in the basic configurations of vim.

Vim configuration file "Display row number set nu" hidden assistance prompt set shortmess = ATI "syntax highlighting syntax on" using Vim keyboard mode "set nocompatible" No need to back up set nobackup "not saved or file when read-only, the pop-up

Use Vim (III):. viminfo and. vimrc

eol

1. viminfo For operations in Vim, VIM automatically records the operations and stores them in ~ /. Viminfo file. To facilitate next processing, for example, when Vim opens a file, the cursor will automatically display it at the last exit. Previously

Vim change ide

If you have written a little bit of code, you will be able to know how convenient the integrated development environment (IDE) is. Whether it is Java, C, or Python, it is much easier to write code when ide will help you check the syntax, compile in

My Vim plugin

Record the following my vim plug-ins 1. ctags Use the ctags-R command 2. cscope Not used yet 3. toglist 4. winmanager 5. Pathogen 6. nerdtree   Appendix: My. vimrc ""My Vim Configuration""Disable compatibleSet nocompatible"Enable syntax

Vim command set

Command Action Notes Vim file + 54 Open File and go to line 54 Any: command can be run using + on command line Vim-O file1 file2 Open file1 and file2 side by side   Insert Enter insert mode So you

Vim configuration file highlight + automatic indent + row number + folding + Optimization

The configuration file was found online. I changed the error items Copy the code to the user directory to create a file named. vimrc.Save to take effect. If you want all users to take effect, modify/etc/vimrc (we recommend that you copy CP first) "==

Vim practical skills Reading Notes

Chapter 1 First, we put forward the idea of VIM: how to improve reuse -- easily repeat previous operations.In addition, the author divides Vim operations into two steps: One is mobile, and the other is operation. For these two aspects, the

Compiling vim and man help documents in Ubuntu

Vim is a powerful editor. Of course we can also configure it with a powerful ide. There are a lot of such tutorials online, so I will not repeat them here. We often need to check the document for unfamiliar commands and plug-ins. The English

Vim Common commands

1. move the cursorUpper: KLower: JLeft: l "letter l lower case 』Right: HFirst line of the previous line:-"minus sign 』First line of the next line: +First line: 0 "number 0 』End of line: $Word tail or the last word tail: ENext word: WFirst or first

Back up Vim configurations

Source $ vimruntime/vimrc_example.vimSource $ vimruntime/mswin. VimBehave mswinMap :! Python % Set diffexpr = mydiff ()Set fileencodings = UTF-8, Chinese, Latin-1, cp936, gb2312Set fenc = UTF-8Set tabstop = 4Set shiftwidth = 4Function mydiff ()Let

Record the vim configuration file

1 "show row number 2 set nu 3 4" Hide assist prompt 5 set shortmess = ATI 6 7 "syntax highlight 8 syntax on 9 10" file type automatic detection 11 filetype on 12 13 "Use Vim keyboard mode 14 set nocompatible 15 16" No need to back up 17 set nobackup

Use vim (II): common functions

Use vim (II): common functions1. Common vim functions: common functions of vim, including block selection, copying, multi-file editing, and multi-window functions. 2. Select the vim block to copy and paste a part of the document without processing

Clang_complete vim simple configuration, clang_completevim

Clang_complete vim simple configuration, clang_completevim Vim is very powerful. You can view it through man vim (man is the manual for viewing commands, and man can view the corresponding usage by adding commands) Below is a brief description of

Total Pages: 210 1 .... 145 146 147 148 149 .... 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.