Commit graph

165 commits

Author SHA1 Message Date
Oliver Davies 3137c0e096 awesome: make max the default layout 2024-07-03 09:08:47 +01:00
Oliver Davies 8f98a24ea1 awesome: add spacing between keybinds 2024-07-03 09:08:47 +01:00
Oliver Davies 795f996091 awesome: swap Mod+j and Mod+k keybindings
Make `Mod+j` go left and `Mod+k` go right, so they match the position of
the keys on the keyboard.
2024-07-03 09:08:47 +01:00
Oliver Davies f0f7e55a04 awesome: re-add the max layout 2024-06-27 20:50:50 +01:00
Oliver Davies 776bcfe7ea awesome: space out keybindings 2024-06-27 20:08:45 +01:00
Oliver Davies 56ccef5c7b awesome: add a keybinding to run flameshot 2024-06-27 20:08:45 +01:00
Oliver Davies 928e5c6938 awesome: prevent firefox from always opening in
...a maximised window
2024-06-27 20:08:43 +01:00
Oliver Davies b86cc3d7f0 Update awesome configuration 2024-06-21 08:36:27 +01:00
Oliver Davies 5347c04b3e Add awesome configuration 2024-06-15 13:26:18 +01:00
Oliver Davies 6d27e72b02 Extract neovim configuration to a separate
...repository

https://github.com/opdavies/opdavies.nvim
2024-01-24 12:10:46 +00:00
Oliver Davies d999e21d45 Add a keymap to run :Git commit 2024-01-17 22:11:59 +00:00
Oliver Davies 06ea9a5ff9 Add snippets for __invoke() and __construct() 2024-01-17 22:05:41 +00:00
Oliver Davies d706e0cdf1 Show trailing spaces 2024-01-14 17:15:41 +00:00
Oliver Davies 0b3301c53f Don't do completion in command mode
This is stopping normal expansion of things like `%:h` for the directory
of the current buffer.
2024-01-10 00:50:45 +00:00
Oliver Davies c700329642 Add Telescope mappings to find the current word 2024-01-08 17:50:15 +00:00
Oliver Davies f465870c82 Revert "Move key mappings"
This reverts commit b7f26524b0.
2024-01-08 17:50:15 +00:00
Oliver Davies d5b2d76dfb Revert "Automatically close brackets, parentheses and"
This reverts commit 799ca92f40.
2024-01-07 22:01:51 +00:00
Oliver Davies 4e1c3123a0 Switch back to 23.05
Issues with Neovim, Harpoon and/or Telescope.
2023-12-24 16:59:08 +00:00
Oliver Davies 4dd08d65bc Tailwind CSS autocomplete not working in Twig files 2023-12-21 11:05:33 +00:00
Oliver Davies e45c88490e 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 b7f26524b0 Move key mappings 2023-12-19 08:10:22 +00:00
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