Commit graph

349 commits

Author SHA1 Message Date
Oliver Davies 067ac00949 Update flake dependencies 2024-01-29 07:46:45 +00:00
Oliver Davies 2c7e547bf5 Add more floating terminals 2024-01-27 21:56:17 +00:00
Oliver Davies 937a0cc34f Order custom plugins alphabetically 2024-01-27 21:56:03 +00:00
Oliver Davies 728355ac1f Add vim-floaterm 2024-01-27 21:37:21 +00:00
Oliver Davies f312e4d560 Remove Astro plugin and language server 2024-01-27 21:31:38 +00:00
Oliver Davies e026ed154c Update vim-wiki path 2024-01-27 21:30:50 +00:00
Oliver Davies 9b6d5e172b Add vim-wiki 2024-01-26 01:29:49 +00:00
Oliver Davies 2a72ffab2e Add grammarly-languageserver as an LSP 2024-01-25 23:35:57 +00:00
Oliver Davies 18ef99795a Remove .gitignore from the built package 2024-01-25 23:15:45 +00:00
Oliver Davies d251233db1 Add CHANGELOG 2024-01-25 23:14:03 +00:00
Oliver Davies 87bf614625 Move dependencies into the Neovim flake
Move all plugins and dependencies from dotfiles.nix to the `neovim`
package in opdavies.nvim.

Based on 2fdd35dd39/lib/default.nix.
2024-01-25 01:42:56 +00:00
Oliver Davies 2caa74232a Add run file with a build task 2024-01-25 00:11:51 +00:00
Oliver Davies fe9435df8a Set colorcolumn 2024-01-24 23:57:00 +00:00
Oliver Davies fd32fb4887 Add init.lua 2024-01-24 09:27:24 +00:00
Oliver Davies d905c00ca3 Ignore result file after a Nix build 2024-01-24 09:27:24 +00:00
Oliver Davies 60bcf130a7 Add initial flake 2024-01-24 09:27:24 +00:00
Oliver Davies 437bde1cfa Add stylua.toml 2024-01-23 21:44:26 +00:00
Oliver Davies 64facc315d Add a keymap to run :Git commit 2024-01-17 22:11:59 +00:00
Oliver Davies 839dff942e Add snippets for __invoke() and __construct() 2024-01-17 22:05:41 +00:00
Oliver Davies 940d23cc76 Show trailing spaces 2024-01-14 17:15:41 +00:00
Oliver Davies f17d139c59 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 47bb1d55db Add Telescope mappings to find the current word 2024-01-08 17:50:15 +00:00
Oliver Davies 2e6df3a8bd Revert "Move key mappings"
This reverts commit b7f26524b0ddcd5db1b2783c20bdb423d4cb1bfb.
2024-01-08 17:50:15 +00:00
Oliver Davies 157789d0f1 Revert "Automatically close brackets, parentheses and"
This reverts commit 799ca92f401b6b11bebbb7bd514214b9156e2504.
2024-01-07 22:01:51 +00:00
Oliver Davies 32a8356040 Switch back to 23.05
Issues with Neovim, Harpoon and/or Telescope.
2023-12-24 16:59:08 +00:00
Oliver Davies 5458c48cc3 Tailwind CSS autocomplete not working in Twig files 2023-12-21 11:05:33 +00:00
Oliver Davies 8a9d6d9141 Change splitbelow to false
This means that new splits, such as Fugitive, will open above the
current pane rather than below it.

If I don't like it, I'll revert it.
2023-12-21 08:28:17 +00:00
Oliver Davies e63c7c48b7 Move key mappings 2023-12-19 08:10:22 +00:00
Oliver Davies 0c863347f1 Automatically close brackets, parentheses and
...quotes whilst in insert mode in Neovim
2023-12-19 00:34:30 +00:00
Oliver Davies be4eb457f0 Display Harpoon window at the top of the screen 2023-12-17 20:29:06 +00:00
Oliver Davies 288870b93d Add keymaps to easily run macros 2023-12-12 20:22:06 +00:00
Oliver Davies 8d54f69fa7 Upgrade to Harpoon 2 2023-12-11 17:45:36 +00:00
Oliver Davies f51a406130 Re-add GoToFile command to Neovim
Allow for starting Vim and automatically opening Telescope to select a
file using `nvim +GoToFile`.
2023-12-06 22:49:43 +00:00
Oliver Davies 965a5d5c1d Configure netrw in Neovim 2023-11-29 09:57:49 +00:00
Oliver Davies a000fa7de8 Remove autocmd for plugins.lua
This is no longer needed as plugins are now managed with Nix.
2023-11-29 09:45:51 +00:00
Oliver Davies 474e5740f3 Update PHP test method snippets 2023-11-29 09:42:19 +00:00
Oliver Davies d0ac1ed026 revert(nvim): update Harpoon mappings
This reverts commit e05aadef340b3a243e6f40c8e5b9378c82dcce86.
2023-11-23 11:54:55 +00:00
Oliver Davies e6525ccef2 feat(neovim): configure markdownlint
Prevent diagnostic messages for duplicate sibling headings and line
length.
2023-11-21 16:16:40 +00:00
Oliver Davies e7d7da79f1 chore(nvim): update Harpoon mappings 2023-11-21 08:01:37 +00:00
Oliver Davies 887fdbcd10 chore(nvim): update treesitter configuration 2023-11-14 20:15:12 +00:00
Oliver Davies 9d22cf6315 chore(nvim): configure lualine 2023-11-07 07:53:58 +00:00
Oliver Davies 3537d9a71f 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 06408d7336 feat(nvim): configure lualine 2023-11-04 20:37:30 +00:00
Oliver Davies 739349fb2d refactor(nvim): sort keymaps alphabetically 2023-11-04 10:19:20 +00:00
Oliver Davies 4f0c536448 fix(nvim): configure undodir 2023-10-29 23:13:08 +00:00
Oliver Davies e5c40a7a14 feat(nvim): configure cmdline completion 2023-10-27 21:12:23 +01:00
Oliver Davies 96cb167906 fix(nvim): add missing character 2023-10-20 07:56:38 +02:00
Oliver Davies 8a289bf40c refactor(nvim): add opdavies/init.lua 2023-10-18 22:57:11 +02:00
Oliver Davies 9e2c79fb1c chore(nvim): replace splitjoin with treesj 2023-10-18 22:42:48 +02:00
Oliver Davies 50476e3295 feat(nvim): add snippet for adding vim plugins 2023-10-12 09:44:35 +01:00