Commit graph

77 commits

Author SHA1 Message Date
Oliver Davies b40e25dea0 Revert "Switch to unstable by default"
This reverts commit 3c7877776e.

Slack was broken when using the unstable version of nixpkgs.
2023-12-12 20:17:40 +00:00
Oliver Davies 54fdbd71d9 Use zoxide to provide paths to fzf 2023-12-11 21:25:23 +00:00
Oliver Davies 3c7877776e Switch to unstable by default 2023-12-06 15:36:10 +00:00
Oliver Davies 80860fe6df Upgrade nixpkgs to 23.11 2023-12-03 08:54:29 +00:00
Oliver Davies c40d215db3 Remove space before the left status in tmux 2023-11-29 09:53:10 +00:00
Oliver Davies 249f05860f feat(neovim): configure markdownlint
Prevent diagnostic messages for duplicate sibling headings and line
length.
2023-11-21 16:16:40 +00:00
Oliver Davies 2124965f86 chore(git): move global gitignore to .config 2023-11-15 21:00:42 +00:00
Oliver Davies 6d12f5c2d5 feat(git): globally ignore a .ignored directory 2023-11-15 20:55:19 +00:00
Oliver Davies f44231d595 chore(tmux): update status line 2023-11-15 19:03:45 +00:00
Oliver Davies eb622e5e45 fix(tmux): update repo paths 2023-11-14 21:17:26 +00:00
Oliver Davies 6c93891bd0 fix(flake): attribute 'inputs' missing 2023-11-09 12:55:20 +00:00
Oliver Davies 5449d8c021 chore(nvim): configure lualine 2023-11-07 07:53:58 +00:00
Oliver Davies 282b764ba6 refactor(nvim): split into modules 2023-11-06 23:48:09 +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 632f220bee fix(tmux): update repo paths 2023-11-04 20:22:04 +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 9d1ca90bcc chore: update custom Nix packages 2023-11-04 09:37:29 +01:00
Oliver Davies fce21fc930 feat(zsh): add aliases 2023-10-27 21:13:59 +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 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 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 7b86cafc22 stable 2023-10-03 23:35:26 +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 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
Oliver Davies ec9cc45572 feat(nvim): re-add lualine-lsp-progress 2023-09-28 07:22:58 +01:00
Oliver Davies 82122ee03b feat(nvim): add lualine 2023-09-27 21:01:28 +01:00
Oliver Davies 27f8980dfa feat(tmux): create a session for my website
Bind a shortcut key to create and switch to a session for my personal
website.
2023-09-27 00:16:01 +01:00
Oliver Davies ee4733438a build(deps): add go and gopls 2023-09-22 07:45:29 +01:00
Oliver Davies cb700d775a fix(nvim): revert phpactor to 23.05
This was erroring when trying to create a new PHP class but works when
reverted back to 23.05.
2023-09-19 21:01:35 +01:00
Oliver Davies 028c69bccf chore(nvim): remove unused configuration 2023-09-18 22:49:55 +01:00
Oliver Davies ec344fd4f5 refactor: remove nodemon
Removing this as I mostly use `inotifywait` via the `watch-changes`
script instead of nodemon.
2023-09-18 22:42:41 +01:00
Oliver Davies f93c1ba9c7 unstable by default
Switch back to using `nixpkgs-unstable` by default and using
`nixpkgs-2305` when needed, such as for `exa` which is no longer
maintained and available.

In a future commit, I'll switch to `eza` which is the recommended alternative.

https://github.com/eza-community/eza
2023-09-17 23:40:32 +01:00
Oliver Davies 2db29db470 chore(nvim): upgrade refactoring-nvim 2023-09-16 20:32:46 +01:00
Oliver Davies 5864c63cf3 feat(nvim): add friendly-snippets 2023-09-15 19:20:40 +01:00
Oliver Davies 5369ccdddd feat(zsh): re-add suffix aliases 2023-09-14 19:08:06 +01:00
Oliver Davies 944e5d7911 revert(zsh): re-add suffix aliases
This reverts commit de69d1253b.
2023-09-14 19:07:01 +01:00
Oliver Davies de69d1253b feat(zsh): re-add suffix aliases 2023-09-14 07:39:06 +01:00
Oliver Davies b6d118ed75 feat(nvim): re-add projectionist.vim
Re-add `projectionist.vim` with a minimal configuration for setting the
alternate file in basic PHP library or TypeScript projects.
2023-09-05 07:52:01 +01:00
Oliver Davies f3e2741a6f fix(nvim): add stylua 2023-09-04 11:05:17 +01:00
Oliver Davies b66a8bb3d2 chore(nvim): remove lsp-zero 2023-09-04 08:11:43 +01:00
Oliver Davies 864b9ca4a5 feat(nvim): add lua-language-server 2023-09-03 20:50:57 +01:00