Commit graph

1226 commits

Author SHA1 Message Date
Oliver Davies 5449d8c021 chore(nvim): configure lualine 2023-11-07 07:53:58 +00:00
Oliver Davies ec23fb1431 refactor(nixos): extract Home Manager modules 2023-11-07 07:20:47 +00:00
Oliver Davies 2968f5396d feat(nixos): configure garbage collection and
...optimisation
2023-11-07 00:07:24 +00:00
Oliver Davies 8cc6c51e15 chore(flake): update lockfile 2023-11-07 00:04:12 +00:00
Oliver Davies 282b764ba6 refactor(nvim): split into modules 2023-11-06 23:48:09 +00:00
Oliver Davies 8f5a8dee66 refactor(flake): move pkgs 2023-11-06 23:24:53 +00:00
Oliver Davies 6c610fea29 feat(nvim): use rstfmt for rst file formatting
Add `vimPlugins.conform-nvim` to add formatting rst files with `rstfmt`.

This isn't supported as a formatter in `none-ls`, and I wanted to try
and potentially switch to `conform-nvim` and `nvim-lint` in the future,
so this is a potential first step towards that.

`rstfmt` itself is already installed and available within my additional
Vim packages.

This currently needs to be run manually, as I don't want to change my
default keybind for formatting until I've supported all the filetypes and formatters
I have in `none-ls`.

To run the foramt manually, run `:lua require"conform".format()`.

See:

- https://github.com/stevearc/conform.nvim
- https://github.com/mfussenegger/nvim-lint
- https://pypi.org/project/rstfmt
- https://www.youtube.com/watch?v=ybUE4D80XSk
2023-11-04 21:46:13 +00:00
Oliver Davies f97d7008e2 feat(nvim): configure lualine 2023-11-04 20:37:30 +00:00
Oliver Davies 9dc52fc3a0 feat(nixos): add fonts 2023-11-04 20:23:50 +00:00
Oliver Davies 632f220bee fix(tmux): update repo paths 2023-11-04 20:22:04 +00:00
Oliver Davies 5303c1ae9c fix(scripts): fix incorrect item 2023-11-04 20:21:13 +00:00
Oliver Davies 6514792445 refactor(flake): add pkgsUnstable in other files 2023-11-04 10:29:29 +00:00
Oliver Davies ee4911cbeb chore(zsh): remove just aliases 2023-11-04 10:19:46 +00:00
Oliver Davies 5c31b63308 refactor(nvim): sort keymaps alphabetically 2023-11-04 10:19:20 +00:00
Oliver Davies 9d1ca90bcc chore: update custom Nix packages 2023-11-04 09:37:29 +01:00
Oliver Davies acf5767a1e chore(flake): update lockfile 2023-11-04 09:11:49 +01:00
Oliver Davies 6d38e5e83e fix(nvim): configure undodir 2023-10-29 23:13:08 +00:00
Oliver Davies 0f5e96daa0 chore(flake): update lockfile 2023-10-29 23:11:12 +00:00
Oliver Davies fce21fc930 feat(zsh): add aliases 2023-10-27 21:13:59 +01:00
Oliver Davies 10643ac0d4 chore(flake): update lockfile 2023-10-27 21:12:43 +01:00
Oliver Davies 941d9951bd feat(nvim): configure cmdline completion 2023-10-27 21:12:23 +01:00
Oliver Davies ff97af5b76 chore(flake): update lockfile 2023-10-24 23:24:16 +01:00
Oliver Davies c484d16435 revert(zsh): set keymap to vicmd
This reverts commit a0829bcb63.
2023-10-20 07:58:53 +02:00
Oliver Davies 5f3f2b2f6f fix(nvim): call treesj.setup 2023-10-20 07:58:32 +02:00
Oliver Davies e6ab9a780b fix(nvim): add missing character 2023-10-20 07:56:38 +02:00
Oliver Davies 3b00490b55 refactor(nvim): add opdavies/init.lua 2023-10-18 22:57:11 +02:00
Oliver Davies c2ae75a465 refactor(nvim): use extraLuaConfig 2023-10-18 22:49:53 +02:00
Oliver Davies 4f2f98069c chore(nvim): use vim.loader
Improve startup performance by using `vim.loader`.

See https://www.youtube.com/watch?v=ixq3g_D3SVs
2023-10-18 22:48:58 +02:00
Oliver Davies c9af4cf4c9 feat(git): set push.autoSetupRemote to true 2023-10-18 22:44:06 +02:00
Oliver Davies 0531c2ffdd chore(nvim): replace splitjoin with treesj 2023-10-18 22:42:48 +02:00
Oliver Davies 1c42a0d397 fix(nvim): ensure PHP is available
e.g. for running Drush commands.
2023-10-16 20:15:39 +01:00
Oliver Davies a0829bcb63 chore(zsh): set keymap to vicmd 2023-10-16 20:14:55 +01:00
Oliver Davies f6d8bd9122 chore(flake): update lockfile 2023-10-15 08:50:59 +01:00
Oliver Davies d587bbed9a feat(nvim): add snippet for adding vim plugins 2023-10-12 09:44:35 +01:00
Oliver Davies ea6a382edc feat(scripts): add git-sync 2023-10-11 18:42:05 +01:00
Oliver Davies ecaae11b4d feat(nvim): add grep_prompt 2023-10-11 17:43:55 +01:00
Oliver Davies c0e9fd137f chore(flake): update lockfile 2023-10-10 07:16:42 +01:00
Oliver Davies cf5dbda4f0 chore(nvim): remove plugins temporarily
I'm removing these temporarily to see how it affects performance.
2023-10-09 00:14:49 +01:00
Oliver Davies 759fba125a fix(nvim): next and prev hunk keymaps 2023-10-09 00:11:54 +01:00
Oliver Davies 20afce7321 chore(nvim): use run 2023-10-07 22:32:23 +01:00
Oliver Davies 596ba4ac14 build: replace justfile with run 2023-10-07 00:15:30 +01:00
Oliver Davies 7b86cafc22 stable 2023-10-03 23:35:26 +01:00
Oliver Davies 3057cde69e revert(flake): update lockfile
This reverts commit 5b34d6d724.
2023-10-03 21:58:59 +01:00
Oliver Davies 3ea182c94b chore(nixos): re-organise packages
Remove packages that are either no longer used or have been moved into
per-project flakes that are used with direnv.
2023-10-03 18:44:31 +01:00
Oliver Davies b806a00ac0 build(deps): remove teams
Remove Microsoft Teams for Linux as it's no longer supported upstream.
2023-10-03 18:28:56 +01:00
Oliver Davies 80d9347a73 chore(nvim): remove drupalclass
This has been replaced by generation tools within Phpactor.
2023-10-03 18:19:01 +01:00
Oliver Davies 5763900b5f fix(scripts): vendor files causing reloads
Ignore the `vendor` directory and some others as it was causing the
script to reload when it wasn't expected.

Whilst I'd expect it to be ignored if I specified the path to look at as
something like `web/modules/custom`, but it still seems to trigger the
command and it seems a lot more stable since adding this.
2023-10-03 18:14:37 +01:00
Oliver Davies 5b34d6d724 chore(flake): update lockfile 2023-10-03 18:14:26 +01:00
Oliver Davies 57db76b1e5 refactor(nvim): replace null-ls with none-ls 2023-10-01 21:55:38 +01:00
Oliver Davies bf21d7de56 feat(nvim): use neoterm with vim-test 2023-09-29 21:31:12 +01:00