Updates for newer program versions

This commit is contained in:
Autumn Naber
2026-08-12 12:28:33 -07:00
parent 86beb728e8
commit 27bb8ff4ee
10 changed files with 75 additions and 47 deletions
+9 -3
View File
@@ -20,8 +20,8 @@ nnoremap <silent> <Space> :nohlsearch<Bar>:echo<CR>
syntax on
filetype plugin indent on
set background=dark
colorscheme solarized
"set switchbuf+=uselast " Use last window when making selection from quickfix window
colorscheme nord
set switchbuf+=uselast " Use last window when making selection from quickfix window
set redrawtime=5000 " Increase maximum redraw time to use syntax highlighting for large files
:set colorcolumn=80 " Add a vertical line at column 80
@@ -32,6 +32,9 @@ nnoremap tn :tabnew<CR>
map <C-\> :tab split<CR>:exec("tag ".expand("<cword>"))<CR>
map <A-]> :vsp <CR>:exec("tag ".expand("<cword>"))<CR>
hi ColorColumn guibg=#3b4252 ctermbg=black
let &colorcolumn="80,120,160"
" Load all plugins now.
" Plugins need to be added to runtimepath before helptags can be generated.
" packloadall
@@ -72,6 +75,7 @@ let g:rainbow_ctermfgs = ['lightblue', 'lightgreen', 'yellow', 'red', 'magenta']
"""" Gitgutter
" CTRL-g to toggle GitGutter display
nnoremap <C-g> :GitGutterToggle<CR>
highlight SignColumn guibg=#002b36 ctermbg=8
" Default to off
:au VimEnter * :GitGutterDisable
@@ -84,10 +88,12 @@ nnoremap gdl :diffget //3<CR>
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
autocmd FileType yml setlocal ts=2 sts=2 sw=2 expandtab
autocmd FileType puml setlocal ts=4 sts=4 sw=4 expandtab
"""" IndentLine
let g:indentLine_char = '┆'
let g:indentLine_color_term = 237
autocmd Filetype json let g:indentLine_setConceal = 0
let g:indentLine_conceallevel = 0
"""" syntax highlighting editor settigs
autocmd BufRead,BufNewFile *.cppcheck set filetype=xml
autocmd BufRead,BufNewFile Jenkinsfile* set filetype=groovy