In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Mainly refer to the fusion of the online relatively hot VIM configuration documents, coupled with my usage habits. Thank them for their dedication!
Basically, there are comments on every line of configuration. I believe you will understand it if you look at it carefully.
"do not use vi keyboard mode, but vim's own set nocompatible" syntax highlight set syntax=on "remove input error sound set noeb" when dealing with unsaved or read-only files Pop up to confirm that the width of the set confirm "auto indent set autoindentset cindent" Tab key set tabstop=4 is uniformly indented to 4set softtabstop=4set shiftwidth=4 "do not use spaces instead of tabs set noexpandtab" at the beginning of lines and paragraphs using the tab set smarttab "Show line numbers set number" History number set history=1000 "prohibit the generation of temporary files set nobackupset noswapfile" search ignore case set ignorecase "search verbatim highlight set hlsearchset incsearch" replace set gdefault in the line "Encoding Settings set enc=utf-8set fencs=utf-8 Ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936 "language setting set langmenu=zh_CN.UTF-8set helplang=cn" content (including file type and decoding) displayed on my status line set statusline=%F%m%r%h%w\ [FORMAT=% {& ff}]\ [TYPE=%Y]\ [POS=%l % v] [% p%%]\% {strftime (\ "% d/%m/%y\ -\% HGV% M\")} "set statusline= [% F]% y% r% m% set laststatus=2% = [Line:%l/%L,Column:%c] [% p%%]" always show status line set laststatus=2 "during editing The height of the set ruler command line (under the status line) that displays the cursor location in the lower right corner, defaults to 1. Here is 2set cmdheight=2 "detect file type filetype on" load file type plug-in filetype plugin on "load related indentation file filetype indent on for specific file types" save global variable set viminfocategories! Do not break words with the following symbols set iskeyword+=_,$,@,%,#,- "number of Pixel Lines inserted between characters set linespace=0" Command Line automatic completion in enhanced Mode Operation set wildmenu "make the key (backspace) handle set backspace=indent,eol,start such as indent,eol,start properly" the status bar shows the currently executed instruction set showcmd "allow backspace and cursor keys to cross line boundaries set whichwrap+=,h L "you can use the mouse anywhere in the buffer (similar to double-clicking the mouse in the workspace in office) set mouse=aset selection=exclusiveset selectmode=mouse,key" by using the: commands command Tell us which line of the file has been changed set report=0 "does not show the prompt to assist Somali children on startup set shortmess=atl" displays a blank space between the divided windows Easy to read set fillchars=vert:\, stl:\ Stlnc:\ "highlight matching parentheses set showmatch" matches the time the parentheses highlight (in 1/10 seconds) set matchtime=5 "keep 3 lines apart when the cursor moves to the top and bottom of the buffer" set scrolloff=3 "provides automatic indentation for C programs set smartindent" Hidden Toolbar set guioptions-=T "Hidden menu Bar set guioptions-=m" Open folding "set foldenable" Settings Syntax folding "set foldmethod=syntax" sets the folding area The width of the field "set foldcolumn = 0" sets the number of collapse layers "set foldlevel=1" setting automatically turns off folding "set foldclose=all" automatically switches the current directory to the directory set autochdirset tags=tags of the current file Let Tlist_Show_One_File=1let Tlist_Exit_OnlyWindow=1 "set font set guifont=Inconsolata\ 12" set color scheme colorscheme desertlet g:winManagerWindowLayout='FileExplorer | TagList'nmap wm: WMToggleset cscopequickfix=s-,c-,d-,i-,t-,e-cs add cscope.outlet g:miniBufExplMapCTabSwitchBufs = 1let g:miniBufExplMapWindowNavVim = 1 "display line numbers only when the following file types are detected Plain text files do not display if has ("autocmd") autocmd FileType xml,html,c,cs,java,perl,shell,bash,cpp,python,vim,php,ruby set number autocmd FileType xml,html vmap 'autocmd FileType java,c,cpp,cs vmap oPCll / autocmd FileType html,text,php,vim,c,java,xml,bash,shell,perl,python setlocal textwidth=100 autocmd Filetype html,xml Xsl source $VIMRUNTIME/plugin/closetag.vim autocmd BufReadPost *\ if line ("'\") > 0 & & line ("'\")
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.