VIM configuration

Detect installed vim

rpm
-qa | grep vi< span style="color: #000000; font-size: 16px;"> Install vim yum -y install vim-enhanced
Replace with vim
vi
vi ~/.bashrc #Need to restart or use source to refresh
//Add content
alias vi=vim
Set line number and indent
vi /etc/vimrc
set number
set tabstop
=4 //The number of spaces used by the tab key
Set the cursor and line highlighting
set gcr
=nvc:ver25-Cursor/lCursor,ve:ver35-Cursor,o:hor50-Cursor,i-ci:ver25-Cursor/lCursor
//Line highlighting
set cursorline
highlight CursorLine cterm
=NONE ctermbg=black ctermfg=green guibg=NONE guifg=NONE
//bracket matching
highlight MatchParen cterm=NONE ctermbg=black ctermfg=red guibg=NONE guifg=NONE

Detect installed vim

rpm
-qa | grep vi< span style="color: #000000; font-size: 16px;"> Install vim yum -y install vim-enhanced
Replace with vim
vi
vi ~/.bashrc #Need to restart or use source to refresh
//Add content
alias vi=vim
Set line number and indent
vi /etc/vimrc
set number
set tabstop
=4 //The number of spaces used by the tab key
Set the cursor and line highlighting
set gcr
=nvc:ver25-Cursor/lCursor,ve:ver35-Cursor,o:hor50-Cursor,i-ci:ver25-Cursor/lCursor
//Line highlighting
set cursorline
highlight CursorLine cterm
=NONE ctermbg=black ctermfg=green guibg=NONE guifg=NONE
//bracket matching
highlight MatchParen cterm=NONE ctermbg=black ctermfg=red guibg=NONE guifg=NONE

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5549 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.