Compare commits

...

4 Commits

Author SHA1 Message Date
The Magician 67a54b9297 Add function to show syntax segments 2024-07-26 13:19:34 +01:00
The Magician d0c49138e5 Add skill values 2024-07-26 13:19:23 +01:00
The Magician f496e01a0d Set vimdiff as default mergetool 2024-07-26 13:18:53 +01:00
The Magician ac611e33e3 Set desktop background 2024-07-26 13:18:35 +01:00
4 changed files with 19 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Set desktop background
command -v feh &1>/dev/null && feh --bg-scale $HOME/pix/wallpaper.jpg &
command -v feh &1>/dev/null && feh --bg-max $HOME/pix/wallpaper.png &
# Swap CAPSLOCK and Escape
setxkbmap -option caps:swapescape gb &

View File

@ -3,3 +3,5 @@
[user]
name = The Magician
email = themagician@engineer.com
[merge]
tool = vimdiff

View File

@ -8,3 +8,9 @@ report.in.columns = id,description,urgency
report.in.labels = ID,Description,Urgency
report.in.filter = status:pending limit:page (+in) (-BLOCKED)
report.in.sort = urgency-
# 'skill' UDA
uda.skill.type=string
uda.skill.label=Skill
urgency.uda.skill.coefficient=1.2
uda.skill.values=hacking,programming,osint,digital_forensics,reverse_engineering,computer_science,networking,wireless,electronics,lockpicking,notech,data_science,music,drawing,mathematics,languages,anatomy,learning,cooking,finance,history,science,fitness,self_defence,freerunning,sex,travel,covert_ops,infiltration,zen,noskill

View File

@ -34,6 +34,16 @@ else
set shiftwidth=4
endif
function! <SID>SynStack()
if !exists("*synstack")
return
endif
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunc
" a little more informative version of the above
nmap <C-P> :call <SID>SynStack()<CR>
" Autocommands
autocmd BufEnter ~/.local/share/zk/* set filetype=markdown