zsh: relative numbers for urxvt screenshot

This commit is contained in:
He4eT 2023-11-10 13:36:05 +01:00
commit e51cef27d6

View file

@ -61,7 +61,12 @@ alias summonable='docker exec -it ollama ollama list'
## Copy from terminal
# See .XResources
alias last-terminal-screenshot='vim -c "norm G" /tmp/urxvt-screen-content.txt'
alias last-terminal-screenshot='\
vim \
-c "norm G" \
-c "set relativenumber" \
/tmp/urxvt-screen-content.txt
'
alias yank='\
xdotool keydown shift keydown Print ;\
xdotool keyup Print keyup shift ;\