Commit graph

86 commits

Author SHA1 Message Date
cffba6b6b6 Re-add en.utf-8.add spellfile 2024-10-26 15:45:29 +01:00
5b1f41a2e1 nvim: add Twig snippets for Storybook 2024-10-24 14:39:00 +01:00
8d07d76e2b Replace nil_ls with nixd 2024-10-23 21:07:26 +01:00
e332a9835e Remove the default colorcolumn 2024-10-09 19:05:22 +01:00
8244e157fd Re-add Neovim configuration files
Re-included from https://github.com/opdavies/opdavies.nvim.
2024-10-09 19:04:40 +01:00
6d27e72b02 Extract neovim configuration to a separate
...repository

https://github.com/opdavies/opdavies.nvim
2024-01-24 12:10:46 +00:00
06ea9a5ff9 Add snippets for __invoke() and __construct() 2024-01-17 22:05:41 +00:00
d706e0cdf1 Show trailing spaces 2024-01-14 17:15:41 +00:00
c700329642 Add Telescope mappings to find the current word 2024-01-08 17:50:15 +00:00
f465870c82 Revert "Move key mappings"
This reverts commit b7f26524b0.
2024-01-08 17:50:15 +00:00
d5b2d76dfb Revert "Automatically close brackets, parentheses and"
This reverts commit 799ca92f40.
2024-01-07 22:01:51 +00:00
4dd08d65bc Tailwind CSS autocomplete not working in Twig files 2023-12-21 11:05:33 +00:00
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
4259ab0985 Add keymaps to easily run macros 2023-12-12 20:22:06 +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
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
249f05860f feat(neovim): configure markdownlint
Prevent diagnostic messages for duplicate sibling headings and line
length.
2023-11-21 16:16:40 +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
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
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
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
5ef648b6af style: stylua 2023-09-27 21:03:47 +01:00
e0ba018af8 fix(nvim): enable terraformls 2023-09-27 19:36:44 +01:00
e37e283d95 fix(nvim): ignore line lengths in markdown files 2023-09-05 13:34:44 +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
9e4e746052 fix(nvim): remove git-worktree configuration 2023-08-14 19:31:30 +01:00
0c4b2d691d feat(nvim): telescope mapping to delete buffers 2023-08-08 23:59:42 +01:00
af70a9b56f fix(nvim): remove phpactor as an LSP server 2023-08-07 22:13:45 +01:00
aeb921e7e8 fix(nvim): re-add intelephense for completion 2023-08-07 21:51:38 +01:00
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
000bb2fd5e revert(nvim): add mappings for cnext and cprev
Removing these keymaps as they conflict with C-j and C-k which navigates
between horizontal splits in tmux.

I also already have `]q`, `[q`, `]l` and `[l` that do the same `cnext`
and `lnext` navigation.

This reverts commit a02e2765f4.
2023-07-28 09:02:15 +01:00
a02e2765f4 feat(nvim): add mappings for cnext and cprev 2023-07-26 09:53:23 +01:00
6c5b015aee chore(nvim): remove intelephense 2023-07-22 09:35:20 +01:00
1b397749ca revert(nvim): invoke completion menu manually
This reverts commit 1366a9d472.
2023-07-19 21:41:19 +01:00
1366a9d472 feat(nvim): invoke completion menu manually
Don't open the completion menu automatically but invoke it when needed
using <C-Space>.
2023-06-23 22:21:02 +01:00
ed0e7cf0a8 refactor(nvim): update Telescope preview settings 2023-06-23 10:11:33 +01:00
ee3054fe48 fix(nvim): re-add intelephense
Phpactor isn't providing LSP information or diagnostics within Drupal
tests whereas Intelephense does.

This means that I'm getting duplicate results in files where both
Intelephense and Phpactor are working, but I'll look into this again and
see if I can go back to using just Phpactor.
2023-06-22 07:56:36 +01:00
31602d9de6 chore(nvim): standardise Telescope themes 2023-06-21 10:13:19 +01:00