From 2a6371b515c79529ea089167fd05c1ef7cb8782d Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Wed, 11 Sep 2024 21:51:49 +0200 Subject: [PATCH] Update 2024-09-11 21:51 OpenBSD/amd64-x13 --- .bin/_config | 2 +- .config/spectrwm/spectrwm.conf | 22 +++++++++++----------- .vim/vimrc | 31 +++++++++++++++++++------------ 3 files changed, 31 insertions(+), 24 deletions(-) diff --git a/.bin/_config b/.bin/_config index ac7df4a..c602fc4 100644 --- a/.bin/_config +++ b/.bin/_config @@ -28,7 +28,7 @@ COLOR_SB="#AF5F00" STERM="st -f TerminessNerdFont:pixelsize=18" BTERM="st -f TerminessNerdFont:pixelsize=24" HTERM="st -f spleen:pixelsize=32" -HTERM="st -f JetBrainsMonoNerdFont:pixelsize=20" +HTERM="st -f JetBrainsMonoNerdFont:pixelsize=32" # # DMENU diff --git a/.config/spectrwm/spectrwm.conf b/.config/spectrwm/spectrwm.conf index 9ea25f1..ea9643b 100644 --- a/.config/spectrwm/spectrwm.conf +++ b/.config/spectrwm/spectrwm.conf @@ -11,8 +11,8 @@ # +-------------------------------------------------- border_width = 1 -tile_gap = 0 -region_padding = 0 +tile_gap = 4 +region_padding = 4 color_focus = rgb:AF/5F/00 color_focus_maximized = rgb:AF/5F/00 @@ -20,30 +20,30 @@ color_focus_maximized_free = rgb:AF/5F/00 color_focus_free = rgb:AF/5F/00 color_unfocus = rgb:44/44/44 color_unfocus_free = rgb:55/35/00 -disable_border = 0 +disable_border = 1 maximize_hide_bar = 0 # +-------------------------------------------------- # | BAR SETTINGS # +-------------------------------------------------- -bar_enabled = 0 +bar_enabled = 1 bar_border_width = 2 -bar_border = rgb:18/18/18 -bar_border_unfocus = rgb:18/18/18 -bar_border_free = rgb:18/18/18 +bar_border = rgb:00/00/00 +bar_border_unfocus = rgb:00/00/00 +bar_border_free = rgb:00/00/00 -bar_color = rgb:18/18/18,rgb:90/40/00,rgb:12/12/12,rgb:58/00/00,rgb:45/20/00 -bar_color_free = rgb:18/18/18,rgb:90/40/00,rgb:12/12/12,rgb:58/00/00,rgb:45/20/00 +bar_color = rgb:00/00/00,rgb:90/40/00,rgb:00/00/00,rgb:58/00/00,rgb:45/20/00 +bar_color_free = rgb:00/00/00,rgb:90/40/00,rgb:00/00/00,rgb:58/00/00,rgb:45/20/00 bar_color_selected = rgb:18/24/28 bar_font_color = rgb:99/99/99 bar_font_color_free = rgb:99/99/99 bar_font_color_selected = rgb:ff/ff/ff -bar_font = Terminess Nerd Font:pixelsize=18:style=bold +bar_font = Terminess Nerd Font:pixelsize=12:style=bold -bar_font_pua = JetBrainsMonoNerdFont:pixelsize=13 +bar_font_pua = JetBrainsMonoNerdFont:pixelsize=9 bar_action = cbar bar_action_expand = 0 bar_at_bottom = 0 diff --git a/.vim/vimrc b/.vim/vimrc index 1c2c8c2..cc54d86 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -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 " Jump to tag (go tag) nnoremap gb " Jump to last position (go back) nnoremap gh :FSHere " Jump to header file (go header) @@ -190,15 +190,22 @@ nnoremap gh :FSHere " 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