Use the Xhell to connect the server using the optimized Vim editor cannot appear option
Set nocompatible
Set history=100
FileType on
FileType plugin on
FileType indent on
Set Autoread
Set Mouse=a
Syntax enable
Set Cursorline
Hi cursorline guibg= #00ff00
Hi cursorcolumn guibg= #00ff00
Set foldenable
Set Foldmethod=manual
Set foldcolumn=0
Setlocal foldlevel=3
Set Foldclose=all
Nnoremap <space> @= ((Line ('. ')) < 0)? ' Zc ': ' zo ') <CR>
Set Expandtab
Set tabstop=4
Set shiftwidth=4
Set softtabstop=4
Set Smarttab
Set AI
Set Si
Set Wrap
Set sw=4
Set Wildmenu
Set ruler
Set Cmdheight=1
Set LZ
Set Backspace=eol,start,indent
Set Whichwrap+=<,>,h,l
Set Magic
Set Noerrorbells
Set Novisualbell
Set Showmatch
Set mat=4
Set Hlsearch
Set ignorecase
Set Encoding=utf-8
Set Fileencodings=utf-8
Set Termencoding=utf-8
Set Smartindent
Set CIN
Set Showmatch
Set guioptions-=t
Set Guioptions-=m
Set VB t_vb=
Set laststatus=4
Set pastetoggle=<f9>
Set Background=dark
Highlight Search ctermbg=black ctermfg=white guifg=white guibg=black
Autocmd Bufnewfile. PY,. CC,. SH,. Java Exec ": Call Settitle ()"
Func Settitle ()
If expand ("%:e") = = = ' sh '
Call Setline (1, "#!/bin/bash")
Call Setline (2, "##############################################################")
Call Setline (3, "# Script Name:". Expand ("%"))
Call Setline (4, "# Vim version: V1.1")
Call Setline (5, "# Belongs to: Casual")
Call Setline (6, "# Feedback: Contact address")
Call Setline (7, "# Script generation Date: La La demacia". Strftime ("%F%T"))
Call Setline (8, "# Vim Description: Belongs to Oldboy---oldboy learner modified")
Call Setline (9, "##############################################################")
endif
Endfunc
Cause---The set mouse=a in the configuration file means all modules are enabled
Equivalent to covering "interpreted by the inaccurate great God bypassed" the Xshell right-click represents the function
So just change the set mouse=a, or
In the Set module
Add if has (' mouse ') set mouse-=a endif
Can...
Vim Editor Optimization problem