various updates

This commit is contained in:
Barak Michener 2020-05-21 11:41:13 -07:00
parent f8bba57269
commit 6841031dea
9 changed files with 72 additions and 45 deletions

15
.vimrc
View file

@ -112,7 +112,8 @@ Plug 'ambv/black'
Plug 'kana/vim-textobj-user'
" Plugins I wish I used more
Plug 'hsitz/VimOrganizer'
"Plug 'hsitz/VimOrganizer'
Plug 'jceb/vim-orgmode'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-unimpaired'
Plug 'b4winckler/vim-angry'
@ -165,6 +166,7 @@ Plug 'Shougo/context_filetype.vim'
Plug 'idris-hackers/idris-vim', {'for': 'idris'}
Plug 'derekwyatt/vim-scala', {'for': 'scala'}
Plug 'hwayne/tla.vim'
Plug 'zchee/vim-goasm'
" Plugins that autocomplete
"Plug 'Shougo/deoplete.nvim'
@ -199,6 +201,7 @@ Plug 'lervag/vimtex'
" Unclear
Plug 'ncm2/float-preview.nvim'
Plug 'tomasiser/vim-code-dark'
call plug#end()
@ -234,7 +237,7 @@ autocmd InsertLeave * if pumvisible() == 0|pclose|endif
"source ~/.vim/supertab.vim
"source ~/.vim/charm.vim
"source ~/.vim/plugin/AppleT.vim
source ~/.vim/vim-lsp-conf.vim
"source ~/.vim/vim-lsp-conf.vim
runtime macros/matchit.vim
" Completion features (TODO: Add to filetype.vim)
@ -244,13 +247,13 @@ autocmd FileType python set tags+=$HOME/.vim/tags/python.ctags
"autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
" Set filetype for VimOrganizer
au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
au BufEnter *.org call org#SetOrgFileType()
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
"au BufEnter *.org call org#SetOrgFileType()
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
"au BufEnter *.org call org#SetOrgFileType()
command! OrgCapture :call org#CaptureBuffer()
command! OrgCaptureFile :call org#OpenCaptureFile()
"command! OrgCapture :call org#CaptureBuffer()
"command! OrgCaptureFile :call org#OpenCaptureFile()
" Cull trailing whitespace for all files.
autocmd BufWritePre * :call AutoTrimWhitespace()