Commit graph

141 commits

Author SHA1 Message Date
Oliver Davies 7681c53526 refactor(nvim): move into the build directory 2022-06-20 22:46:34 +01:00
Oliver Davies 3dc73400dc feat(role): add debugger
Add `vscode-php-debug` for working with Xdebug and debugging PHP code.
2022-06-20 22:46:30 +01:00
Oliver Davies 6fba154cdf feat(role): add pulumi
Fixes: #31
2022-06-16 10:29:32 +01:00
Oliver Davies 8f3f97cf90 chore(nvim): update plugins 2022-06-15 11:48:02 +01:00
Oliver Davies 653d3e0e0e chore(tmux): change the prefix key 2022-06-11 08:16:15 +01:00
Oliver Davies dc695c56b4 feat(nvim): add junegunn/vim-easy-align 2022-06-08 08:50:26 +01:00
Oliver Davies b94e7267ce feat(nvim): add drupalclass snippet
Add a new `drupalclass` snippet for Luasnip that scaffolds a new PHP
class that's opinionated for Drupal applications.

The class name is based on the filename (minus the file extension) and
the namespace is generated automatically from the directory structure
based on the location of the `src` directory.

It also includes the `Tests` entry within the namespace if the file is
witin a `tests` directory.
2022-06-02 22:50:01 +01:00
Oliver Davies 1c5ce40d07
fix(tmuxinator): ensure that ruby is installed 2022-05-31 23:24:37 +01:00
Oliver Davies 9db923856c feat(role): add tmuxinator
Install tmuxinator via gem and create its configuration directory and
files.
2022-05-31 01:41:29 +01:00
Oliver Davies d81b89d16d chore: remove starship-prompt 2022-05-31 01:41:29 +01:00
Oliver Davies 8b82801181 chore(tmux): change prefix key 2022-05-31 00:44:13 +01:00
Oliver Davies 2ae7d9af1f
chore(zsh): set nvim as EDITOR 2022-05-28 09:28:45 +01:00
Oliver Davies bd6b9fd5b1 chore(zsh): update prompt 2022-05-27 18:32:45 +01:00
Oliver Davies aa6a4a6219
feat(nvim): configure winbar
Show the path for each file in the top-right of each split.
2022-05-25 08:52:57 +01:00
Oliver Davies b58302c1ee refactor(zsh): move configuration files 2022-05-24 23:08:17 +01:00
Oliver Davies b7518872ff chore(zsh): remove starship prompt 2022-05-23 12:35:50 +01:00
Oliver Davies 5e81f42460 fix(nvim): fix LSP code reference mapping 2022-05-13 19:42:05 +01:00
Oliver Davies 0926ae9671 feat(nvim): add Treesitter text objects 2022-05-11 10:04:33 +01:00
Oliver Davies 6b8bb7daf2 feat(nvim): add Telescope default mappings
Add an insert mode mapping for `which_key` and also one for insert and
normal mode for toggling the previewer.
2022-05-03 09:08:50 +01:00
Oliver Davies 5b162e7241 chore(nvim): update Telescope config and mappings 2022-05-03 08:57:23 +01:00
Oliver Davies 9a580ff1cd chore(nvim): be more consistent with imap usage 2022-05-03 08:56:44 +01:00
Oliver Davies 65c744490e feat(neovim-lsp): add intelephense licence key 2022-04-28 17:43:29 +01:00
Oliver Davies f9f9c0a5e8 refactor(zsh): update aliases 2022-04-27 13:42:17 +01:00
Oliver Davies 5d94248fec feat(role): add neovim-packer
Automatically install Packer for installing Neovim plugins.
2022-04-27 08:49:14 +01:00
Oliver Davies 173215da34 feat(ssh): create ssh configuration file 2022-04-26 23:40:27 +01:00
Oliver Davies beadeaa0f8 feat(role): add ssh 2022-04-26 20:53:59 +01:00
Oliver Davies 87526f3b4d fix(*): add loop control and loop var variables 2022-04-26 20:51:24 +01:00
Oliver Davies 76dd778429 feat(role): add cargo
Needed for installing stylua and the starship prompt.
2022-04-26 14:32:21 +01:00
Oliver Davies 0b92af8398 refactor(zsh): simplify .zshrc 2022-04-25 09:33:43 +01:00
Oliver Davies 6c6b428883 fix(nvim): typo in JS snippets 2022-04-25 08:10:57 +01:00
Oliver Davies dc3c39fbdf fix(neovim): autocomplete with nvim-cmp
Update nvim-cmp mappings configuration following the recent breaking
changes.
2022-04-20 22:50:27 +01:00
Oliver Davies a28475f019 chore(alacritty): update config 2022-04-20 22:48:40 +01:00
Oliver Davies b462bad90f chore(nvim): configure diagnostics output
Configure the output for LSP diagnostics, including null-ls.
2022-04-16 23:08:46 +01:00
Oliver Davies 2c86539313 feat(nvim): add mapping to go to implementation 2022-04-16 23:07:24 +01:00
Oliver Davies 591cf8224f fix(nvim): update LuaSnip configuration
Fixes: #30
2022-04-12 23:15:01 +01:00
Oliver Davies 5f4fb07631 fix(nvim): Tailwind completion in html.twig files
Whilst `twig` files are enabled by default, `html.twig` files aren't so
these need to be added as an additional filetype for LSP to work.

For completion, `html.twig` also needs to be added as a custom user
language, mapping to the `html` type.

Fixes: #25
2022-04-09 00:24:11 +01:00
Oliver Davies 8f9c3a9b53 feat(role): add notion-app
Install Notion via https://github.com/notion-enhancer/notion-repackaged.
2022-04-07 17:37:40 +01:00
Oliver Davies 906b1d0c99 chore(zsh): enable spaceship theme
Refs: #29
2022-04-07 12:10:24 +01:00
Oliver Davies 68be4d521d feat(platform-cli): add Platform.sh CLI
Fixes: #27
2022-04-07 12:10:10 +01:00
Oliver Davies 57f5cabf80 feat(nvim): add stylua and starship prompt
Fixes: GH-29
2022-04-07 11:33:28 +01:00
Oliver Davies 798e753cc5 chore(nvim): change sorting in file browser 2022-04-07 00:29:54 +01:00
Oliver Davies ea14acb98f chore(zsh): remove spaceship prompt 2022-04-07 00:29:30 +01:00
Oliver Davies 068936fbc5 chore(zsh): add dotfiles bin to $PATH 2022-04-07 00:27:17 +01:00
Oliver Davies 5b6fa2596d chore(zsh): add cargo bin to $PATH
Needed for `stylua` and for the Starship prompt.
2022-04-07 00:25:33 +01:00
Oliver Davies 291a8df6d0 feat(role): add GitHub CLI (gh)
Based on https:
//github.com/cli/cli/blob/19427d8819e36021c877b6e4cd855e060433f6ef/docs/install_linux.md.

Fixes: #28
2022-04-05 18:58:32 +01:00
Oliver Davies 3591a72612 feat(role): add jq 2022-04-05 14:05:19 +01:00
Oliver Davies 5a3fab8f53 feat(nvim): add vmap for visual mode mappings 2022-04-05 09:32:47 +01:00
Oliver Davies 96a532a501 feat(nvim): use vimux when running tests 2022-04-05 09:32:20 +01:00
Oliver Davies ec4942d72c chore(nvim): experimenting with overriding colours 2022-04-05 09:31:44 +01:00
Oliver Davies 6c95ee5d4f chore(nvim): add leader before mappings 2022-04-03 21:43:56 +01:00