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
Oliver Davies
76d72543e5
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
Oliver Davies
06ef19823b
chore(nvim): standardise Telescope themes
2023-06-21 10:13:19 +01:00
Oliver Davies
13a3c83138
fix(nvim): code formatting and diagnostics
2023-06-21 09:01:21 +01:00
Oliver Davies
3fa8821d96
feat(nvim): add keymap for formatting text
2023-06-21 09:01:21 +01:00
Oliver Davies
d2cdc5f732
feat(nvim): add nixd
2023-06-20 01:39:23 +01:00
Oliver Davies
90fbd90a33
feat(nvim): show matches in a split window
2023-06-04 14:04:08 +01:00
Oliver Davies
e285152992
feat: enable Phpactor
...
Refs: #41
2023-05-19 12:23:09 +01:00
Oliver Davies
025ec531ae
feat(nvim): only run PHPCS if there is a
...
...phpcs.xml.dist file.
2023-05-11 14:14:03 +01:00