forked from anishathalye/dotfiles_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
43 lines (36 loc) · 1.05 KB
/
vimrc
File metadata and controls
43 lines (36 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
set nocompatible
let mapleader = ","
filetype off
" vim +PluginInstall +qall
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'bling/vim-airline'
Plugin 'ervandew/supertab'
Plugin 'VundleVim/Vundle.vim'
Plugin 'leafgarland/typescript-vim'
Plugin 'mustache/vim-mustache-handlebars'
Plugin 'reedes/vim-wordy'
Plugin 'rust-lang/rust.vim'
Plugin 'tpope/vim-sensible'
Plugin 'tpope/vim-sleuth'
Plugin 'whatyouhide/vim-gotham'
Plugin 'justinj/vim-pico8-syntax'
Plugin 'l04m33/vlime', {'rtp': 'vim/'}
call vundle#end()
filetype plugin indent on
colorscheme gotham
set guifont=Menlo:h14
" Auto-source .vimrc on change.
autocmd! BufWritePost .vimrc source %
" Return to the last cursor position when opening a file.
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
if !exists("g:asciidoc_command")
let g:asciidoc_command = "asciidoctor"
endif
function! AsciidocCompileAndRunFile()
silent !clear
execute "!" . g:asciidoc_command . " " . bufname("%")
endfunction
set ts=2
set sw=2
set autochdir