Skip to content

Instantly share code, notes, and snippets.

@lfalvarez
Last active July 14, 2017 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfalvarez/492f1651120cebd90cd8 to your computer and use it in GitHub Desktop.
Save lfalvarez/492f1651120cebd90cd8 to your computer and use it in GitHub Desktop.
.vimrc
execute pathogen#infect()
syntax on
set background=dark
colorscheme solarized
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=2
" " when indenting with '>', use 4 spaces width
set shiftwidth=2
" " On pressing tab, insert 4 spaces
set expandtab
set number
" " tab switching
nnoremap <C-Left> :tabprevious<CR>
nnoremap <C-Right> :tabnext<CR>
"" pymode
let g:pymode_options_max_line_length = 120
autocmd FileType python set colorcolumn=120
let g:pymode_doc = 0
let g:pymode_rope_completion = 0
"" vim-javascript
let g:javascript_plugin_flow = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment