Skip to content

Instantly share code, notes, and snippets.

@wenlilearn
Last active September 18, 2018 00:36
Show Gist options
  • Select an option

  • Save wenlilearn/854b2b2aff649f765a2b81cc619a20a0 to your computer and use it in GitHub Desktop.

Select an option

Save wenlilearn/854b2b2aff649f765a2b81cc619a20a0 to your computer and use it in GitHub Desktop.
vim setting
" Remember to install apt-vim
" Then install nerdtree and airline
" Text and indentation
set number
set autoindent
set smarttab
set expandtab
set shiftwidth=2
set tabstop=2
set hlsearch
set ignorecase
set smartcase
set backspace=indent,eol,start
set nostartofline
set ruler
set visualbell
set t_vb=
set mouse=a
set cmdheight=2
" color theme
colo ron
syntax enable
filetype indent plugin on
execute pathogen#infect()
call pathogen#helptags()
" Keybindings
map <C-\> :NERDTreeToggle<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment