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
Brennen Bearnes
a89e5ef2c4
bin/cheat: add dir nav keys, weather
5 years ago
Brennen Bearnes
ed4a97ac3e
install.sh: remove duplicate git setup
5 years ago
Brennen Bearnes
125860d86a
.zshrc: fiddle more with BPB_HUD; syntax section
5 years ago
Brennen Bearnes
c1546292e3
cheatsheets & git: commit template material
Also includes a basic README for the cheatsheets directory.
5 years ago
Brennen Bearnes
5124aa8353
fragments/empty.php: php empty()
Demonstrate a couple of gotchas with `empty()` in PHP.
5 years ago
Brennen Bearnes
3d2cf10936
.sh_common: titlebar() function, some reorg
5 years ago
Brennen Bearnes
dcf615fa86
bin/fragment-vimwiki-diary: date from filename
Uses date(1) to parse a given date and use it for the header (by way of
bin/today) instead of just defaulting to current date.
This way the template is accurate when opening other diary dates from
the calendar.
5 years ago
Brennen Bearnes
651dc64c4b
bin/dice: roll n dice
5 years ago
Brennen Bearnes
79eff221cd
change up sigil color
5 years ago
Brennen Bearnes
aa8ddfe539
.zshrc: fix commandlog invocation
It looks like I went to check whether commandlog was installed a while
back and neglected to actually specify "commandlog" instead of the "foobar"
from the example I was looking at, so commandlog hasn't been running for a
couple of months.
5 years ago
Brennen Bearnes
6a9e9a0fc1
remove extraneous .bpb-zsh/brennen.zsh-theme
5 years ago
Brennen Bearnes
55cc8313dd
.zshrc: use fragment-bullet for metaphor prompt
5 years ago
Brennen Bearnes
e8b5320124
.zshrc: stub out bpb_hud()
5 years ago
Brennen Bearnes
24fcc94f29
.sh_common: add b() for bookmarks in shell; deb stuff to separate file
`b foo` puts path to foo in ~/.directory_bookmarks. `b` by itself opens
an fzf for selecting a bookmark to jump to. intended as a companion to
h().
5 years ago
Brennen Bearnes
1204756042
vim: experiment with updating vimwiki ToC - not quite working yet
5 years ago
Brennen Bearnes
d775ef5a22
xmonad.start: auto-lock screen after 6 minutes of inactivity
Uses xautolock and i3lock.
5 years ago
Brennen Bearnes
b5b00fc0e0
ns-control: add i3lock and xautolock to depends
I'm not even currently using this file, really, but it's a partial list
of dependencies so will be helpful to have for better automating installs
later on.
5 years ago
Brennen Bearnes
43ec40107d
xmonad: move tabs to bottom
Uses tabbedBottom instead of tabbed in layout.
I'm not totally sold on this - it maybe doesn't _look_ as cool - but I
think it makes the tabs more noticeable.
5 years ago
Brennen Bearnes
c1609bdd9f
vim / vimwiki: auto-regenerate TOCs
Adds a new BPB_BufReadPostOverrides().
5 years ago
Brennen Bearnes
4f56641c6a
bin/st: prevent from hanging on stash output
5 years ago
Brennen Bearnes
344b73d626
xmonad: stop auto-floating nautilus windows
5 years ago
Brennen Bearnes
7cc71aacf6
vim: foldcolumn for vimwiki; ,f alias for FZF
5 years ago