text 的.vimrc

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 的.vimrc相关的知识,希望对你有一定的参考价值。

" VIM Configuration - Vincent Jousse
" Cancel the compatibility with Vi. Essential if you want
" to enjoy the features of Vim
set nocompatible

" -- Display
set title                 " Update the title of your window or your terminal
set number                " Display line numbers
set ruler                 " Display cursor position
set wrap                  " Wrap lines when they are too long

set scrolloff=3           " Display at least 3 lines around you cursor
                          " (for scrolling)

set guioptions=T          " Enable the toolbar

" -- Search
set ignorecase            " Ignore case when searching
set smartcase             " If there is an uppercase in your search term
                          " search case sensitive again
set incsearch             " Highlight search results when typing
set hlsearch              " Highlight search results

" -- Beep
set visualbell            " Prevent Vim from beeping
set noerrorbells          " Prevent Vim from beeping

" Backspace behaves as expected
set backspace=indent,eol,start

" Hide buffer (file) instead of abandoning when switching
" to another buffer
set hidden

" Enable syntax highlighting
syntax enable

" Enable file specific behavior like syntax highlighting and indentation
filetype on
filetype plugin on
filetype indent on

" Use the dark version of Solarized
set background=dark
"colorscheme solarized

" Change the font
set guifont=DejaVu\ Sans\ Mono\ 10
set antialias

以上是关于text 的.vimrc的主要内容,如果未能解决你的问题,请参考以下文章

text 的.vimrc

text 的.vimrc

text 的.vimrc

text 的vimrc

text 的.vimrc

text 的vimrc