aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2026-08-02 10:34:48 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2026-08-02 10:34:48 +0200
commit2f14a896e4b897bd747c24d7ad8e9e7bb3237d03 (patch)
tree396d5f265dc96402069b05d69f4e93b57fc84361
parent8c453842ff211e1d918eecdf828320fa258bc593 (diff)
update from work
-rw-r--r--.config/gdb/gdbinit1
-rw-r--r--.config/i3/config##template2
-rw-r--r--.config/nvim/init.vim6
-rw-r--r--.config/winapps/winapps.conf2
-rwxr-xr-x.local/share/bin/=3
-rw-r--r--.profile4
-rw-r--r--.zshrc2
7 files changed, 18 insertions, 2 deletions
diff --git a/.config/gdb/gdbinit b/.config/gdb/gdbinit
index ba777a8..a2d1f36 100644
--- a/.config/gdb/gdbinit
+++ b/.config/gdb/gdbinit
@@ -15,6 +15,7 @@ set history size 10000000
set history remove-duplicates 100
set style emoji off
set pagination off
+set output-radix 16
# aliases
alias reset = monitor reset
diff --git a/.config/i3/config##template b/.config/i3/config##template
index fec43f9..23ba89f 100644
--- a/.config/i3/config##template
+++ b/.config/i3/config##template
@@ -86,3 +86,5 @@ for_window [title="JidePopup"] floating enable
for_window [class="Unturned.x86_64"] floating disable
for_window [class="Unturned.x86_64"] fullscreen disable
+for_window [class="Microsoft Windows"] floating enable
+
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 6214f9e..6d3768c 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -102,6 +102,7 @@ Plug 'habamax/vim-asciidoctor'
Plug 'lonkaars/coc-khard'
Plug 'sile-typesetter/vim-sile'
Plug 'ahf/cocci-syntax'
+Plug 's3rvac/vim-syntax-jira'
" themes
Plug 'arzg/vim-colors-xcode'
@@ -121,6 +122,9 @@ nnoremap <silent> * yiw:let @/='\<<C-R>=expand("<cword>")<CR>\>'<CR>:set hls<CR>
nnoremap <silent> <A-j> :m +1<CR>
nnoremap <silent> <A-k> :m -2<CR>
+nnoremap <silent> gd :call CocAction('jumpDefinition')<cr>
+nnoremap <silent> <leader>d :call CocAction('jumpDefinition', 'vsplit')<cr>
+
imap <C-h> <Left>
imap <C-j> <Down>
imap <C-k> <Up>
@@ -213,6 +217,8 @@ let g:which_key_map.e = 'read and execute after !'
nnoremap <leader>] <c-w>v<c-]>zt
let g:which_key_map[']'] = 'open tag in split'
+nnoremap <silent> <leader>[ :call jobstart(['sdk10-dox-open', expand("<cword>")], {'detach': v:true})<enter>
+
" cmd maps
cnoreabbrev W w
cnoreabbrev sudow w !sudo tee %
diff --git a/.config/winapps/winapps.conf b/.config/winapps/winapps.conf
index 2ef2dae..5977f06 100644
--- a/.config/winapps/winapps.conf
+++ b/.config/winapps/winapps.conf
@@ -4,7 +4,7 @@ VM_NAME="rdpwin"
WAFLAVOR="libvirt"
RDP_SCALE="100"
REMOVABLE_MEDIA="/mnt"
-RDP_FLAGS="/cert:tofu /sound /microphone +home-drive -decorations +span /kbd:remap:0x3a=0x1d"
+RDP_FLAGS="/cert:ignore /sound /microphone +home-drive -decorations +span /kbd:remap:0x3a=0x1d"
DEBUG="true"
AUTOPAUSE="off"
AUTOPAUSE_TIME="300"
diff --git a/.local/share/bin/= b/.local/share/bin/=
index 8f3345d..5e69f91 100755
--- a/.local/share/bin/=
+++ b/.local/share/bin/=
@@ -26,6 +26,9 @@ MIN = min
MAX = max
BIT = lambda n: 1 << n
GENMASK = lambda h, l: (BIT(MAX(h, l) + 1) - 1) ^ (BIT(MIN(h, l)) - 1)
+KB = lambda x: x << 10
+MB = lambda x: x << 20
+GB = lambda x: x << 30
try:
ans = eval(" ".join(_argv[1:]))
diff --git a/.profile b/.profile
index 9492394..caf94f9 100644
--- a/.profile
+++ b/.profile
@@ -122,6 +122,10 @@ export GPG_ID_PASSWORD_STORE="A12ADDD26335FA960FE3C78A9FC7A0100BC4C971"
! [ -d "$XDG_DATA_HOME/gdb" ] && mkdir -p "$XDG_DATA_HOME/gdb"
export GDBHISTFILE="$XDG_DATA_HOME/gdb/history"
+# GDB
+! [ -d "$XDG_DATA_HOME/gdb" ] && mkdir -p "$XDG_DATA_HOME/gdb"
+export GDBHISTFILE="$XDG_DATA_HOME/gdb/history"
+
# secrets
[ -f "$HOME/.env" ] && . "$HOME/.env"
diff --git a/.zshrc b/.zshrc
index f90402e..6220015 100644
--- a/.zshrc
+++ b/.zshrc
@@ -44,7 +44,7 @@ function cd() {
builtin cd "$@"
if [ -n "$VIRTUAL_ENV" ] ; then
- if [[ "$PWD"/ != "$(dirname "$VIRTUAL_ENV")"/* ]] ; then
+ if [[ "$PWD"/ != "$(dirname "$VIRTUAL_ENV")"/* ]] && [ ! -z "$(command -v deactivate)" ] ; then
deactivate
else
return