Finally updated tmux scroll-mode yanking to use more vim-style bindings:
Use `v` to select text normally, `V` to select line-wise and `C-v` to
enable rectangle select. `y` yanks to the clipboard (and the internal
tmux register as previously).
Lastly, removed some left-over deprecated code concerning neovim cursor
shape behavior. Was already commented out but now removed completely.
HACK - the yanking to clipboard only works on wayland currently since it
uses `wl-copy` directly instead of the `clip` script. The `clip` script
is not invoked correctly with data being piped since it apparently does
not recognize that it is in a piped call?
Changed to display overall accumulation of tasks again.
Would overall probably be best to display a combination of accomplished
and still to be done tasks.
Made mail more prominent since it's my primary use-case of the social
session, so it deserves primary spotlight in the tmux tabs.
Added a mastodon view to the news tab to complement the rss feed.
Replaced old, never used, graphical taskwarrior task accomplishment
overview with a more free-form calendar/journal page.
It displays an overview of my upcoming appointments using calcurse on
the one hand, and my personal snippet journal with the help of jrnl on
the other.
The last thing is a tiny empty pane allowing me just enough room to
interact with jrnl, e.g. quickly writing new entries.
Set burndown chart to only display last 3 months of tasks. I have found
this (for now) to be the best balance between getting a general sense of
overview and still having a meaningful output.
The problem with just basic `burndown` command is that, after using
taskwarrior for a while, your completed tasks *will* pile up (I think I
am at around 1000 now) and the burndown chart, showing relative balance
of completed, pending, working on, will become meaningless. It will only
ever display a large portion of green --- completed --- tasks and not
give a lot of insight.
Setting it to only 1 month back, or even just a week, can work but for
me does not present enough of a tracking overview. I want to see,
relatively, how well I am doing over the last couple of weeks instead of
just today against the days before.
This setting might still change as my needs change.
Moved previous default (paper) compilation target for pandoc to its own
file (paper.latex) and saved the current default as a backup file.
This should fix some issues with compilation to PDF, especially with
vertical spacing and quotes which would fail intermittently otherwise.
In tmux 3.2, the way status-style and status-bg interact has been
changed, simply removed my default bg coloring to fix it.
This should be fine since 99% of the time my tmux statuline coloring
is taken care of by the vim plugin anyway.
Added session for taskwarrior todo dashboard. Includes a relatively free
space containing a tasksh session on window 1, an overall dashboard on
window 2, and recent history visualization on window 3.
Additionally, fixed sport session to open the correct files.
Hopefully fix dotfiles entr session watching a little,
should now not quit git status overview when switching between branches,
since it runs entr in an endless loop.
Feels like little bit of a hack, but is the advised way by the creator
on his webpage.
Since I always have entr installed, I can use it to monitor for file
changes and reload the respective git overview panes.
This has the advantage that I can use any interactive displays (e.g.
less) in the respective panes, while still reloading when files actually
change.
I still have to find a way to replicate the switch between git log
and staged changes view whenever files become staged, have not been able
to fix this with entr and it still makes use of the watch command.
Removed display of time and date from tmux, since I have the polybar
time up always.
Shuffled around the rest of the display: removed left-sided display of
active (tmux) user, moved it to the right side.
Session names would be cut off by the preview window.
Now, the preview window is generally *close* to the session names but
not overlapping them, which looked weird.
If no fzf is installed, session chooser will now be the old manual
session name input. `tm session-name` will attach or create a session of
the same name, whether fzf is installed or not.
If invoked without argument, and fzf is installed will show a list of
sessions to choose from. If fzf is missing, will create new session
based on current directory.
`tl` has been changed to display the old non-interactive list if no fzf
exists. If fzf has been found however, it points to `tm` instead, since
invoking it without arguments fulfills the same function.
The git log display will now depend on current staged status.
If no files have been staged, the panel will display recent git logs
with branches and short titles, as before.
If files have been staged however, the panel will switch to display
staged changes however. This is to facilitate a better overview of
changes during the staging and committing process; since often one wants
to see the staged changes next to the commit that is being written.
Fixed opening correct directory for tmux notes session, vim working
window.
Update xinit comments to be more reflective of programs intention.
Remove wal autostart xresources setup, it has been replaced by styler
(and at some point goxbam).
Fixes tmux xdg-compliance (and, more importantly, Tmux Plugin Manager's)
by setting the environment variable TMUX_PLUGIN_MANAGER_PATH to follow
xdg specifications. Tmux, due to not being xdg-compliant, needs to be
aliased to start with the `-f` option pointing into the configuration
directory.
Fixes tmux vim nagigator's controls being overwritten by other control
schemes in tmux.
Added tmux session chooser. Aliased to `tm`, calling `tmux_attach_start`
(the original tm script).
When called without arguments displays a fzf list of currently running
tmux sessions, with a preview to their respective open panes. A session
can be chosen in fzf which tmux will attach itself to. When creating a
query in fzf which does not have a valid target and confirming, tmux
will automatically create that session and attach itself to it.
When called with an argument, tmux will attach itself or create a
session of the same name. If called with the name of a session file, as
before, tmux will automatically execute that session file and attach
itself to it.
Added global git config file, following XDG specifications (putting it
under `XDG_CONFIG_HOME/git/config`).
Adding a small improvement to default dot session for tmux, so that its
log watcher now shows all refs and remote refs.