Commit graph

88 commits

Author SHA1 Message Date
Oliver Davies 112433a8bd Remove cursorline 2024-02-26 11:22:16 +00:00
Oliver Davies 2278577dc3 Remove colorcolumn and cursorline 2024-02-26 00:39:27 +00:00
Oliver Davies 3afe1bd12b Tidy neovim configuration
* Remove some unused plugins and packages.
  * e.g. floaterm, projectionist, vim-wiki, vim-easy-align,
    vim-surround, visual-star-search, vim-rhubarb
* Replace none-ls with conform.nvim and nvim-lint.
* Replace lualine.nvim with mini-statusline.
* Add neodev.
* Simplify cmp completion sources.
2024-02-24 22:26:31 +00:00
Oliver Davies 98737c69e9 Add and use alejandra to format Nix files 2024-02-13 21:47:56 +00:00
Oliver Davies 2e0eb1146c More keybindings to keep buffers centred 2024-01-31 18:03:40 +00:00
Oliver Davies f312e4d560 Remove Astro plugin and language server 2024-01-27 21:31:38 +00:00
Oliver Davies 2a72ffab2e Add grammarly-languageserver as an LSP 2024-01-25 23:35:57 +00:00
Oliver Davies fe9435df8a Set colorcolumn 2024-01-24 23:57:00 +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 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 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 288870b93d Add keymaps to easily run macros 2023-12-12 20:22:06 +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 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 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 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 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 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 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 dc0463c173 style: stylua 2023-09-27 21:03:47 +01:00
Oliver Davies db0b07caa9 fix(nvim): enable terraformls 2023-09-27 19:36:44 +01:00
Oliver Davies f9b8a73ca4 fix(nvim): ignore line lengths in markdown files 2023-09-05 13:34:44 +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 cbf6e4a29f fix(nvim): remove git-worktree configuration 2023-08-14 19:31:30 +01:00
Oliver Davies 61e4faa944 feat(nvim): telescope mapping to delete buffers 2023-08-08 23:59:42 +01:00
Oliver Davies 8863b8765c fix(nvim): remove phpactor as an LSP server 2023-08-07 22:13:45 +01:00
Oliver Davies 938480604a fix(nvim): re-add intelephense for completion 2023-08-07 21:51:38 +01:00
Oliver Davies 8634516e68 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 873a556538 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 a02e2765f44c8de5c7743d64f892645e98e1c71a.
2023-07-28 09:02:15 +01:00
Oliver Davies d2135e8454 feat(nvim): add mappings for cnext and cprev 2023-07-26 09:53:23 +01:00
Oliver Davies aa3e22243c chore(nvim): remove intelephense 2023-07-22 09:35:20 +01:00
Oliver Davies 76c3503b34 revert(nvim): invoke completion menu manually
This reverts commit 1366a9d472b6d2352b0eef0c849d1be45194e1cf.
2023-07-19 21:41:19 +01:00
Oliver Davies bd94dba7ff 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
Oliver Davies 3416b68871 refactor(nvim): update Telescope preview settings 2023-06-23 10:11:33 +01:00