Commit graph

65 commits

Author SHA1 Message Date
Oliver Davies fd961a57de Automatically enable spell checking for markdown
...files
2024-11-18 01:37:16 +00:00
Oliver Davies 8244e157fd Re-add Neovim configuration files
Re-included from https://github.com/opdavies/opdavies.nvim.
2024-10-09 19:04:40 +01:00
Oliver Davies 6d27e72b02 Extract neovim configuration to a separate
...repository

https://github.com/opdavies/opdavies.nvim
2024-01-24 12:10:46 +00:00
Oliver Davies d999e21d45 Add a keymap to run :Git commit 2024-01-17 22:11:59 +00:00
Oliver Davies 0b3301c53f Don't do completion in command mode
This is stopping normal expansion of things like `%:h` for the directory
of the current buffer.
2024-01-10 00:50:45 +00:00
Oliver Davies f465870c82 Revert "Move key mappings"
This reverts commit b7f26524b0.
2024-01-08 17:50:15 +00:00
Oliver Davies 4e1c3123a0 Switch back to 23.05
Issues with Neovim, Harpoon and/or Telescope.
2023-12-24 16:59:08 +00:00
Oliver Davies b7f26524b0 Move key mappings 2023-12-19 08:10:22 +00:00
Oliver Davies a4fb59d193 Display Harpoon window at the top of the screen 2023-12-17 20:29:06 +00:00
Oliver Davies bad8b22a3b Upgrade to Harpoon 2 2023-12-11 17:45:36 +00:00
Oliver Davies 06f660dcd6 Configure netrw in Neovim 2023-11-29 09:57:49 +00:00
Oliver Davies ad4b86b8a3 revert(nvim): update Harpoon mappings
This reverts commit e05aadef34.
2023-11-23 11:54:55 +00:00
Oliver Davies e05aadef34 chore(nvim): update Harpoon mappings 2023-11-21 08:01:37 +00:00
Oliver Davies 3af2f96b89 chore(nvim): update treesitter configuration 2023-11-14 20:15:12 +00:00
Oliver Davies 5449d8c021 chore(nvim): configure lualine 2023-11-07 07:53:58 +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 941d9951bd feat(nvim): configure cmdline completion 2023-10-27 21:12:23 +01:00
Oliver Davies 0531c2ffdd chore(nvim): replace splitjoin with treesj 2023-10-18 22:42:48 +02: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 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 028c69bccf chore(nvim): remove unused configuration 2023-09-18 22:49:55 +01:00
Oliver Davies 5864c63cf3 feat(nvim): add friendly-snippets 2023-09-15 19:20:40 +01:00
Oliver Davies 83b51ebdf4 feat(nvim): add a keymap for switching to the
...alternative file
2023-09-14 19:08:50 +01:00
Oliver Davies 6f7a6df4f7 feat(nvim): configure alternate files for Fractal
Configure `*.twig` and `*.config.yml` as alternate files in
Projectionist.
2023-09-05 12:56:24 +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 2c709d3fcd fix(nvim): re-add completion configuration 2023-09-05 07:24:34 +01:00
Oliver Davies 3614d71a2c style(nvim): run stylua 2023-09-04 11:05:13 +01:00
Oliver Davies 4bea747ffa revert(nvim): re-add lualine and noice
This reverts commit db7d2b442f.
2023-09-01 12:11:15 +01:00
Oliver Davies db7d2b442f feat(nvim): re-add lualine and noice 2023-08-29 21:46:02 +01:00
Oliver Davies 90fa8596cb feat(nvim): re-add todo-comments.nvim 2023-08-27 17:34:58 +01:00
Oliver Davies 9bf205edd8 feat(nvim): add more Harpoon keymaps 2023-08-14 00:50:49 +01:00
Oliver Davies b63b84e2f1 feat(nvim): add undotree 2023-08-14 00:23:46 +01:00
Oliver Davies ae4c829b4e chore(nvim): update gitsigns keymaps 2023-08-11 00:29:01 +01:00
Oliver Davies ce6193bb7b feat(nvim): add fugitive keymaps
Add keymaps to open `git status` within Fugitive as well as push and
pull changes within a fugitive buffer.
2023-08-11 00:29:01 +01:00
Oliver Davies 202dceada3 chore(nvim): remove lualine packages 2023-08-07 22:03:45 +01:00
Oliver Davies b18152cb4a chore(nvim): change vim-test strategy 2023-08-07 21:51:20 +01:00
Oliver Davies 624faf959c refactor: restructure my Code directory
I recently restructed the contents of my `~/Code` directory so that
repositories are grouped by their provider and organisation.

For example, my `dotfiles` are now located at
`~/Code/github.com/opdavies/dotfiles`.

Likewise, `build-configs` is now located at
`~/Code/github.com/OliverDaviesLtd/build-configs` as it's within the
`OliverDaviesLtd` organisation.

As well as `~/Code/github.com`, I also have `~/Code/bitbucket.org` for
Bitbucket repositories. These are also grouped within subdirectories for
each organisation.

This change means I need to update any reference to the old `dotfiles`
location to the new one and I can update the `t` function to adjust the
min and max depth it uses to find directories.
2023-08-07 09:53:33 +01:00
Oliver Davies 0580fd54dc feat(nvim): configure lualine 2023-07-22 09:35:20 +01:00
Oliver Davies ab36de47a7 feat: transparency in alacritty and nvim 2023-06-10 10:20:54 +01:00
Oliver Davies c38b0732ad feat(nvim): add key bindings for Phpactor 2023-05-10 12:36:54 +01:00
Oliver Davies b975044a9e chore(nvim): remove old lir configuration 2023-05-10 12:33:23 +01:00
Oliver Davies 35bef73170 feat(nvim): finish configuring lsp-zero.nvim
Fixes #49
2023-04-29 10:55:45 +01:00
Oliver Davies 9289ace4c3 chore(nvim): tweak indent line colours 2023-04-26 00:04:44 +01:00
Oliver Davies 2a8f42c267 fix(nvim): install Treesitter grammars with Nix
Fixes #48
2023-04-17 17:58:31 +01:00
Oliver Davies 388b423114 fix(nvim): treesitter parser location issue 2023-04-06 00:25:49 +01:00