Skip to content

Instantly share code, notes, and snippets.

@gabrieljoelc
Last active February 4, 2019 23:43
Show Gist options
  • Select an option

  • Save gabrieljoelc/77a7bd2a9092f6c87a691762d56a02f6 to your computer and use it in GitHub Desktop.

Select an option

Save gabrieljoelc/77a7bd2a9092f6c87a691762d56a02f6 to your computer and use it in GitHub Desktop.
WSL Debian vim config
" GistID: 77a7bd2a9092f6c87a691762d56a02f6
set number
syntax on
filetype plugin indent on
" show existing tab with 2 spaces width
set tabstop=2
" " when indenting with '>', use 2 spaces width
set shiftwidth=2
" " On pressing tab, insert 2 spaces
set expandtab
" " see https://www.johnhawthorn.com/2012/09/vi-escape-delays/
set timeoutlen=1000 ttimeoutlen=0
" for copying to OS buffer
set clipboard=unnamed
set runtimepath^=~/.vim/bundle/webapi-vim
set runtimepath^=~/.vim/bundle/gist-vim
set runtimepath^=~/.vim/bundle/ctrlp.vim
let g:gist_get_multiplefile = 1
" uses git's cache of files and includes unstaged files (see
" https://news.ycombinator.com/item?id=4470283)
let g:ctrlp_user_command = ['.git/', 'cd %s && git ls-files --exclude-standard -co']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment