Commit graph

123 commits

Author SHA1 Message Date
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
Oliver Davies 2924c37fb5 feat(nvim): add grep_prompt 2023-10-11 17:43:55 +01:00
Oliver Davies 688619a6dd 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 d03b4b1bd5 fix(nvim): next and prev hunk keymaps 2023-10-09 00:11:54 +01:00
Oliver Davies 83a90087e1 chore(nvim): use run 2023-10-07 22:32:23 +01:00
Oliver Davies 6de07d9333 chore(nvim): remove drupalclass
This has been replaced by generation tools within Phpactor.
2023-10-03 18:19:01 +01:00
Oliver Davies 487fb1eccc refactor(nvim): replace null-ls with none-ls 2023-10-01 21:55:38 +01:00
Oliver Davies 2860bc06db feat(nvim): use neoterm with vim-test 2023-09-29 21:31:12 +01:00
Oliver Davies 7ac939b428 feat(nvim): re-add lualine-lsp-progress 2023-09-28 07:22:58 +01:00
Oliver Davies dc0463c173 style: stylua 2023-09-27 21:03:47 +01:00
Oliver Davies 376a4bda43 feat(nvim): add lualine 2023-09-27 21:01:28 +01:00
Oliver Davies db0b07caa9 fix(nvim): enable terraformls 2023-09-27 19:36:44 +01:00
Oliver Davies 5c9da925d5 chore(nvim): remove unused configuration 2023-09-18 22:49:55 +01:00
Oliver Davies 421d1658a8 feat(nvim): add friendly-snippets 2023-09-15 19:20:40 +01:00
Oliver Davies ca2e48dbdb feat(nvim): add a keymap for switching to the
...alternative file
2023-09-14 19:08:50 +01:00
Oliver Davies f9b8a73ca4 fix(nvim): ignore line lengths in markdown files 2023-09-05 13:34:44 +01:00
Oliver Davies 265803b240 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 7c4f361f28 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 767269b904 fix(nvim): re-add completion configuration 2023-09-05 07:24:34 +01:00
Oliver Davies cb8dba24c9 style(nvim): run stylua 2023-09-04 11:05:13 +01:00
Oliver Davies c69fd34fab fix(nvim): disable key ordering check again 2023-09-04 08:20:33 +01:00
Oliver Davies 4a2a3e35b8 chore(nvim): remove lsp-zero 2023-09-04 08:11:43 +01:00
Oliver Davies 59e7868f52 revert(nvim): re-add lualine and noice
This reverts commit db7d2b442f03c9d02bd8471c71f3eb483a40ca2b.
2023-09-01 12:11:15 +01:00
Oliver Davies bab8f12799 fix(nvim): ignore .direnv from Telescope and Git 2023-08-30 10:34:01 +01:00
Oliver Davies 4974d2d2f2 feat(nvim): re-add lualine and noice 2023-08-29 21:46:02 +01:00
Oliver Davies 5f8b5cc3de feat(nvim): re-add todo-comments.nvim 2023-08-27 17:34:58 +01:00
Oliver Davies cbf6e4a29f fix(nvim): remove git-worktree configuration 2023-08-14 19:31:30 +01:00