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
Bo Jeanes
ef83444e56
Start porting Bash configs to Fresh management
2020-04-03 10:47:33 +11:00
Bo Jeanes
ef5dc4fc33
Add some more bins to dotfiles
2020-04-03 10:47:33 +11:00
Bo Jeanes
cb51dd7e75
Improve ZSH completions loading
2020-04-03 10:47:33 +11:00
Bo Jeanes
2c0385ee10
Make ZSH plugin loading a bit more consistent
2020-04-03 10:47:33 +11:00
Bo Jeanes
f454a79798
Add `arst` alias for `asdf` and fix error in zsh
...
We were loading the Bash completions in ZSH which caused an error. I
broke out Bash completion loading separately.
2020-04-03 10:47:33 +11:00
Bo Jeanes
4d613c1d22
More nuanced zsh history searching
...
up/down - search history using command as prefix
shift+up/down - search history using command as filter (non-prefix)
page up/page down - same as shift+up/shift+down
2020-04-03 10:40:26 +11:00
Bo Jeanes
1aa3612dd8
Fix arrow keys in ZSH insides WSL/Windows Terminal
2020-04-03 10:23:55 +11:00
Bo Jeanes
36c1936292
Preserve existing PATH
...
In WSL2, the PATH is pre-filled with Windows' PATH contents (which are
still executable within WSL Linux distros). For instance, `code .` to
open VS Code works by finding `code` in the Windows filesystem, which is
conveniently already specified in the PATH.
2020-04-02 14:44:29 +11:00
Bo Jeanes
c628d7e885
Fix issue with unbound variable
2020-04-02 14:17:05 +11:00
Bo Jeanes
2214a99044
Associate elixir lang with .ex{s,} for git diff
...
https://www.reddit.com/r/elixir/comments/eozrqd/using_functioncontext_with_elixir_and_git_225/
2020-01-16 09:28:03 +11:00
Bo Jeanes
88b3373622
[vim] Remove RootIgnore plugin, as it errors
2019-09-08 12:14:13 +10:00
Bo Jeanes
c16182e9fe
[vim] Misc
2019-09-08 12:11:57 +10:00
Bo Jeanes
ce7cb683d7
[vim] Set tags manually in prep for next fugitive
...
63a05a6935
2019-09-08 12:11:50 +10:00
Bo Jeanes
660f86d59a
[vim] Fix cursor highlighting w/ matching pairs
...
https://github.com/tomasr/molokai/issues/74#issuecomment-529159596
2019-09-08 12:11:31 +10:00
Bo Jeanes
9118189c76
[vim] More "targeted" text objects around pairs
2019-09-08 12:11:31 +10:00
Bo Jeanes
b342bb81fe
[vim] Change working directory to Git root
2019-09-08 12:11:31 +10:00
Bo Jeanes
90ad7e8d4d
[vim] Turn on Elixir auto-formatting but disable Ruby's
...
Rubocop is just too damn slow.
2019-09-08 12:11:18 +10:00
Bo Jeanes
c84ea76a6f
[vim] Hide indent lines on markdown (show for JSON)
2019-09-08 12:11:06 +10:00
Bo Jeanes
b050e38c50
[vim] Use release tags for plugs with release tags
2019-09-08 12:10:44 +10:00
Bo Jeanes
7c3a70f099
[vim] Nicer commit interface with Vim as editor
2019-09-08 12:10:33 +10:00
Bo Jeanes
d309ffdb92
[vim] Tighten NERDTree config
2019-09-08 12:10:33 +10:00
Bo Jeanes
e5a010824a
Separate section
2019-09-08 12:10:23 +10:00
Bo Jeanes
eddd4fad21
[vim] Nice Startify config
2019-09-08 12:10:19 +10:00
Bo Jeanes
2bc31497ba
[git] Use `diffr` to display diff
2019-09-08 12:10:12 +10:00
Bo Jeanes
e9573599a1
[fresh] Allow skipping vim plugin updates in fresh
2019-09-08 12:09:29 +10:00
Bo Jeanes
91604629fa
Fix indent
2019-09-08 12:08:19 +10:00