Commit graph

326 commits

Author SHA1 Message Date
Oliver Davies 3fa266d1dc Update spellfile 2024-08-10 02:27:47 +01:00
Oliver Davies 641e8bae4e Remove cmdline completion
Let's see if this fixes some intermittent issues when trying to tab
complete in command mode.
2024-08-10 02:26:53 +01:00
Oliver Davies 142a55e82f Update files that are deleted after building 2024-08-09 09:14:44 +01:00
Oliver Davies 5221d941d0 Add Sculpin talk snippets 2024-08-08 21:51:35 +01:00
Oliver Davies f2407795a8 Update spellfile 2024-08-08 13:52:36 +01:00
Oliver Davies e2cd4531e8 Update spellfile 2024-07-23 12:11:01 +01:00
Oliver Davies 044684f616 Use jk in insert mode to switch back to visual
...mode
2024-07-23 12:10:13 +01:00
Oliver Davies 733f59570e Update Telescope mappings 2024-07-20 12:53:55 +01:00
Oliver Davies 2e5f676608 Enable spell checking within rst files 2024-07-20 12:31:07 +01:00
Oliver Davies 070b686d48 Add keymap for lsp_document_symbols 2024-07-17 19:56:12 +01:00
Oliver Davies 69fbc9f97f telescope: search all files
Even those in `.gitignore`.
2024-07-12 14:27:35 +01:00
Oliver Davies 40c873756c Ensure my custom keymaps are loaded 2024-07-10 02:10:58 +01:00
Oliver Davies fb3206fe12 Add comment 2024-07-10 02:10:09 +01:00
Oliver Davies 3c2810f1eb Refactor git commit filetype overrides 2024-07-10 02:01:29 +01:00
Oliver Davies 856c994e21 Add a default colorcolumn 2024-07-10 02:01:24 +01:00
Oliver Davies 9f80f12f48 Add keymaps for showing buffers and keymaps with
...Telescope
2024-07-10 02:01:09 +01:00
Oliver Davies 02dd935511 Fix paths 2024-07-10 02:01:00 +01:00
Oliver Davies 70c8eade7c cssls: exclude @tailwind and @apply at rule
...diagnostic errors
2024-07-09 19:54:45 +01:00
Oliver Davies c0d156f728 Use the scss filetype for .pcss files
While `.pcss` files contain PostCSS code, the `scss` filetype gives
better syntax highlighting than the standard `css` one.
2024-07-09 18:36:47 +01:00
Oliver Davies 690e61ee5e Refactor to use format_on_save instead of a
...custom autocmd
2024-07-08 16:37:49 +01:00
Oliver Davies 79afe5b876 Don't use the LSP as a fallback when formatting 2024-07-08 16:35:33 +01:00
Oliver Davies 212875603b Revert "Update to Neovim 0.10 via nixpkgs-unstable"
This reverts commit 38fc21d38a.
2024-07-08 10:50:02 +01:00
Oliver Davies ed2da4114e Update flake dependencies 2024-07-08 09:27:00 +01:00
Oliver Davies d16cfae1b1 Refactor LSP and Telescope configuration 2024-07-06 15:23:28 +01:00
Oliver Davies 38fc21d38a Update to Neovim 0.10 via nixpkgs-unstable 2024-07-06 15:23:28 +01:00
Oliver Davies 63f90b87a8 Combine custom keymaps 2024-07-06 15:23:28 +01:00
Oliver Davies a8f99675da Use flake-parts 2024-07-06 15:23:28 +01:00
Oliver Davies eab6448f28 Remove opdavies.vim 2024-07-06 12:08:35 +01:00
Oliver Davies eb677985cb Replace justfile with run 2024-07-06 12:02:25 +01:00
Oliver Davies 77aa4db95f harpoon: simplify keybindings 2024-06-29 15:14:02 +01:00
Oliver Davies 6713a0d01f Re-enable global statusline with mini.statusline
From the README file:

```lua
-- Whether to set Vim's settings for statusline (make it always shown
-- with 'laststatus' set to 2).
-- To use global statusline, set this to `false` and 'laststatus' to 3.
set_vim_settings = true,
```
2024-06-29 15:14:02 +01:00
Oliver Davies e4e9727819 Add vim-autoread
> Automatically causes vim to reload files which have been written on
disk but not modified in the buffer since the last write from vim. This
enables a file open in vim to be edited using another application and
saved. Upon returning to vim, as long as you haven't modified the file
since the last change, the file will be automatically updated to reflect
the changes made on disk, as though you had pressed :e manually.

https://github.com/djoshea/vim-autoread
2024-06-21 02:35:00 +01:00
Oliver Davies 0e82afca1b Re-add mini.statusline 2024-06-21 02:27:29 +01:00
Oliver Davies ad707df990 Update spellfile 2024-06-19 06:45:44 +01:00
Oliver Davies fb1bbd2868 Open ":G status" with Fugitive in its own buffer
Not in a split.
2024-06-19 06:45:19 +01:00
Oliver Davies f524294339 Remove .tmuxinator.yaml 2024-06-19 06:41:32 +01:00
Oliver Davies f267b6d226 Skip confirmation for simple edits 2024-06-16 21:36:32 +01:00
Oliver Davies 2453186ee1 Re-add vim-tmux-navigator 2024-06-12 19:42:13 +01:00
Oliver Davies 60b84f242e Switch from NixOS unstable to 24.05 by default 2024-06-11 07:40:51 +01:00
Oliver Davies effba3164f Add words 2024-06-10 20:21:48 +01:00
Oliver Davies b00cef78af Enable formatting on save
I've usually been against auto-formatting on save and instead preferred
to trigger it manually using its own keybinding.

I'm enabling it for now to see how I feel about it and I'll either keep
or revert it.
2024-06-10 10:02:04 +01:00
Oliver Davies e8531ba993 Remove alejandra 2024-06-10 10:02:04 +01:00
Oliver Davies 8f9401594b Re-add vim-projectionist
Whilst I wasn't able to get it to work for all my use cases previously,
it is useful for creating alternative files in Fractal, such as
switching between the `*.config.yml` and `*.twig` files for a component.

Other use cases, such as creating alternative files for classes and
tests in PHP and Drupal projects, I can look at again now the plugin is
installed.
2024-06-10 09:32:17 +01:00
Oliver Davies fadcf5945c Remove unused binding 2024-06-08 19:54:25 +01:00
Oliver Davies 83a317f516 Replace vim-caser with vim-abolish
See https://github.com/tpope/vim-abolish.

From the docs:

> Want to turn `fooBar` into `foo_bar`? Press `crs` (coerce to
snake_case). MixedCase (`crm`), camelCase (`crc`), UPPER_CASE (`cru`),
dash-case (`cr-`), and dot.case (`cr.`) are all just 3 keystrokes away.

The substitution functionality looks interesting, too:

> From a conceptual level, one way to think about how this substitution
works is to imagine that in the braces you are declaring the
requirements for turning that word from singular to plural. In the
facility example, the same base letters in both the singular and plural
form of the word are `facilit` To turn "facility" to a plural word you
must change the `y` to `ies` so you specify `{y,ies}` in the braces.

> To convert the word "building" from singular to plural, again look at
the common letters between the singular and plural forms: `building.` In
this case you do not need to remove any letter from building to turn it
into plural form and you need to add an `s` so the braces should be
`{,s}.`
2024-06-08 19:12:39 +01:00
Oliver Davies c53357c8d0 Update todos 2024-06-07 23:55:22 +01:00
Oliver Davies 421edb67b2 Add keymaps for navigating between splits 2024-06-01 14:48:32 +01:00
Oliver Davies 6336b36659 Refactor LSP server configuration 2024-06-01 14:48:25 +01:00
Oliver Davies 4e54650790 Run just update 2024-05-31 18:34:33 +01:00
Oliver Davies 5a79b8e412 Update spellings 2024-05-31 18:34:01 +01:00