Update 2024-09-11 21:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-09-11 21:51:49 +02:00
parent 42b964201b
commit 2a6371b515
3 changed files with 31 additions and 24 deletions

View File

@@ -109,14 +109,14 @@ let g:is_posix = 1 " $( ) is fine
highlight CursorLine ctermbg=238
highlight ColorColumn ctermbg=none ctermfg=9
highlight CursorLineNr ctermbg=none ctermfg=208 cterm=none
highlight LineNr ctermbg=233
highlight SpecialKey ctermbg=234 ctermfg=245
highlight Normal ctermbg=234
highlight NonText ctermbg=234 ctermfg=234
highlight ErrorMsg cterm=none
highlight VisualNOS ctermbg=233 ctermfg=238
highlight Visual ctermbg=233 ctermfg=208
highlight Search ctermbg=yellow ctermfg=0
highlight LineNr ctermbg=0
highlight SpecialKey ctermbg=232 ctermfg=245
highlight Normal ctermbg=232
highlight NonText ctermbg=232 ctermfg=234
highlight ErrorMsg ctermbg=0 ctermfg=160 cterm=none
highlight VisualNOS ctermbg=0 ctermfg=238
highlight Visual ctermbg=232 ctermfg=208
highlight Search ctermbg=220 ctermfg=0
highlight VertSplit ctermbg=none
" HIGHLIGHT SPECIAL WORDS
@@ -182,7 +182,7 @@ let g:netrw_liststyle = 0 " tree view
let g:netrw_ctags = "ectags" " ctags executable to use
" TAGS FILE
set tags=./tags;,.git/tags,./.git/tags " Search tagfile backward recursive
set tags=.git/tags; " Search tagfile backward recursive
nnoremap gt <c-]> " Jump to tag (go tag)
nnoremap gb <c-o> " Jump to last position (go back)
nnoremap gh :FSHere<CR> " Jump to header file (go header)
@@ -190,15 +190,22 @@ nnoremap gh :FSHere<CR> " Jump to header file (go header)
" CSCOPE
if has("cscope")
set csprg=cscope
set cscopetag
set csto=0
set splitright
set cst
set cspc=3
if filereadable("cscope.out")
cs add cscope.out
elseif filereadable(".git/cscope.out")
cs add .git/cscope.out
elseif filereadable($CSCOPEDB)
cs add $CSCOPEDB
elseif filereadable("../.git/cscope.out")
cs add ../.git/cscope.out
elseif filereadable("../../.git/cscope.out")
cs add ../../.git/cscope.out
elseif filereadable("../../../.git/cscope.out")
cs add ../../../.git/cscope.out
elseif filereadable("../../../../.git/cscope.out")
cs add ../../../../.git/cscope.out
endif
" 'ts' symbol: find all references to the token under cursor
" 'tg' global: find global definition(s) of the token under cursor