dotfiles
.dotfiles
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
Ask HN: Share a shell script you like
diffconflicts [dc] lets you resolve diffs as a two way diff between what's in the conflict markers instead of including the resolved parts in the diff. It opens the diff in vim but could be adapted for other editors. Verbose explanation: https://github.com/whiteinge/diffconflicts/blob/master/READM...
The author converted it to a vim plugin with the same name, but I use a different vim plugin implementation [mergetool].
[dc]: https://github.com/whiteinge/dotfiles/blob/master/bin/diffco...
-
Is there any clil tool for downloading documentations?
Example: https://github.com/whiteinge/dotfiles/blob/master/bin/devdocs-local
- whiteinge/dotfiles: dotfiles for vim, git, zsh, cwm, xinit, and many others. Install with: lndir -silent /path/to/dotfiles $HOME
- gotz: CLI tool for cross timezone teams
- Units CLI Question
-
To people who have tons of shell scripts and aliases, how do you organize/categorize them?
Took me several years of forgetting script names before I finally just made a README of filenames and descriptions that I can search when I forget. I didn't want some complicated organization framework.
-
Is there any shortcoming on having a seamless navigation between vim and tmux?
I ran a (mostly) vim-tmux-navigator setup for almost a year but ultimately removed it. It was indeed a seamless way to quickly jump between Vim and tmux panes but I felt it enabled learning some sloppy habits on my part.
-
Autoident drives me nuts. Even when I supposedly turned it off it still does 4 spaces in some places and 2 in others. How do I completely turn this thing off?
I added filetype indent off so that indent plugins for the various languages would not automatically execute, and then I set smartindent so that regardless of what kind of file I'm editing it (very!) simply just re-uses the same indent from the previous line. For everything else I just manually ctrl-t/ctrl-d as I type.
.dotfiles
-
Help with RGB border
Something similar that I’ve kept around is a kind of fade in. So I’ll have inactive windows in grey and my focused one in white. When I change window, I also have a script that sets the focused border to medium gray, then brightens it up to white over the course of a tenth of a second. https://github.com/sagotsky/.dotfiles/blob/master/home/scripts/dk-border-flash (this is for dk, but the concept applies anywhere you can change border color in a script).
-
Media Player indicators
How polished are you looking for? I used this one several years ago and it wasn’t too much effort. https://github.com/sagotsky/.dotfiles/blob/master/home/scripts/music-remote.sh. Haven’t kept up with it since it was mostly for ssh from my phone and the Spotify client serves the same purpose.
-
To people who have tons of shell scripts and aliases, how do you organize/categorize them?
In case anyone cares, the dots: https://github.com/sagotsky/.dotfiles/tree/master/home
- Show the name of what's being used in a workspace
What are some alternatives?
dotfiles - Custom dotfile configurations and settings
dotfiles - My Dotfiles
zeal-cli - A CLI for managing offline documentation for Zeal.
dotfiles
tmuxcator - A script to manage tmux.
vim-mergetool - Better vim-based mergetool
navi - An interactive cheatsheet tool for the command-line
autobots - ⚡️ Scripts & dotfiles for automation and/or bootstrapping new system setup
spellbook - 🪄 Shell and Powershell scripts registry
dotfiles - 💻 my personal dotfiles: no more, no less
dotbot
fuz - Fuzzy search text / notes in the terminal, for any collection of text files