Commit graph

71 commits

Author SHA1 Message Date
Oliver Davies 3c67aad960 chore(nvim): update gitsigns keymaps 2023-08-11 00:29:01 +01:00
Oliver Davies b9a0d52e86 feat(nvim): add fugitive keymaps
Add keymaps to open `git status` within Fugitive as well as push and
pull changes within a fugitive buffer.
2023-08-11 00:29:01 +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 8a0404356f chore(nvim): remove lualine packages 2023-08-07 22:03:45 +01:00
Oliver Davies 938480604a fix(nvim): re-add intelephense for completion 2023-08-07 21:51:38 +01:00
Oliver Davies 7c6996cc70 chore(nvim): change vim-test strategy 2023-08-07 21:51:20 +01:00
Oliver Davies f64e177e6d fix(flake): not loading nvim configuration 2023-08-07 19:37:25 +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 511f7fe21e feat(nvim): configure lualine 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 79a3a22a3c feat: transparency in alacritty and nvim 2023-06-10 10:20:54 +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
Oliver Davies d5428bbc0c feat(nvim): add snippet to create a Pest test 2023-05-11 13:55:56 +01:00
Oliver Davies f915867db1 chore(nvim): re-add cmdheight
Without this, I can't see when a macro is recording.
2023-05-10 20:33:02 +01:00
Oliver Davies 5d60b15487 chore(nvim): remove winbar 2023-05-10 20:32:54 +01:00
Oliver Davies 88c7aa39da chore(nvim): stop automated resizing 2023-05-10 20:32:46 +01:00
Oliver Davies a779e665ae chore(nvim): no longer using Packer 2023-05-10 20:32:24 +01:00
Oliver Davies 5ff6e004d9 feat(nvim): add key bindings for Phpactor 2023-05-10 12:36:54 +01:00
Oliver Davies 41a4fef20f chore(nvim): remove old lir configuration 2023-05-10 12:33:23 +01:00
Oliver Davies 0a59ec3664 feat(nvim): evaluate replacing Intelephense with
...Phpactor

Refs: #41
2023-05-10 01:44:29 +01:00
Oliver Davies 3f59c7f9d6 feat(nvim): ignore key mapping error 2023-05-09 19:08:53 +01:00
Oliver Davies 5f477e53e1 fix(nvim): remove plugins.lua 2023-05-02 01:13:33 +01:00
Oliver Davies d573f2d035 fix(nvim): eslint errors on first lines of buffers
Only run eslint when an .eslintrc.js file is present in the project
root.
2023-04-30 23:12:20 +01:00
Oliver Davies 0352479474 fix(nvim): set signcolumn
Stop the window moving when a new Gitsigns column is added.
2023-04-30 10:52:48 +01:00
Oliver Davies e074282f00 chore(nvim): re-add virtual text 2023-04-30 10:52:24 +01:00
Oliver Davies abb73b37f5 chore(nvim): remove sign icons 2023-04-30 10:52:07 +01:00
Oliver Davies 68b814d3cd fix(nvim): additional LSP keybindings 2023-04-30 10:51:44 +01:00
Oliver Davies 151ce3da63 feat(nvim): finish configuring lsp-zero.nvim
Fixes #49
2023-04-29 10:55:45 +01:00
Oliver Davies 5e86877304 chore(nvim): tweak indent line colours 2023-04-26 00:04:44 +01:00
Oliver Davies 64a3a91bdc refactor(nvim): use lsp-zero.nvim 2023-04-18 11:43:50 +01:00
Oliver Davies 36f5640249 fix(nvim): install Treesitter grammars with Nix
Fixes #48
2023-04-17 17:58:31 +01:00
Oliver Davies 2a7721e2c9 feat(nvim): replace sumneko_lua with lua_ls 2023-04-08 09:44:29 +01:00
Oliver Davies ddb4e8809f fix(nvim): remove unused user command 2023-04-06 00:26:26 +01:00
Oliver Davies b99b4eef04 fix(nvim): treesitter parser location issue 2023-04-06 00:25:49 +01:00
Oliver Davies 2cf0eb8cfc feat(nvim): config updates 2023-03-22 22:24:53 +00:00
Oliver Davies 50c3a1df03 feat: make working with Pulumi in Python nicer 2023-03-14 11:18:53 +00:00
Oliver Davies b5e6ec57ec feat(nvim): automatically find files
Run "nvim +GoToFile" to open Neovim and automatically open Telescope to
find the file that I need.

The idea was taken from @joshmedeski when he mentioned it in a podcast
with @nicknisi.

https://youtu.be/17o9QrCcF_o
https://github.com/joshmedeski/dotfiles/search?q=GoToFile
2023-02-24 09:43:29 +00:00