Created
September 10, 2019 01:48
-
-
Save kolserdav/9814317abd5ee9f672d1c4cb684537cf to your computer and use it in GitHub Desktop.
Vimrc example file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vundle.vim section | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} | |
Plugin 'vim-scripts/vim-auto-save' | |
call vundle#end() | |
filetype plugin indent on | |
" My section | |
let g:auto_save = 1 | |
color calmar | |
set encoding=utf-8 | |
set nowrap | |
set scrolloff=3 | |
au BufNewFile,BufRead,BufReadPost *.ts set syntax=javascript | |
au BufNewFile,BufRead,BufReadPost *.ts setlocal ts=2 sts=2 sw=2 | |
autocmd FileType javascript setlocal ts=2 sts=2 sw=2 | |
autocmd FileType html setlocal ts=2 sts=2 sw=2 | |
autocmd FileType css setlocal ts=2 sts=2 sw=2 | |
map <F8> <C-E>:sleep 250m<CR>j<F8> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment