2.9-vim Editor

Vim EditorVi:visual Interface, Text editorText: Ascii,unicodeType of text editing:Line Editor: SEDFull Screen Editor: Nano,viVim-vi improvedUsing VimVim: A patterned editorBasic mode:Edit mode, Command mode:Input mode:Last-line mode:Built-in command-

Linux--vim Editor Two

16. Use Vim to edit multiple filesUsage:Vim FILE1 FILE2 FILE3Switch between files:Last-line mode:: Next switches to the next file: prev Switch to previous file: Last switch to final file: first to switch to file oneExit: QA All exits17, split screen

Modify Vim's color scheme in UOW

Bash on Ubuntu in WIN10 is available in Windows, which provides an Ubuntu subsystem in win and can be used with bash. The system's own vim color scheme ColorScheme as the default, not very good, the following describes how to modify for their own

Common commands under VIM (2)

VIM commands are divided into two kinds, one is vim own, the other is ex, the ex command needs to enter a colon, the last return to execute, compared to the VIM command, the scope of the ex command more extensive, but also more powerful, the

Vim's text object

The text object of Vim is made up of two characters, and the first character is always i or a . In general, text objects that start with the text i selected inside the delimiter, and the a text object that begins with the selection, selects the

Linux input and output and vim command summary

I. Management input and OUTPUTin a Linux system, the correct output number is 1, the error output number is 2performed in the system with a normal user "Student"find/etc/-name passwd > fileBecause student does not have the right to view more

Linux-vi/vim

Vi/vimVi/vim commands for editing textCommand: VI test.txt, when test.txt does not exist, automatically create this file, execute VI test.txtThe red arrow marks the file name, indicating that it is now in command mode, and when VI is a file, most of

Resolve Centos-bash:vim:command not found

I. So how to install vim?Enter the Rpm-qa|grep vim command, and if Vim is properly installed, it will return the following three lines of code:[email protected] [~]# rpm -qa|grep vimvim-enhanced-7.0.109-7.el5vim-minimal-7.0.109-7.el5vim-common-7.0.10

Vim. VIMRC

Set TabStop=4set Numberset cul set CUC hi cursorcolumn ctermfg=3 ctermbg=2function insertpythoncomment () exe'Normal'.1.'G' Let Line= Getline ('.') ifLine =~'^#!. *$'|| Line =~'^#.*coding:.*$' returnendif normal O call Setline ('.','#!/usr/

DAY3, Linux shortcut keys, and vim command shortcuts

Linux command line shortcut keysShortcut key: Tab auto-complete path directory name, auto-complete commandShortcut keys: Ctrl +l (lowercase) Clear screen, Ctrl +c Cancel current operationShortcut key: Ctrl +d (lowercase) to exit the current

Vim Usage Tips

1 pageCtrl+f, turn down to the new page.Ctrl+b, turn up to the old page.2 Vim configuration fileWhat are the configuration files for 2.1 vim?Personal User Scope profile: $HOME/.VIMRCSystem-wide configuration file:/USR/SHARE/VIM/VIMRCYou can also

Vim Tips 5 Common operations

Vim: Set Number: Set NonumberN Move Command key8l move eight characters to the right3j Move Down three rows3g: Move to the beginning of the third line10$: Move down to 10 rows and navigate to the end of the line: N1,N2S/WORD1/WORD2/GCReplace the

Settings for Vim Fulerformat

To set options in Vim, it is easy to understand the annotations:1 Set Laststatus=1 "2 always displays the last window's status line , 1 more than one window displays the last window's status line, 0 does not display the last

Vim Usage and configuration

When Vim starts, the user directory is loaded by default. VIMRC configuration file, if it does not exist, the system configuration file is loaded/ETC/VIM/VIMRC~/.VIMRC file Configuration#避免中文乱码Set fileencodings=utf-8, ucs-bom,gb18030,gbk,gb2312,cp936

Expansion of the VIM status bar

Add the following to the ~/.VIMRC file: Set statusline= Set statusline+=%7*\[%n] "Buffernr Set statusline+=%1*\% Set statusline+=%2*\%y\ "file type Set statusline+=%3*\%{". ( &fenc!='? &fenc:&enc).      "} "Code 1 Set statusline+=%3*\

linux[Basic]-13-vim operation (supplemental) [01]

#正常模式---------------------------------------DD DeleteDigital +DD multi-line deletionYY copyDigital +YY multi-line replicationP Paste/String search for the string (from top down)String search for the string (from bottom to top)N Show Next SearchN

Vim Common techniques

In the process of learning vim, the following are recorded for common use tips:1,: w!sudo tee% when you use ordinary users do not have write permission is very useful.2,: Earlier 5s restore files to 5s before, you can m,h and so on3, you learned

Python's Ubuntu development environment vim and Ipython

The legend of Ubuntu is to develop the necessary, but also want to try hackers;ubuntu16.04 comes with python2.7 and 3.5 two versions and Vim editorOne, on-line check a lot of information is the Pydiction plug-in installation use, to achieve tab

Vim configuration python highlighting and indenting

The configuration file for Vim is/ETC/VIMRC, or the configuration file is created in the ~/directory:Touch. VIMRCHighlight settings in general, Vim for the recognition of the program is automatically set highlighting, if not can be added in the.

Windows10 Installing VIM +spf13

Install the Curl commandDownload: https://curl.haxx.se/download.htm l Win64 x86_64 CAB 7.55.1 Binary Ssl Stefan Kanthak Add CURL.exe to the Git directory and add to the environment variable,

Total Pages: 210 1 .... 171 172 173 174 175 .... 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.