dotfiles
dotfiles
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
- quickly jump to recent directory: https://github.com/rupa/z - however I find it kinda annoying it seems to forget/ignore(?) directories, anyone know of a better version of this?
- quickly opening my personal wiki: https://github.com/francium/dotfiles/blob/master/bin/.local/...
- re-run a script when a file changes: https://github.com/francium/dotfiles/blob/master/bin/.local/...
For `while-watchdo` you, you run it like `while-watchdo "echo hi"`, then in my editor, I have a custom shortcut that does `touch .watchfile` causing the command, in this case `echo hi` to run. I prefer this to tools that retrigger commands as soon as you save _any_ file. Also works in docker containers, edit a file on host, command runs in a container.
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.
What are some alternatives?
fuz - Fuzzy search text / notes in the terminal, for any collection of text files
dotfiles - Custom dotfile configurations and settings
atuin - ✨ Magical shell history
dotfiles - My Dotfiles
stderred - stderr in red
zeal-cli - A CLI for managing offline documentation for Zeal.
spellbook - 🪄 Shell and Powershell scripts registry
tmuxcator - A script to manage tmux.
pyxargs - Command line Python scripting with an xargs-like interface and AWK-like capabilities for data processing and task automation
vim-mergetool - Better vim-based mergetool
swift-sh - Easily script with third-party Swift dependencies.
navi - An interactive cheatsheet tool for the command-line