Last active
August 18, 2020 17:08
-
-
Save Mark1626/bd8c2e4b15912e8c9c8c9c3665769bad to your computer and use it in GitHub Desktop.
This file contains 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
set nocompatible " be iMproved, required | |
filetype off " required | |
" Vim 8 package | |
packadd! dracula | |
syntax enable | |
color dracula | |
" Vundle | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" Vundle packages | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'SirVer/ultisnips' | |
Plugin 'honza/vim-snippets' | |
Plugin 'lervag/vimtex' | |
Plugin 'junegunn/fzf' | |
Plugin 'mhinz/vim-startify' | |
call vundle#end() | |
filetype plugin indent on | |
set autoindent | |
set ambiwidth=double | |
set backspace=indent,eol,start | |
set encoding=utf-8 | |
set expandtab | |
set hlsearch | |
set linebreak | |
set number | |
set relativenumber | |
set shiftwidth=2 | |
set scrolloff=12 | |
set showcmd | |
set splitbelow | |
set tabstop=2 | |
set title | |
set termencoding=utf-8 | |
scriptencoding utf-8 | |
" Buffer mapping | |
map gn :bn<cr> | |
map gp :bp<cr> | |
map gd :bd<cr> | |
" ultisnip | |
let g:UltiSnipsExpandTrigger="<tab>" | |
let g:UltiSnipsJumpForwardTrigger="<c-b>" | |
let g:UltiSnipsJumpBackwardTrigger="<c-z>" | |
" If you want :UltiSnipsEdit to split your window. | |
let g:UltiSnipsEditSplit="vertical" | |
" Vimtex | |
let g:tex_flavor='latex' | |
let g:vimtex_view_method='skim' | |
let g:vimtex_quickfix_mode=1 | |
set conceallevel=1 | |
let g:tex_conceal='abdmg' | |
let g:vimtex_compiler_method="tectonic" | |
" status line | |
" set statusline+=%#warningmsg# | |
" set statusline+=%{SyntasticStatuslineFlag()} | |
" set statusline+=%* | |
" let g:syntastic_always_populate_loc_list = 1 | |
" let g:syntastic_auto_loc_list = 1 | |
" let g:syntastic_check_on_open = 1 | |
" let g:syntastic_check_on_wq = 0 | |
" let g:go_fmt_command = "goimports" | |
" let g:syntastic_go_checkers = ['golint', 'govet', 'errcheck'] | |
" let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] } | |
" let g:go_list_type = "quickfix" | |
" let g:go_highlight_methods = 1 | |
" let g:go_highlight_functions = 1 | |
" let g:go_highlight_structs = 1 | |
" let g:go_highlight_operators = 1 | |
" let g:go_highlight_build_constraints = 1 | |
set rtp+=/usr/local/bin/fzf | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment