Commit graph

787 commits

Author SHA1 Message Date
398c6f2d18 Move the rest of the zsh functions into the dotfiles role 2024-10-02 20:08:35 -07:00
01312752fc Move tmux and screen configs to Ansible role 2024-10-02 19:55:27 -07:00
bc4b9f8089 Move git configs into dotfiles role 2024-10-02 19:48:38 -07:00
f7a29e3c1d Add vim setup 2024-10-02 19:37:41 -07:00
65182a7c52 Move neovim config to dotfiles role 2024-10-02 19:34:50 -07:00
29e0b21a99 Apply the dotfiles role 2024-10-02 19:21:12 -07:00
b454868ca8 Run ZSH setup tasks from dotfiles role main.yml 2024-10-02 19:20:58 -07:00
916086b743 Tasks to set up ZSH 2024-10-02 19:20:41 -07:00
c664ca3b9d Move zsh init functions to corresponding directories 2024-10-02 19:19:29 -07:00
ae514e9a07 Move zsh startup files to the dotfiles role 2024-10-02 18:47:29 -07:00
74196601f6 Remove Ansible directory 2024-10-02 18:26:48 -07:00
3dd367982a [nvim] Update UltiSnips script snippet for Python 2024-09-27 11:37:33 -07:00
2882bf085e [zsh] Two enhancements to update-date
Reverse the candidates array (the list of positional arguments after options)
with the --prepend (or -p) option so that directories are prepended to the path
variable in the correct precedence.

Add a "force" option as -f or --force that will skip checking if a directory
exists and add the path even if it doesn't. As part of this change, add the
check that the directory exists.
2024-09-26 16:38:30 -07:00
db20fc1b14 [zsh] Clear $path before adding my own directories to it 2024-09-26 16:38:05 -07:00
734ab0a7a5 [zsh] Bring back init-env-tilde-paths
Apparently it was load bearing
2024-09-26 16:19:28 -07:00
71cf2d52f6 [zsh] Remove init-env-unix
This stuff was folded into init-env.
2024-09-26 16:13:21 -07:00
b2974db133 [zsh] Move setting VISUAL to init-env-vi and remove LESSHISTFILE 2024-09-26 16:11:08 -07:00
a174790ed0 [zsh] Remove init-env-zsh-helpers -- those went to init-env 2024-09-26 16:10:46 -07:00
a64ae962ca [zsh] Add init-env back to the zshenv init functions
It somehow got dropped.
2024-09-26 16:05:49 -07:00
f7f45b5b50 [zsh] Move the finder function to its own file 2024-09-26 15:42:36 -07:00
c260784e5d [zsh] Clean up init-rc-darwin 2024-09-26 15:42:36 -07:00
f2144fcbed [zsh] Give all the init-env functions consistent names 2024-09-26 15:42:36 -07:00
e5505a7a69 [nvim] Add a gocsstmpl template
This is based on gotexttmpl and css highlighting.
2024-09-26 15:42:36 -07:00
75e32e473a [zsh] Update init-env-python and init-env-playdate 2024-09-26 15:42:36 -07:00
aea4ff965e [zsh] Add exit status to the prompt; fix a stray space 2024-09-26 15:42:36 -07:00
1e089b0350 [tmux] Quote the update-environment argument
Tmux requires this now.
2024-09-26 15:42:36 -07:00
a026b9c8a9 [zsh] Process fpath candidate paths in a loop in init-env-fpath 2024-09-26 10:06:20 -07:00
80e2915b89 [zsh] Add -P argument to update-path, allowing updating named path-like variable 2024-09-25 18:16:34 -07:00
7378513bba [zsh] update-path: Add -P argument to take a path variable name; add a big usage message 2024-09-24 12:57:56 -07:00
b5e8617cd8 [zsh] Rename init_env_fpath -> init-env-fpath 2024-09-24 12:55:43 -07:00
ae6fd37cf9 [zsh] Move init_env_vi -> init-vi and make it a proper function 2024-09-23 18:21:34 -07:00
9ef882cb84 [zsh] Remove init_system_parameters 2024-09-23 18:16:41 -07:00
1d4cd961ed [zsh] Move init_env_aliases to init-zsh-helpers 2024-09-23 18:16:14 -07:00
d16905313e [zsh] Clean up and move init_env to init-unix-env 2024-09-23 18:13:46 -07:00
2d43ef9a1e [zsh] Replace implementation of init_path with update-path call
Rename this function with hyphens instead of underscores.
2024-09-23 14:44:26 -07:00
02f5655426 [zsh] Add update-path function to replace append_to_path and prepend_to_path 2024-09-23 14:40:51 -07:00
f13bb11642 Add generate-motd script 2024-09-19 13:48:49 -07:00
093f1a2099 [vim] Remove the tailwind and typescript language server configs
I don't use these.
2024-09-19 13:45:59 -07:00
383fd5ceb9 [vim] Fix broken color scheme
I learned once again that true color schemes don't work in macOS's Terminal.app.
I also learned that the default color scheme in neovim is very plain and doesn't
provide a lot of variation for treesitter syntax elements. So, choose a different
built-in color scheme as the default.

I also learned about the ColorScheme autocmd event, which is fired after a color
scheme is applied. Convert the (janky) reloadColorscheme function to a set of
autocommands that trigger based on the color scheme name.

Along the way, add some explicit configuration for treesitter: enable highlighting,
indentation, and make sure some of my common languages have plugins installed.
Also link the "objcpp" filetype to both "objc" and "cpp" treesitter plugins.

Lastly, make some updates to the git gutter color configuration. Create some
autocommands that are applied after the plugin is loaded. For the gutter, use
color 233 from the 256 color palette, which is a very dark gray.
2024-09-19 13:45:12 -07:00
7d26910371 [ansible] Add a barebones Makefile to set up a local Ansible environment 2024-08-21 16:05:57 -07:00
63dde5c58a [ssh] Add vim modeline to SSH config fragment for personal hosts 2024-08-20 11:19:23 -07:00
13ecb89002 [ssh] Barebones config file that sources fragments from config.d 2024-08-20 11:17:55 -07:00
f6a8f30324 [ssh] Add configuration for personal hosts 2024-08-20 11:05:08 -07:00
6d5f5b3d4b [vim] Comment out the recently_used comparator
This comparator has a bug in it that was causing a syntax error after updating
neovim. Temporarily commenting this out until that bug is fixed.
2024-08-03 09:17:03 -07:00
4cc4f4119e [vim] Add some Lua snippets to support Playdate development 2024-08-03 09:14:45 -07:00
7eed873e02 [vim] Detect Hugo HTML templates when there's a layouts component in the path 2024-08-03 09:13:53 -07:00
a0baeac863 [vim] Update API call that toggles visibility of inlay hints
This API is preferred as of some recent version of neovim.
2024-08-03 09:12:48 -07:00
a4883068de [vim] Clean up the gitTopLevelDirectory() method
Mostly change double quotes to single quotes. Add a nil check.
2024-08-02 18:31:38 -07:00
4b566050af [zsh] Embed connect_ssh_agent in a function 2024-08-02 18:31:38 -07:00
fd56b6b7b6 [pw] Remove this script
It doesn't work right on macOS and I never use it anyway.
2024-08-02 18:31:38 -07:00