Brennen Bearnes
d8b72e642a
.sh_common: use l alias for default ls
(Which now means exa, if it's available.)
5 years ago
Brennen Bearnes
52ad911af1
pangram analysis fragment from earthtopus
5 years ago
Brennen Bearnes
eeb5e5f9c6
git log-notes: fetch refs/notes/review and log with them included
...for Gerrit remotes, of which there are a lot in my life these days.
5 years ago
Brennen Bearnes
15f1d96c6e
Merge branch 'master' of code.p1k3.com:brennen/bpb-kit
5 years ago
Brennen Bearnes
f63cec4e4f
alacritty configuration
5 years ago
Brennen Bearnes
96e54eb6a7
bin/fragment-weather
5 years ago
Brennen Bearnes
30968c7387
zsh: stop resetting prompt, set window title
Resetting the prompt was causing weirdness with fzf (and maybe some other
things). The window title just seems nice to have.
5 years ago
Brennen Bearnes
bedf19bced
xmonad.start: some shellcheck cleanup
...silence a warning, quote ssh-agent results.
5 years ago
Brennen Bearnes
f23a31abf2
vim: swapfile notes, inkpot colorscheme
5 years ago
Brennen Bearnes
7e08387456
vimwiki: automatic nested syntax
5 years ago
Brennen Bearnes
292c6b11e7
fragments/stdclass.php: stdClass isn't a universal base
5 years ago
Brennen Bearnes
9d6201172c
.sh_common & todaydir: P1K3_ROOT, go & cargo roots, exa for ls
- Adds a P1K3_ROOT environment variable, and a default of
~/workspace/p1k3 (this is new)
- allows exa for ls aliases
- Tweaks h() history length a bit
5 years ago
Brennen Bearnes
541381b111
xmonad: alacritty instead of gnome-terminal for default
5 years ago
Brennen Bearnes
b5d7ec2664
gvim: colorscheme hornet
5 years ago
Brennen Bearnes
43f7aa0e84
/etc/hosts
5 years ago
Brennen Bearnes
a65c836a65
xmonad: add mod-n for note window popup
This didn't used to work. I assume that either some upstream bug has been
fixed or something else in my environment has changed.
5 years ago
Brennen Bearnes
4e14cd0728
add ~/bin/c-to-f: celsius to fahrenheit
Complements the existing f-to-c.
5 years ago
Brennen Bearnes
fa8555aa0f
vim: highlight debugging, voom, vimwiki syntax
Updates version of VOom, which I haven't really used but may at some point.
Fixes some weirdness with embedded syntaxes in vimwiki by commenting out
the config for specific embedded syntaxes - this should be redundant anyway
since it's auto-detected.
5 years ago
Brennen Bearnes
e0446a7f08
add ~/bin/arc link to arcanist
5 years ago
Brennen Bearnes
d6e0480ab0
vim: silence go version warning, add auto_diary_index
5 years ago
Brennen Bearnes
3e4eecd669
add ~/bin/xterm-lynx
5 years ago
Brennen Bearnes
69ac058419
add stuff from /etc/lynx
Mostly overwrites some timings.
5 years ago
Brennen Bearnes
f4f9f53893
fragments/git-amend-date: demonstrate epoch brokenness
As best I remember, this proceeded from some IRC conversation.
5 years ago
Brennen Bearnes
9fa0de7d4b
bin/jump-to-window: use rofi instead of dmenu_unique
5 years ago
Brennen Bearnes
cbc5198392
zsh: $PWD instead of subshell with pwd for dir history
Tyler pointed this out during some pairing session.
5 years ago
Brennen Bearnes
ffbc877b2d
xmonad: Print Screen to take a screenshot using ~/bin/grab
5 years ago
Brennen Bearnes
eb6f877120
xmonad: use ~/bin/phoonlock instead of i3
5 years ago
Brennen Bearnes
d1d23083b5
bin/gif-sel: use ~/workspace/screenshots
5 years ago
Brennen Bearnes
8b36fe0c4a
bin/fragment-bullet: remove some problematic multibyte chars
These were playing heck with some terminal environments.
5 years ago
Brennen Bearnes
b5d8a8a62e
vim: commented inkpot colorscheme in list
Was using this for a bit, didn't quite work in the terminal, but is nice
in gvim.
5 years ago
Brennen Bearnes
4ebe36c8af
vim: some commentary
5 years ago
Brennen Bearnes
816847a5ee
vim: ,F for fragment menu
I did this a while ago and completely forgot about it
5 years ago
Brennen Bearnes
4a825d0a8c
vim: new-style vundle invocation with begin()/end()
5 years ago
Brennen Bearnes
c4e8459b19
gvim: use inkpot
5 years ago
Brennen Bearnes
670023a894
tmux: vi-style copy/paste
5 years ago
Brennen Bearnes
a2325fdf47
.zshrc: some prompt variations
Current one leads with timestamp, has an scp-like username@host:path
section, varies prompt character using bin/fragment-bullet.
5 years ago
Brennen Bearnes
8bc7548d83
fragments/colors.sh: some color codes in zsh
5 years ago
Brennen Bearnes
3831d0516d
bin/timeslice: fewer errors if not in worktree
5 years ago
Brennen Bearnes
538f0148ba
bin/phoonlock: phase of the moon as lock screen
Uses pngphoon and i3lock.
5 years ago
Brennen Bearnes
173214df4d
bin/dedup-dir-history
Zap duplicate entries in ~/.directory_history (leaving most recent in
place).
5 years ago
Brennen Bearnes
e6c9b1e695
.sh_common: use /opt/go for golang
5 years ago
Brennen Bearnes
b1a3046880
zsh: some prompt tweaks borrowed from lobsters
Trying a 2-line thing again. I doubt I'll stick with it, but you never
know.
Also clears out some cruft, makes colortest() a little cleaner.
https://lobste.rs/s/x5ioqm/what_does_your_shell_prompt_look_like
5 years ago
Brennen Bearnes
d4f652459a
bin/web-cwd: expose httpd to public interface
5 years ago
Brennen Bearnes
54b68a9776
vim: revert nerdtree mouse mode: doubleclick for everything
5 years ago
Brennen Bearnes
9f6fd7249a
vim: F8 now gets a simpler datestamp, ,F8 for more precision
5 years ago
Brennen Bearnes
4b877fc6b3
vim: nomodeline, langserver stuff, editorconfig, undotree
Various plugins.
5 years ago
Brennen Bearnes
83ed5c0d9a
.vimrc & bin/: add fzf-based fragment menu
Adds a menu for grabbing input from bin/fragment-*. Adds a couple of
new fragments, and moves today → fragment-today.
This needs work:
- it's remarkably slow
- it has an external dependency in FZF
- I'm not sure about the keybindings
- it removes a couple of bindings I'm really used to
- it's not documented with "CUSTOMIZE" markers
- this only works in gvim with a recent build of vim 8.1
It might be better if the fuzzy-finder were vim-native, if it
distinguished between full-on document templates and small fragments, etc.
I'm also starting to think it'd be good to compartmentalize some of this
config.
5 years ago
Brennen Bearnes
70f8b90572
bin/xmonad.start: switch to bash, add .sh_common sourcing for paths
This takes care of everything in the session being able to see the correct
$PATH material - I'd been fiddling with .profile, which is arguably where
this ought to live, but I don't think my prepend_to_path() is valid for
/bin/sh? I'll probably tidy this up later, but at any rate it solves a
bunch of problems.
Also enables the deletion of bin/firefox-wrapper.
5 years ago
Brennen Bearnes
30492611cd
bin/{edit-clipboard-gvim -> gvim-edit-clipboard}
Switch this up for sorting purposes.
5 years ago
Brennen Bearnes
8eef89f31d
fragment for reading stdin in a shell function
5 years ago