-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
76 lines (61 loc) · 1.89 KB
/
.vimrc
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
set nocompatible " be iMproved, required
set encoding=utf-8
filetype plugin indent on " required
syntax on
" Init Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" VimWiki
" Set VimWiki to Markdown
let g:vimwiki_ext2syntax = {'.md': 'markdown'}
let g:vimwiki_list = [{'path': '~/ecjcp-fnraf/',
\ 'auto_diary_index': 1,
\ 'auto_generate_links': 1,
\ 'syntax': 'markdown',
\ 'ext': '.md'}]
" Auto generate vim-wiki indices
autocmd FileType vimwiki if expand('%:t') == 'index.md' | execute 'VimwikiGenerateLinks' | endif
" Vundle Plugins
Plugin 'VundleVim/Vundle.vim'
Plugin 'vimwiki/vimwiki'
Plugin 'tyru/open-browser.vim'
Plugin 'aklt/plantuml-syntax'
Plugin 'weirongxu/plantuml-previewer.vim'
Plugin 'jclsn/glow.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'Valloric/YouCompleteMe'
Plugin 'junegunn/fzf'
Plugin 'vim-ruby/vim-ruby'
Plugin 'sainnhe/everforest'
Plugin 'chazmcgarvey/vim-mermaid'
Plugin 'mcchrish/nnn.vim'
Plugin 'lervag/vimtex'
Plugin 'ionide/Ionide-vim'
Plugin 'tikhomirov/vim-glsl'
Plugin 'dylon/vim-antlr'
Plugin 'mbbill/undotree'
" Vundle End
call vundle#end()
filetype plugin indent on
filetype plugin indent on
"
set tabstop=4
set shiftwidth=4
set expandtab
set timeout timeoutlen=3000 ttimeoutlen=100
let g:ycm_confirm_extra_conf = 0
let g:ycm_autoclose_preview_window_after_insertion = 1
let g:ycm_autoclose_preview_window_after_completion = 1
set number
set background=dark
let g:everforest_background = 'hard'
let g:everforest_better_performance = 1
let g:everforest_transparent_background = 1
colorscheme everforest
" Allow odt editing in vim
autocmd BufReadPost *.odt :%!odt2txt %
" Glsl syntax highlighting for vert and frag files
autocmd! BufNewFile,BufRead *.vert,*.frag set ft=glsl
" Syntax highlighting for antlr
au BufRead,BufNewFile *.g4 set filetype=antlr4