In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "the common command arrangement of the linux vim configuration file". In the daily operation, I believe that many people have doubts about the common command arrangement of the linux vim configuration file. The editor has consulted all kinds of information and sorted out a simple and easy-to-use operation method. I hope it will be helpful to answer the doubts of "the common command arrangement of the linux vim configuration file". Next, please follow the editor to study!
If you want all users to take effect, please modify / etc/vimrc (it is recommended to cp a copy first)
"=
"DesCRiption: vimrc files suitable for your own use, for Linux/Windows, GUI/Console
"
"Last Change: 15:13 on 02 August 2010
"
"Version: 1.80
"
"=
Set nocompatible "turns off vi compatibility mode
Syntax on "automatic syntax highlighting
Colorscheme molokai "sets the color scheme
Set number "displays the line number
Set cursorline highlights the current line
Set ruler "Open the status bar ruler
The width of the set shiftwidth=4 "Settings > command when moving is 4."
Set softtabstop=4 "allows you to delete four spaces at a time when you press the Backspace key.
"set tabstop=4" sets the tab length to 4
Set nobackup does not back up when overwriting files
Set autochdir "automatically changes the current directory to the directory where the current file is located.
Filetype plugin indent on "Open plug-in
"set backupcopy=yes" sets the behavior of backup to overwrite
"set ignorecase smartcase" ignores case when searching, but remains case-sensitive when there are one or more uppercase letters
"set nowrapscan" forbids re-search when the search reaches both ends of the file
Set incsearch displays search results when you enter search content
Highlight the found text when searching for set hlsearch
Set noerrorbells "turn off error message ring
Set novisualbell "turn off use visual ring instead of call
Set tweevb = "Terminal code that sets the wrong ringtone
When "set showmatch" inserts parentheses, briefly jumps to the corresponding parentheses that match
The time when "set matchtime=2" briefly jumps to matching parentheses
Set magic "set Magic
"set hidden" allows you to switch buffers when there are unsaved changes, which are saved by vim
Set guioptions-=T hide Toolbar
Set guioptions-=m hides the menu bar
Set smartindent "use intelligent automatic indentation when opening a new line
Set backspace=indent,eol,start
"Backspace and Delete keys cannot be used to delete carriage returns without setting the insert state
"set cmdheight=1" sets the number of command lines to 1
Set laststatus=2 "displays the status bar (the default is 1, cannot display the status bar)
Set statusline=\%
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.