Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set surround
- inoremap jj <ESC>
- cnoremap jj <ESC>
- vnoremap jj <ESC>
- nnoremap <C-e> 5<C-e>
- nnoremap <C-y> 5<C-y>
- "======================================================================================================
- syntax on
- set lines=30 columns=130
- set encoding=utf-8
- set fileencodings=utf-8,sjis,cp932,euc-jp,iso-2022-jp,gb2312,gbk
- set fileformats=unix,dos,mac
- set termencoding=utf-8
- set guioptions-=m
- set guioptions-=T
- set guioptions-=r
- set guioptions-=R
- set guioptions-=l
- set guioptions-=L
- set guioptions-=b
- "set imdisable
- set foldenable " code folding
- set foldmethod=indent " options: manual, indent, expr, syntax, diff, marker
- set foldlevel=99
- set smartindent " Do smart autoindenting when starting a new line
- set autoindent " always set autoindenting on
- filetype indent plugin on
- set backspace=indent,eol,start whichwrap+=<,>,[,]
- set nocompatible
- set nobackup
- set noswapfile
- set history=1024
- set scrolloff=3
- set autochdir
- set hlsearch
- set ignorecase " ingnore case when do searching
- set incsearch " instant search
- set smartcase " ignore case if search pattern is all lowercase, case-sensitive otherwise
- set tabstop=4 " Number of spaces that a <Tab> in the file counts for.
- set shiftwidth=4 " number of spaces to use for autoindenting
- set softtabstop=4 " Number of spaces that a <Tab> counts for while performing editing operations
- set smarttab
- set expandtab " when typing <Tab>, use <space> instead
- set shiftround " use multiple of shiftwidth when indenting with '<' and '>'
- set number
- set relativenumber
- set autoread " auto reload file after being modified
- set cursorcolumn " highlight current column
- set cursorline " highlight current line
- set title " change the terminal's title
- set nostartofline " keep cursor postion when switching between buffers
- set nowrap " disable wrap
- set showcmd " show the current typing command
- set ffs=unix,dos,mac " Use Unix as the standard file type
- set formatoptions+=m
- set formatoptions+=B " When joining lines, don't insert a space between two multi-byte characters.
- set completeopt=longest,menu " behaviour of insert mode completion
- set wildmenu " auto complete command
- set ai " set auto-indenting on for programming
- set showmatch " automatically show matching brackets. works like it does in bbedit.
- set vb " turn on the "visual bell" - which is much quieter than the "audio blink"
- set ruler " show the cursor position all the time
- set laststatus=2 " make the last line where the status is two lines deep so you can see status always
- "set background=dark " Use colours that work well on a dark background (Console is usually black)
- set showmode " show the current mode
- set wildignore=**.o,*~,.swp,*.bak,*.pyc,*.class " Ignore compiled files
- set viminfo^=% " Remember info about open buffers on close
- set magic " For regular expressions turn magic on
- set backspace=eol,start,indent " Configure backspace so it acts as it should act
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement