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

The reason is that the VI or vim before the operation of the use of VI or VIM operation Test.java file when an abnormal interruption, so in the current directory produced a. Test.java.swp file, this file using the LS command to view can not be found,

One week starter VIM

ObjectiveAll said that the use of VIM, the programming experience feel silky, but the starting slope is indeed a bit steep, always daunting.I have previously tried vim more than two times, each time because of confusion of its various modes, a

Vim Bulk Indent

Method One1, press CTRL + SHIF +; Enter the bottom row mode2. Write the line number that you want to indent in bulk, follow the format: "line number 1, line number 2>" Input command, if you want to indent a tab value from 4 to 11 lines in bulk, the

How to use the VIM editor

For the first use VI, there are a few notes to remind:1. When you open a file with VI, you are in command mode, and you want to switch to insert mode to enter text. Toggle method: Click on the letter "i" "Command mode" to enter "Insert Mode", then

Common usage and settings for the VIM editor

First, the common editor:Nano, Gedit, VI, Vim.The difference between VI and VIM:Vim is an enhanced version of VI.Three, the principle:When opened with an editor, it is opened in memory. After the save is written to the file.Four, several

Vim Common commands (i) Special deletion

Dd You can delete the current line of the cursor; Ndd n represents the number of rows, 3DD, deleted from the current cursor down 3 lines; Di Deletes the contents within the specified symbol, such as an

01-linux System Vim Editor

Vim Basic IntroductionThe VI command is the most versatile full-screen plain text editor in Unix operating systems and UNIX-like operating systems. The VI editor in Linux is called Vim, which is the enhanced version of VI (VI improved), fully

Vim Regular expression matches replacement string

/********************************************************************** * Vim regular expression match replacement String * Description: * with Vim has been used for several years, usually also replace the string more, and rarely replaced with

Linux Basics (ii)--VIM editor and account management

Vim Editor vim是vi编辑器的增强版,是unix/Linux系统默认的文本编辑器Vim three modes of operation 命令模式: vim 输入模式: 按键 I 进入输入模式 末行模式: 按键ESC : 进入末行模式Vim can create and modify files 新建:Vim 文件名 修改:Vim 已存在的文件 Wq : 保存并退出VIM Command mode

Initial knowledge of vim and regular expressions

1, the Replication/etc/skel directory is/home/tuser1, requires/home/tuser1 and its internal files belong to the group and other users do not have any access rights.~]# mkdir /home/tuser1~]# cp -r /etc/skel /home/tuesr1~]# chmod -R go-rwx /home/tuser1

Vim Common shortcut key series

1. Direction keyH: equivalent to left buttonL: Equivalent to right-clickK: equivalent to the upper keyJ: equivalent to the next key###############################################################2. Move the cursorMove the cursor to the first line of

138 Vim commands, Operations, shortcut keys complete

Command HistoryCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.start VimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim

Vim shortcut keys

The cursor moves to the last line of the file:Shift+g or G (Command mode, edit mode)The cursor moves to the first line of the file:GgThe cursor moves to the beginning of the current line:^ 0 HomeThe cursor moves to the end of the current line:$

"Linux Learning Notes" Chapter 5th VIM Tools

5.1vim IntroductionVim is an upgraded version of VI with a color display that installs the package firstYum install-y vim-enhancedVim is divided into three modes: General mode, edit mode, and command mode. 5.2vim color display and move

The editing mode and command mode of VIM tool

First, enter the editing mode1, according to large I positioning the beginning of the big line to edit2. Press small I to edit by the line where the cursor is located3, press big A from the end of the line to edit4, press small A from the current

It's enough to know about vim.

Basic Operation Open File vim [option] file +n. :打开文件后,让光标处于第n.行的行首,+默认行尾 \\ vim +5 file 打开file并让光标处在第5行Enter insert mode i \\ 在光标处输入 I \\ 当前光标行的行首输入 a \\ 在光标所在处后面输入 A \\

VI and VIM Editor

VIVI is a computer text editor, written by the American computer scientist Bill Joy Bill Joy, and released in 1976 with the BSD license.VimVim is a text editor developed from VI. Its code completion, compilation and error jump and other convenient

Vim Configuration python development environment

Posted on November 7, 2011 by Sam This time has been in Python with the idle editor, but this idle code indentation really hurt, when you use the If:elif:, the Elif: not automatically aligned, which makes me often in the debugging time only to find

Enhanced Python color in Vim

I used to use putty with Unix server to open screen, and then use Vim to write Python. This recording improves the color of Python.Activating 256-Color terminalFirst, increase the available color to 256 colors, make sure Putty is the new version

Use vim to edit Python

1.vim use1.vim AccessVim 1.py has file open no file New2. Command mode: Enter the last line mode3. Last-line mode: Wq Save and exit: Q Quit!4. Insert mode ESC exits to command modeInsertPress I (inserted before cursor position)Press A (insert behind

Total Pages: 210 1 .... 122 123 124 125 126 .... 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.