Liunx Vim commands Edit file contents

Sometimes the project has been deployed in Tomcat, but you need to modify some of the contents of the configuration file or modify the content of a JSP file, you will think of the local modified files uploaded to the server and then replace it, in

Linux Learning Log (Basic)----Vim's editing mode and last-line mode __linux

4, vim switch from command mode to edit mode A: Insert large A from the back of the cursor: End of line insert I: With a, insert large I: start at the beginning of the cursor Insert O: start at the beginning of the current cursor Insert Big O:

Linux under the Reading Source tool (Vim + ctags+cscope) __linux

0. Written in front of the nonsense The development environment is migrated to Ubuntu, and all the tools that are handy with windows are looking for a replacement. Windows has been using the souce Insight to read the source code, need to find a

Plug-in installation in Vim and several common plug-ins

Brief Introduction Vim has become very powerful after configuration, enough for us to do our daily tasks, but these are not enough to match the IDE. This time VIM's more powerful extension mechanism stands out, vim can install a variety of plug-ins.

Ubuntu 14.04 + vim + ctags + taglist installation and use

Ubuntu 14.04 + vim + ctags + taglist installation and use install Ctags, and execute the following command: sudo apt-get install Exuberant-ctagsNote: You can also use the source code installation to install TagList, follow these steps: 1. Download

Vim Operation Record (change at any time)

1, continuous input the same characters For example, enter 10 consecutive #: + + i + # 2, exchange two consecutive letter position For example, swap the first and second letters in the RPINTLN (change to println), then move the cursor to the

Vi/vim working mode and common commands

The move keys available in VI Command mode: h---move the cursor one character to the left j---move the cursor down one character k---move the cursor up one character l---move the cursor one character to the right w---move the cursor forward one word

Vim Ten essential Plug-ins __vim

http://www.open-open.com/lib/view/open1414227253419.html vim Ten Essential Plug-ins TagList TagList is a plug-in used to display various symbols in the locator, such as macro definitions, variable names, struct names, function names, which we call

Basic operation of Vim

Basic operation of Vim Start vimEnter the command in the terminal: Vim in the terminal interface or gvim separate out a window. Text inputEnter the character "a" or "I" in normal mode to enter text editing mode. File SaveAfter the text is

Vim Undo fallback operation

You can undo one operation by pressing u in VIU undo the last step operationCtrl+r Redo the previous undo operationAttention:If you enter "U" two times and your text reverts to the original, it should be that your vim is configured in VI

Vim Display garbled solution

Character Set (charset) code pointIn ASCII, for example, it assigns a numeric ordinal to each character, such as A's coded point is 65, and the set of all code points is called the character set.Character encoding (char encoding)Character encoding

Vim Chinese garbled how to solve

In general, it is only necessary to correctly set the coded identification sequence of vim and seldom encounter garbled problems:set fileencodings=ucs-bom,utf-8,utf-16,gbk,big5,gb18030,latin1This setting is sequential, and the general principle is

Linux (radhat) Basic Learning-vim Editor and file input and output

1.vim Editor1. First Knowledge Artifact: Vim(1). Vim Considerations编辑文件时 a.当文件名称存在,那么进入文件直接编辑 b.当文件名称不存在,vim会在退出保存时自动建立文件 c.当vim命令后没有跟任何文件名称时,时无法实现":wq"退出保存的那么可以用":wq filename"(给新建文件命名并保存)(2). When Vim exits abnormally, the system creates.

Solved by no protocol specified in VIM

On Debian wheezy, a new user, Walter, is added. When using vim, Walter exits when editing text: No Protocol specified no protocol specified This is because the added user has the permission to read the $ Xauthority file. Wolf @ wheezy :

Set PHP auto indent to 4 spaces in VIM

Writing code is naturally indispensable to text editing tool Vim. Automatic indentation uses tabs. Even if you delete the tabs and change them to four spaces, the tabs will continue to be used in the next level of indentation, this causes a mix of

Install Vim offline

In this installation, VMWare is installed in the Windows 7 environment and then the virtual machine is installed as follows: 1. Download vim-7.3.tar.bz2 from a website: http://download.csdn.net/detail/wxwd521/4484808; 2. Copy the installation

VIM + ctags + csags usage

VIM + cssag + ctags + tags read source code by: Xu Zhenwen The Linux Source Code provides the make command to create a cssag index file and a tags file.I. Software Installation Install cscope first: sudo apt-get install cscope After installing ctags:

{Vim} makefile: a small problem about tabs

Previously, I simply edited the vim configuration file named. vimrc in the home directory according to the online template, as shown below: 1 " 2 set hlsearch" high light search on 3 set backspace = 2 "delete any character in the file 4 set

Linux file editor VI (Vim)

Reference: http://huangbao.blog.51cto.com/725279/152665 1. About the text editor There are a lot of text compilers in Linux and UNIX, but VI should be quite common. To tell the truth, I don't like it very much. I even found some colleagues use this

How to obtain the powerful functions of VIM

I am not a fan of Linux/Unix, although I advocate the spirit of GNU. I used to write C/C ++ programs on the Windows platform using VC, It also uses editplus to write ASP/HTML, and occasionally uses sourceinsight to browse some Large Project source

Total Pages: 210 1 .... 74 75 76 77 78 .... 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.