2026-02-14 commit

This commit is contained in:
2026-02-14 10:47:44 -05:00
parent bcf3e9cebe
commit 391d369276
7 changed files with 36 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
syntax spell toplevel
set spell spelllang=en_us
let g:tex_verbspell= 1
highlight SpellBad ctermfg=Red cterm=bold

31
vimrc
View File

@@ -30,10 +30,15 @@ Plug 'prabirshrestha/asyncomplete-lsp.vim'
" ==== muttgoobook
Plug 'https://git.eldon.me/trey/asyncomplete-muttgoobook.vim'
"clipboard stuff with Wayland
Plug 'jasonccox/vim-wayland-clipboard'
" ==== Git
"Plug 'airblade/vim-gitgutter'
"Plug 'tpope/vim-fugitive'
" eww yuck
Plug 'elkowar/yuck.vim'
" ==== syntax helpers
"Plug 'scrooloose/syntastic'
"Plug 'tpope/vim-surround'
@@ -163,6 +168,9 @@ set mouse=c
"set shortmess+=A
" ==== custom commands
if has('reltime')
set incsearch
endif
command JsonPretty execute ":%!jq ."
set secure
set hlsearch
@@ -194,7 +202,23 @@ nmap <silent> <C-l> :noh<CR>
" Fix Home/End/Delete
set backspace=indent,eol,start
set clipboard=unnamedplus
" clipboard stuff
set clipboard=unnamed,unnamedplus
"xnoremap y y:call system("wl-copy", @")
"nnoremap y y:call system("wl-copy", @")<CR>
"vmap <silent> y y:call system("wl-copy", @@)<CR>
"autocmd TextYankPost * if (v:event.operator == 'y' || v:event.operator == 'd') | silent! execute 'call system("wl-copy", @")' | endif
"nnoremap p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p
"augroup wl-clipboard
" autocmd!
" autocmd FocusLost * :call system('wl-copy --trim-newline', @+)
" autocmd FocusGained * :let @+ = system('wl-paste -n')
"augroup END
"set clipboard=unnamedplus
" Change cursor from block to vertical pipe when in insert mode
@@ -207,3 +231,8 @@ endif
" search history stuff
autocmd BufReadPost * silent! normal! g`"zv
"autocmd BufRead,BufNewFile ~/Private/academic/certs/lf/LFS211/2017-12-16_study_materials/*.txt source ~/.muttvimrc
" Pindrop timetracker logs
autocmd BufReadPost /home/trey/private/timetracker/*.log set filetype=timetracker
autocmd FileType markdown setlocal spell
autocmd FileType timetracker setlocal spell