Commit graph

146 commits

Author SHA1 Message Date
e45c88490e 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
b7f26524b0 Move key mappings 2023-12-19 08:10:22 +00:00
799ca92f40 Automatically close brackets, parentheses and
...quotes whilst in insert mode in Neovim
2023-12-19 00:34:30 +00:00
a4fb59d193 Display Harpoon window at the top of the screen 2023-12-17 20:29:06 +00:00
4259ab0985 Add keymaps to easily run macros 2023-12-12 20:22:06 +00:00
bad8b22a3b Upgrade to Harpoon 2 2023-12-11 17:45:36 +00:00
39458cce04 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
06f660dcd6 Configure netrw in Neovim 2023-11-29 09:57:49 +00:00
02d7654c03 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
55dbee27d9 Update PHP test method snippets 2023-11-29 09:42:19 +00:00
ad4b86b8a3 revert(nvim): update Harpoon mappings
This reverts commit e05aadef34.
2023-11-23 11:54:55 +00:00
249f05860f feat(neovim): configure markdownlint
Prevent diagnostic messages for duplicate sibling headings and line
length.
2023-11-21 16:16:40 +00:00
e05aadef34 chore(nvim): update Harpoon mappings 2023-11-21 08:01:37 +00:00
3af2f96b89 chore(nvim): update treesitter configuration 2023-11-14 20:15:12 +00:00
5449d8c021 chore(nvim): configure lualine 2023-11-07 07:53:58 +00:00
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
f97d7008e2 feat(nvim): configure lualine 2023-11-04 20:37:30 +00:00
5c31b63308 refactor(nvim): sort keymaps alphabetically 2023-11-04 10:19:20 +00:00
6d38e5e83e fix(nvim): configure undodir 2023-10-29 23:13:08 +00:00
941d9951bd feat(nvim): configure cmdline completion 2023-10-27 21:12:23 +01:00
e6ab9a780b fix(nvim): add missing character 2023-10-20 07:56:38 +02:00
3b00490b55 refactor(nvim): add opdavies/init.lua 2023-10-18 22:57:11 +02:00
0531c2ffdd chore(nvim): replace splitjoin with treesj 2023-10-18 22:42:48 +02:00
d587bbed9a feat(nvim): add snippet for adding vim plugins 2023-10-12 09:44:35 +01:00
ecaae11b4d feat(nvim): add grep_prompt 2023-10-11 17:43:55 +01:00
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
759fba125a fix(nvim): next and prev hunk keymaps 2023-10-09 00:11:54 +01:00
20afce7321 chore(nvim): use run 2023-10-07 22:32:23 +01:00
80d9347a73 chore(nvim): remove drupalclass
This has been replaced by generation tools within Phpactor.
2023-10-03 18:19:01 +01:00
57db76b1e5 refactor(nvim): replace null-ls with none-ls 2023-10-01 21:55:38 +01:00
bf21d7de56 feat(nvim): use neoterm with vim-test 2023-09-29 21:31:12 +01:00
ec9cc45572 feat(nvim): re-add lualine-lsp-progress 2023-09-28 07:22:58 +01:00
5ef648b6af style: stylua 2023-09-27 21:03:47 +01:00
82122ee03b feat(nvim): add lualine 2023-09-27 21:01:28 +01:00
e0ba018af8 fix(nvim): enable terraformls 2023-09-27 19:36:44 +01:00
028c69bccf chore(nvim): remove unused configuration 2023-09-18 22:49:55 +01:00
5864c63cf3 feat(nvim): add friendly-snippets 2023-09-15 19:20:40 +01:00
83b51ebdf4 feat(nvim): add a keymap for switching to the
...alternative file
2023-09-14 19:08:50 +01:00
e37e283d95 fix(nvim): ignore line lengths in markdown files 2023-09-05 13:34:44 +01:00
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
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
2c709d3fcd fix(nvim): re-add completion configuration 2023-09-05 07:24:34 +01:00
3614d71a2c style(nvim): run stylua 2023-09-04 11:05:13 +01:00
62765d25aa fix(nvim): disable key ordering check again 2023-09-04 08:20:33 +01:00
b66a8bb3d2 chore(nvim): remove lsp-zero 2023-09-04 08:11:43 +01:00
4bea747ffa revert(nvim): re-add lualine and noice
This reverts commit db7d2b442f.
2023-09-01 12:11:15 +01:00
adcbc6b3de fix(nvim): ignore .direnv from Telescope and Git 2023-08-30 10:34:01 +01:00
db7d2b442f feat(nvim): re-add lualine and noice 2023-08-29 21:46:02 +01:00
90fa8596cb feat(nvim): re-add todo-comments.nvim 2023-08-27 17:34:58 +01:00
9e4e746052 fix(nvim): remove git-worktree configuration 2023-08-14 19:31:30 +01:00