Oliver Davies
799ca92f40
Automatically close brackets, parentheses and
...
...quotes whilst in insert mode in Neovim
2023-12-19 00:34:30 +00:00
Oliver Davies
a4fb59d193
Display Harpoon window at the top of the screen
2023-12-17 20:29:06 +00:00
Oliver Davies
4259ab0985
Add keymaps to easily run macros
2023-12-12 20:22:06 +00:00
Oliver Davies
bad8b22a3b
Upgrade to Harpoon 2
2023-12-11 17:45:36 +00:00
Oliver Davies
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
Oliver Davies
06f660dcd6
Configure netrw in Neovim
2023-11-29 09:57:49 +00:00
Oliver Davies
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
Oliver Davies
55dbee27d9
Update PHP test method snippets
2023-11-29 09:42:19 +00:00
Oliver Davies
ad4b86b8a3
revert(nvim): update Harpoon mappings
...
This reverts commit e05aadef34
.
2023-11-23 11:54:55 +00:00
Oliver Davies
249f05860f
feat(neovim): configure markdownlint
...
Prevent diagnostic messages for duplicate sibling headings and line
length.
2023-11-21 16:16:40 +00:00
Oliver Davies
e05aadef34
chore(nvim): update Harpoon mappings
2023-11-21 08:01:37 +00:00
Oliver Davies
3af2f96b89
chore(nvim): update treesitter configuration
2023-11-14 20:15:12 +00:00
Oliver Davies
5449d8c021
chore(nvim): configure lualine
2023-11-07 07:53:58 +00:00
Oliver Davies
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
Oliver Davies
f97d7008e2
feat(nvim): configure lualine
2023-11-04 20:37:30 +00:00
Oliver Davies
5c31b63308
refactor(nvim): sort keymaps alphabetically
2023-11-04 10:19:20 +00:00
Oliver Davies
6d38e5e83e
fix(nvim): configure undodir
2023-10-29 23:13:08 +00:00
Oliver Davies
941d9951bd
feat(nvim): configure cmdline completion
2023-10-27 21:12:23 +01:00
Oliver Davies
e6ab9a780b
fix(nvim): add missing character
2023-10-20 07:56:38 +02:00
Oliver Davies
3b00490b55
refactor(nvim): add opdavies/init.lua
2023-10-18 22:57:11 +02:00
Oliver Davies
0531c2ffdd
chore(nvim): replace splitjoin with treesj
2023-10-18 22:42:48 +02:00
Oliver Davies
d587bbed9a
feat(nvim): add snippet for adding vim plugins
2023-10-12 09:44:35 +01:00
Oliver Davies
ecaae11b4d
feat(nvim): add grep_prompt
2023-10-11 17:43:55 +01:00
Oliver Davies
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
Oliver Davies
759fba125a
fix(nvim): next and prev hunk keymaps
2023-10-09 00:11:54 +01:00
Oliver Davies
20afce7321
chore(nvim): use run
2023-10-07 22:32:23 +01:00
Oliver Davies
80d9347a73
chore(nvim): remove drupalclass
...
This has been replaced by generation tools within Phpactor.
2023-10-03 18:19:01 +01:00
Oliver Davies
57db76b1e5
refactor(nvim): replace null-ls with none-ls
2023-10-01 21:55:38 +01:00
Oliver Davies
bf21d7de56
feat(nvim): use neoterm with vim-test
2023-09-29 21:31:12 +01:00
Oliver Davies
ec9cc45572
feat(nvim): re-add lualine-lsp-progress
2023-09-28 07:22:58 +01:00
Oliver Davies
5ef648b6af
style: stylua
2023-09-27 21:03:47 +01:00
Oliver Davies
82122ee03b
feat(nvim): add lualine
2023-09-27 21:01:28 +01:00
Oliver Davies
e0ba018af8
fix(nvim): enable terraformls
2023-09-27 19:36:44 +01:00
Oliver Davies
028c69bccf
chore(nvim): remove unused configuration
2023-09-18 22:49:55 +01:00
Oliver Davies
5864c63cf3
feat(nvim): add friendly-snippets
2023-09-15 19:20:40 +01:00
Oliver Davies
83b51ebdf4
feat(nvim): add a keymap for switching to the
...
...alternative file
2023-09-14 19:08:50 +01:00
Oliver Davies
e37e283d95
fix(nvim): ignore line lengths in markdown files
2023-09-05 13:34:44 +01:00
Oliver Davies
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
Oliver Davies
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
Oliver Davies
2c709d3fcd
fix(nvim): re-add completion configuration
2023-09-05 07:24:34 +01:00
Oliver Davies
3614d71a2c
style(nvim): run stylua
2023-09-04 11:05:13 +01:00
Oliver Davies
62765d25aa
fix(nvim): disable key ordering check again
2023-09-04 08:20:33 +01:00
Oliver Davies
b66a8bb3d2
chore(nvim): remove lsp-zero
2023-09-04 08:11:43 +01:00
Oliver Davies
4bea747ffa
revert(nvim): re-add lualine and noice
...
This reverts commit db7d2b442f
.
2023-09-01 12:11:15 +01:00
Oliver Davies
adcbc6b3de
fix(nvim): ignore .direnv from Telescope and Git
2023-08-30 10:34:01 +01:00
Oliver Davies
db7d2b442f
feat(nvim): re-add lualine and noice
2023-08-29 21:46:02 +01:00
Oliver Davies
90fa8596cb
feat(nvim): re-add todo-comments.nvim
2023-08-27 17:34:58 +01:00
Oliver Davies
9e4e746052
fix(nvim): remove git-worktree configuration
2023-08-14 19:31:30 +01:00
Oliver Davies
9bf205edd8
feat(nvim): add more Harpoon keymaps
2023-08-14 00:50:49 +01:00
Oliver Davies
b63b84e2f1
feat(nvim): add undotree
2023-08-14 00:23:46 +01:00
Oliver Davies
ae4c829b4e
chore(nvim): update gitsigns keymaps
2023-08-11 00:29:01 +01:00
Oliver Davies
ce6193bb7b
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
0c4b2d691d
feat(nvim): telescope mapping to delete buffers
2023-08-08 23:59:42 +01:00
Oliver Davies
af70a9b56f
fix(nvim): remove phpactor as an LSP server
2023-08-07 22:13:45 +01:00
Oliver Davies
202dceada3
chore(nvim): remove lualine packages
2023-08-07 22:03:45 +01:00
Oliver Davies
aeb921e7e8
fix(nvim): re-add intelephense for completion
2023-08-07 21:51:38 +01:00
Oliver Davies
b18152cb4a
chore(nvim): change vim-test strategy
2023-08-07 21:51:20 +01:00
Oliver Davies
894de5d3e6
fix(flake): not loading nvim configuration
2023-08-07 19:37:25 +01:00
Oliver Davies
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
Oliver Davies
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
Oliver Davies
a02e2765f4
feat(nvim): add mappings for cnext and cprev
2023-07-26 09:53:23 +01:00
Oliver Davies
6c5b015aee
chore(nvim): remove intelephense
2023-07-22 09:35:20 +01:00
Oliver Davies
0580fd54dc
feat(nvim): configure lualine
2023-07-22 09:35:20 +01:00
Oliver Davies
1b397749ca
revert(nvim): invoke completion menu manually
...
This reverts commit 1366a9d472
.
2023-07-19 21:41:19 +01:00
Oliver Davies
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
Oliver Davies
ed0e7cf0a8
refactor(nvim): update Telescope preview settings
2023-06-23 10:11:33 +01:00
Oliver Davies
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
Oliver Davies
31602d9de6
chore(nvim): standardise Telescope themes
2023-06-21 10:13:19 +01:00
Oliver Davies
61ee8411e1
fix(nvim): code formatting and diagnostics
2023-06-21 09:01:21 +01:00
Oliver Davies
a9c7ab3f67
feat(nvim): add keymap for formatting text
2023-06-21 09:01:21 +01:00
Oliver Davies
07b9d08a3e
feat(nvim): add nixd
2023-06-20 01:39:23 +01:00
Oliver Davies
e2a8f86899
refactor(sway): manage with Home Manager
2023-06-13 12:33:34 +01:00
Oliver Davies
7c8e2d3284
refactor(i3status-rs): manage with Home Manager
2023-06-12 08:43:37 +01:00
Oliver Davies
ab36de47a7
feat: transparency in alacritty and nvim
2023-06-10 10:20:54 +01:00
Oliver Davies
7fd477519a
feat(sway): configure swaylock
2023-06-04 18:15:28 +01:00
Oliver Davies
ddc4e57109
feat(sway): add binding to open a browser
2023-06-04 16:28:33 +01:00
Oliver Davies
89aa90aa34
feat(i3status-rs): updates
2023-06-04 14:05:14 +01:00
Oliver Davies
1f4ba88a17
feat(nvim): show matches in a split window
2023-06-04 14:04:08 +01:00
Oliver Davies
0a6d1f8e3a
feat(sway): start assigning apps to workspaces
2023-06-04 14:03:25 +01:00
Oliver Davies
bf3d81656d
feat: caps lock key configuration
...
Esc on press, ctrl on hold.
2023-06-03 11:09:59 +01:00
Oliver Davies
342ea10202
feat(sway): add volume key bindings
2023-05-31 20:51:12 +01:00
Oliver Davies
8db35779f7
feat(i3config-rs): updates
2023-05-31 20:47:56 +01:00
Oliver Davies
62751a9974
feat(phpactor): override the default template
...
Make classes final and enable strict types by default.
Refs: #41
2023-05-31 13:50:02 +01:00
Oliver Davies
f933b7c2e1
chore(sway): updates
2023-05-31 13:50:02 +01:00
Oliver Davies
e582b41bde
chore(sway): updates
2023-05-30 00:57:53 +01:00
Oliver Davies
807e8f177c
feat: sway configuration
...
- Change the mod key to Alt.
- Change the keyboard input language to UK.
- Replace dmenu with wofi.
- Disable the laptop screen when used in clam mode (lid closed with an
external monitor).
- Override the GTK theme to ensure that a dark theme is used in all apps
(e.g. Firefox).
See:
- https://github.com/swaywm/sway/wiki#clamshell-mode
- https://wiki.archlinux.org/title/Sway#Keymap
2023-05-25 23:37:35 +01:00
Oliver Davies
ef64b0e03d
feat(sway): initial configuration
2023-05-22 22:45:23 +01:00
Oliver Davies
03ff33fc6f
feat: enable Phpactor
...
Refs: #41
2023-05-19 12:23:09 +01:00
Oliver Davies
f468f8aa5f
feat(nvim): only run PHPCS if there is a
...
...phpcs.xml.dist file.
2023-05-11 14:14:03 +01:00
Oliver Davies
9f065ea19d
feat(nvim): add snippet to create a Pest test
2023-05-11 13:55:56 +01:00
Oliver Davies
c5b2bafe34
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
4814bbea3f
chore(nvim): remove winbar
2023-05-10 20:32:54 +01:00
Oliver Davies
bcbdcabd32
chore(nvim): stop automated resizing
2023-05-10 20:32:46 +01:00
Oliver Davies
8512b12430
chore(nvim): no longer using Packer
2023-05-10 20:32:24 +01:00
Oliver Davies
c38b0732ad
feat(nvim): add key bindings for Phpactor
2023-05-10 12:36:54 +01:00
Oliver Davies
1e22556f6a
feat(nvim): add Phpactor templates for Drupal tests
2023-05-10 12:36:54 +01:00
Oliver Davies
b975044a9e
chore(nvim): remove old lir configuration
2023-05-10 12:33:23 +01:00
Oliver Davies
9ecc92f7d1
feat(nvim): evaluate replacing Intelephense with
...
...Phpactor
Refs: #41
2023-05-10 01:44:29 +01:00
Oliver Davies
bc149e3deb
feat(nvim): ignore key mapping error
2023-05-09 19:08:53 +01:00
Oliver Davies
1be69caabb
fix(nvim): remove plugins.lua
2023-05-02 01:13:33 +01:00