Skip to content

Instantly share code, notes, and snippets.

@sc1f
Created December 7, 2021 19:27
Show Gist options
  • Save sc1f/0a90c7a71667a6a354da7062efbe23f5 to your computer and use it in GitHub Desktop.
Save sc1f/0a90c7a71667a6a354da7062efbe23f5 to your computer and use it in GitHub Desktop.
default vimrc
syntax enable
filetype plugin on
filetype indent on
set backspace=eol,start,indent
set whichwrap+=<,>,h,l
set ignorecase
set smartcase
set hlsearch
set incsearch
set showmatch
set noerrorbells
set novisualbell
set t_vb=
set tm=500
set foldcolumn=1
set ruler
set cmdheight=1
set number
set linebreak
set textwidth=80
set autoindent
set shiftwidth=4
set smarttab
set softtabstop=2
set ffs=unix,dos,mac
set encoding=utf8
set ai
set si
" Always show the status line
set laststatus=2
" format status line
set statusline=%m\ %f\ \ %r%{getcwd()}%h\ %l:%c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment