Bo Jeanes
0474776220
Update tmux.conf for newer version
...
It's been a while since I used it!
https://stackoverflow.com/a/33336609/56690
2020-10-24 18:41:23 +11:00
Bo Jeanes
57747b7be5
Fix tmux conf error
2020-10-24 18:41:18 +11:00
Bo Jeanes
385ff29089
Start or join tmux session when SSHing into server
2020-10-24 18:36:06 +11:00
Bo Jeanes
b6ed73162c
Only generate .tool-versions when ASDF is installed
2020-10-24 17:54:25 +11:00
Bo Jeanes
d7cbf8caf6
Fix coc.nvim according to random GH issue comment
2020-10-24 17:50:46 +11:00
Bo Jeanes
f0f5230997
Follow file renames in `git log <file>`
2020-10-24 17:50:20 +11:00
Bo Jeanes
14e108acf1
Add to gitignore
2020-10-24 17:50:00 +11:00
Bo Jeanes
dd5ef2098d
Add TODO
2020-10-24 17:49:52 +11:00
Bo Jeanes
d968f08ef2
Generate .tool-versions with latest installed
2020-10-24 17:49:35 +11:00
Bo Jeanes
dd7316cc7f
Add neovim conditional
2020-10-24 17:48:38 +11:00
Bo Jeanes
ffe9e6eace
Prepend /usr and /opt to ensure they come before /bin
2020-10-24 17:47:00 +11:00
Bo Jeanes
22ad16a8cb
Add ~/.local/bin to PATH
2020-10-24 17:11:43 +11:00
Bo Jeanes
d95a496d9d
[vim] Don't choose first auto-complete on ENTER
...
This is really annoying at the end of a line when you might actually
mean _next line_. I'd rather hit TAB then ENTER to explicitly tab
through the auto-complete list.
2020-08-25 08:14:38 +10:00
Bo Jeanes
12b8e40957
[vim] Convenient terminal behaviour
...
Alt+T to toggle a 12-row high split at bottom
2020-08-24 14:32:36 +10:00
Bo Jeanes
0d6565f2e7
[vim] Add vim-test and mappings
2020-08-24 14:32:31 +10:00
Bo Jeanes
79c8718ae7
[vim] Select tab completion with Enter
2020-08-24 14:32:28 +10:00
Bo Jeanes
9fb6b41701
[vim] Add snippets
2020-08-24 14:32:25 +10:00
Bo Jeanes
7fc97bfd54
[git] Change default branch to `main`
2020-08-24 14:32:25 +10:00
Bo Jeanes
3cf35a7bd6
pbpaste/pbcopy aliases for Linux
2020-08-24 14:32:22 +10:00
Bo Jeanes
b3b9ee4dcc
Hard-code .dotfiles path
...
Before I switched to Fresh, I assembled my dotfiles with my own script
that ensured this was set, but it is no longer set. I don't need the
dot files directory to be customisable, so I'll just hard-code the path
2020-08-24 14:32:22 +10:00
Bo Jeanes
0367b771db
Add global Rubocop config
...
It is based on the one I developed while CTO at Covidence, but with a
few additions since then.
2020-08-24 14:32:22 +10:00
Bo Jeanes
aea690dbc4
[vim] Make default text width wider
...
I _do_ prefer code in narrower style than long lines, but I have been
persuaded that 80 characters is too narrow on today's high-DPI,
wide-screen monitors. 120 is pushing it in terms of readability
nonetheless (lots of research to show that humans have difficulty
reading long lines, mostly because progressing to the next line can mean
we lose our place).
2020-08-24 14:32:22 +10:00
Bo Jeanes
121dfecded
[vim] Re-use buffers
2020-08-24 14:32:22 +10:00
Bo Jeanes
a93500bf6f
[vim] Add a few plugins
...
- CtrlSF for project-wide find and replace
- vim-visual-increment allows numbering a visually-selected column
incrementally
- vim-visual-multi gives multiple cursors at once allowing for easy
refactors of certain kinds
2020-08-24 14:32:22 +10:00
Bo Jeanes
60426276ba
[vim] Fix warning
2020-08-24 14:32:22 +10:00
Bo Jeanes
22477d38a6
[vim] Use CoC.nvim for Ruby and Rust; disable ALE
2020-08-24 14:32:22 +10:00
Bo Jeanes
85afb5c2df
[vim] Hide indent lines in FZF panel
2020-08-23 11:20:43 +10:00
Bo Jeanes
280d908f17
Erlang/elixir tweaks
...
These were on my old laptop uncommitted so I don't remember why some of
these changes were made, but I trust they were probably done for a good
reason :)
2020-06-13 14:32:29 +10:00
Bo Jeanes
8eee4d0ca5
Enable auto-formatting in Vim with rustfmt
2020-06-13 14:32:12 +10:00
Bo Jeanes
cce76f853f
Ignore .tool-versions files from Git, by default
2020-06-13 14:31:33 +10:00
Bo Jeanes
55d7637afb
Fix WSL check
...
Prior to this fix, as implemented it caused a false positive.
2020-06-13 14:30:36 +10:00
Bo Jeanes
70c04afb18
Disable node_version component and just use asdf
...
Only bypassing ASDF for Rust, because `rustup` can read a toolchain file
in a rust project and bypass whatever ASDF has set anyway.
2020-05-26 13:49:54 +10:00
Bo Jeanes
8bf8753e22
Update global .gitignore
2020-05-26 13:38:39 +10:00
Bo Jeanes
1db2564388
Switch git pager from diffr[1] to delta[2]
...
[1]: https://github.com/mookid/diffr
[2]: https://github.com/dandavison/delta
2020-05-26 13:37:48 +10:00
Bo Jeanes
98e503a17e
Abbreviate WSL home dir to ~win
...
Thanks @romkatv![1]
[1]: https://github.com/romkatv/powerlevel10k/issues/764#issuecomment-633499665
2020-05-26 13:36:21 +10:00
Bo Jeanes
4f1e7c0797
Update tool versions
2020-05-26 13:36:12 +10:00
Bo Jeanes
7c0e2d78ae
Remove files unused since the switch to Fresh
2020-05-26 13:35:50 +10:00
Bo Jeanes
f2bc9fe158
Switch ZSH prompt to P10K
2020-05-26 13:35:21 +10:00
Bo Jeanes
f1a146d9b4
Switch {zsh,fast}-syntax-highlighting
2020-05-26 13:33:59 +10:00
Bo Jeanes
6ecd8cf273
Only check for `WSL` in osrelease
...
https://github.com/microsoft/WSL/issues/423#issuecomment-611086412
2020-05-04 14:39:47 +10:00
Bo Jeanes
12c29a2106
Only start cron if not already running
2020-05-04 14:39:19 +10:00
Bo Jeanes
e52ad462c2
Start root's cron under WSL
...
WSL2 has some uncontrolled memory growth, so a cronjob to clear caches
is a prudent way to help until it is resolved.
https://github.com/microsoft/WSL/issues/4166#issuecomment-604707989
2020-05-04 14:34:21 +10:00
Bo Jeanes
c605d74642
Ignore .vscode directory by default
2020-05-04 14:29:38 +10:00
Bo Jeanes
82e25eb09a
Update default tool versions
2020-05-04 14:29:28 +10:00
Bo Jeanes
bf32c1357d
Configure git credential helper under WSL
...
TODO make this a `git config` command so it is naturally idempodent.
2020-05-04 14:28:15 +10:00
Bo Jeanes
1fdbb88e66
Re-arrange configuration of local gitconfig
2020-05-04 14:27:37 +10:00
Bo Jeanes
11a193fafa
Load local config
2020-05-04 14:26:54 +10:00
Bo Jeanes
c77820e856
Hook into Windows' SSH Agent under WSL
...
This will securely store SSH key in the host system, tied to your user
account, will be locked when Windows is locked, and will avoid having to
type SSH passphrase in every new window you open.
2020-04-03 20:32:58 +11:00
Bo Jeanes
0444b73bd5
Remove shell aliases I no longer use
...
(esp `ss`, which conflicts with an actual command)
2020-04-03 20:31:46 +11:00
Bo Jeanes
6d54f020c7
Configure `asdf` versions
2020-04-03 16:07:22 +11:00