Commit graph

7 commits

Author SHA1 Message Date
Oliver Davies 9a7863e5e0 Add edit_alternate.vim
https://github.com/tjdevries/edit_alternate.vim

This works for switching between classes and tests in Drupal modules,
which is something I was struggling to do with Projectionist.

Different to Projectionist, though, this plugin doesn't create an
alternate file if it doesn't exist, and doesn't prompt to select from
multiple options and returns the first matching one.
2024-08-11 10:47:49 +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 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 0aacffa91f Remove vim-heritage
I can do this now using `oil.nvim`.
2024-05-22 14:26:05 +01:00
Oliver Davies 7d73b51229 Remove nvim-tmux-navigation 2024-05-22 14:26:05 +01:00
Oliver Davies a823cb2d01 Remove obsidian.nvim 2024-05-02 17:18:52 +01:00
Oliver Davies 6bc7c6a5fd Move customVim plugins into an overlay 2024-05-01 20:32:16 +01:00