aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2022-10-26 12:05:56 -0600
committerBryson Steck <brysonsteck@protonmail.com>2022-10-26 12:05:56 -0600
commitc58abab9e5f14fdabb1ea8b314c370fb515b7b69 (patch)
tree373f7ecbeebb90ae9664138ffe0dfb1272584b9d /vim
parent8a7a01214c68b6a4c2f6531d0d1dea6415fe9c89 (diff)
downloaddotfiles-c58abab9e5f14fdabb1ea8b314c370fb515b7b69.tar
dotfiles-c58abab9e5f14fdabb1ea8b314c370fb515b7b69.tar.gz
dotfiles-c58abab9e5f14fdabb1ea8b314c370fb515b7b69.tar.bz2
havent updated these in a while
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc27
-rw-r--r--vim/coc-settings.json30
2 files changed, 53 insertions, 4 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 3130da0..ee8f046 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -1,6 +1,12 @@
+filetype plugin on
+syntax enable
+let g:vimtex_compiler_method = 'arara'
+let maplocalleader = "\\"
+
set nocompatible
let g:gruvbox_contrast_dark = 'soft'
let g:gruvbox_termcolors = '16'
+let g:python_recommended_style = 0
colorscheme gruvbox
set ttymouse=sgr
set number
@@ -15,17 +21,30 @@ set wildmenu
set scrolloff=5
set incsearch
set ttimeout ttimeoutlen=25
-set clipboard=unnamedplus
+"set clipboard=unnamedplus
+set showtabline=2
+set undodir=~/.vim/undo-dir
+set undofile
" turn on spell checker for all markdown files
autocmd FileType markdown setlocal spell
-
-execute pathogen#infect()
+hi clear SpellBad
+hi SpellBad cterm=underline
+hi clear SpellRare
+hi SpellRare cterm=underline
+hi clear SpellCap
+hi SpellCap cterm=underline
+hi clear SpellLocal
+hi SpellLocal cterm=underline
call plug#begin()
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'jaxbot/semantic-highlight.vim'
+Plug 'itchyny/lightline.vim'
+Plug 'jceb/vim-orgmode'
+Plug 'tpope/vim-speeddating'
+Plug 'lervag/vimtex'
call plug#end()
@@ -40,7 +59,7 @@ function! s:check_back_space() abort
return !col || getline('.')[col - 1] =~# '\s'
endfunction
-let s:semanticGUIColors = [ "#cc241d", "#98971a", "#d79921", "#458588", "#b16286", "#689d6a", "#928374", "#fb4934", "#b8bb26", "#fabd2f", "#83a598", "#d3869b", "#8ec07c", "#ebdbb2" ]
+"let s:semanticGUIColors = [ "#cc241d", "#98971a", "#d79921", "#458588", "#b16286", "#689d6a", "#928374", "#fb4934", "#b8bb26", "#fabd2f", "#83a598", "#d3869b", "#8ec07c", "#ebdbb2" ]
" stolen from https://shapeshed.com/vim-statuslines/
diff --git a/vim/coc-settings.json b/vim/coc-settings.json
new file mode 100644
index 0000000..0c93cc3
--- /dev/null
+++ b/vim/coc-settings.json
@@ -0,0 +1,30 @@
+{
+ "semanticTokens.filetypes": ["*"],
+ "suggest.completionItemKindLabels": {
+ "text": "t",
+ "method": "m",
+ "function": ""
+ },
+ "java.home": "/usr/java/jdk-17.0.1",
+ "java.configuration.runtimes": [
+ {
+ "name": "JavaSE-12",
+ "path": "/usr/java/jdk-12.0.2",
+ "default": true
+ },
+
+ {
+ "name": "JavaSE-16",
+ "path": "/usr/java/jdk-17.0.1"
+ }
+ ],
+ "java.referencesCodeLens.enabled": true,
+ "java.implementationsCodeLens.enabled": true,
+ "java.completion.enabled": true,
+ "perl": {
+ "enable": true,
+ "debugAdapterPort": "13604",
+ "logLevel": 1
+ },
+ "java.jdt.ls.vmargs": "-noverify -Xmx6G -XX:+UseG1GC -XX:+UseStringDeduplication"
+}