Created
January 11, 2019 02:14
-
-
Save nelvson/68164ce586259d936dfe45f797a36d70 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
"~/.vimrc | |
"latest update : 2019-01-10 | |
" | |
" | |
"colorscheme nord | |
"TODO: find out why nord isnt working | |
" | |
map <C-c> y:e ~/clipsongzboard<CR>P:w !pbcopy<CR><CR>:bdelete!<CR> | |
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif | |
autocmd Filetype html setlocal ts=2 sw=2 expandtab | |
autocmd Filetype ruby setlocal ts=2 sw=2 expandtab | |
let g:airline_theme='simple' | |
let g:NERDTreeWinSize=15 | |
let g:indentLine_color_term = 239 | |
let g:livepreview_previewer = 'zathura' | |
let g:vimtex_view_method = 'zathura' | |
let g:javascript_plugin_jsdoc = 1 | |
filetype off " required | |
filetype plugin indent on | |
filetype plugin on | |
syntax on | |
set laststatus=2 | |
set nu | |
set nocompatible " be iMproved, required | |
set backspace=2 | |
set tabstop=2 | |
set shiftwidth=2 | |
set softtabstop=2 | |
set expandtab | |
set noshowmode | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
" | |
Plugin 'arcticicestudio/nord-vim' | |
Plugin 'vim-airline/vim-airline' | |
Plugin 'vim-airline/vim-airline-themes' | |
Plugin 'itchyny/lightline.vim' | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'connorholyday/vim-snazzy' | |
Plugin 'junegunn/vim-easy-align' | |
Plugin 'prettier/vim-prettier', { 'do': 'yarn install' } | |
Plugin 'jelera/vim-javascript-syntax' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'Yggdroot/indentLine' | |
Plugin 'Chiel92/vim-autoformat' | |
Plugin 'vim-syntastic/syntastic' | |
"Plugin for latex | |
Plugin 'xuhdev/vim-latex-live-preview' | |
Plugin 'lervag/vimtex' | |
"end plugin for latex | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
"js thingy | |
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:syntastic_javascript_checkers = ['eslint'] | |
let g:syntastic_javascript_eslint_exe = 'npm run lint --' | |
if !has('gui_running') | |
set t_Co=256 | |
endif | |
call vundle#end() " required | |
filetype plugin indent on " required | |
execute pathogen#infect() | |
call pathogen#helptags() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment