serhii.net

In the middle of the desert you can say anything you want

26 Sep 2020

Day 635

Screenkey

screenkey1 (in the repos too) shows the keys you pressed on the screen. screenkey --show-settings shows a nice GUI before start with all the configs.

Looks like the second answer here: folding - Is there a best practice to fold a vimrc file - Vi and Vim Stack Exchange

Vim foldmodes

This answer has an awesome idea for folds, something very close to what I was looking for in my long notes file: folding - Is there a best practice to fold a vimrc file - Vi and Vim Stack Exchange

In general TODO vim folds - create a nice stable system instead of the ad hoc hell I have now.

Also How to enable and use code folding in Vim? - Unix & Linux Stack Exchange has a nice summary of fold keybindings:

vim keybindings

I forgot I used <leader> for most of the things I’m currently using F12 for!

Work-home keybindings

TODO I guess A shell script that changes monitor configurations, volume, changes some of the zsh aliases to show me the correct taskwarrior todos, etc.

Something like this:

#!/bin/zsh
if [ "$1" == "work" ]
then
    echo "Setting configs to work..."
    export SOMETHNIG="something" ...
    ...
else
    echo "Setting configs to home..."
    export SOMETHNIG="something" ...
    ...
fi
zsh

How do I get all open terminals to use the new env. variables though?

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus