Commit graph

81 commits

Author SHA1 Message Date
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
Oliver Davies 491b6bcc3f 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 52e323be81 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 fe4833cdba chore(nvim): re-add virtual text 2023-04-30 10:52:24 +01:00
Oliver Davies 7c8dfc5ad4 chore(nvim): remove sign icons 2023-04-30 10:52:07 +01:00
Oliver Davies dbfcc97708 fix(nvim): additional LSP keybindings 2023-04-30 10:51:44 +01:00
Oliver Davies 35bef73170 feat(nvim): finish configuring lsp-zero.nvim
Fixes #49
2023-04-29 10:55:45 +01:00
Oliver Davies 9289ace4c3 chore(nvim): tweak indent line colours 2023-04-26 00:04:44 +01:00
Oliver Davies f58ef51f0f refactor(nvim): use lsp-zero.nvim 2023-04-18 11:43:50 +01:00
Oliver Davies 2a8f42c267 fix(nvim): install Treesitter grammars with Nix
Fixes #48
2023-04-17 17:58:31 +01:00
Oliver Davies 4add1d9f07 feat(nvim): replace sumneko_lua with lua_ls 2023-04-08 09:44:29 +01:00
Oliver Davies 6efab85b97 fix(nvim): remove unused user command 2023-04-06 00:26:26 +01:00
Oliver Davies 388b423114 fix(nvim): treesitter parser location issue 2023-04-06 00:25:49 +01:00
Oliver Davies dc9ee849bb fix: use the generated Alacritty configuration 2023-04-05 23:11:32 +01:00