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}.`
This commit is contained in:
Oliver Davies 2024-06-08 13:00:00 +01:00
parent c53357c8d0
commit 83a317f516
2 changed files with 1 additions and 11 deletions

View file

@ -50,7 +50,7 @@ rec {
in
[
vimPlugins.tabline-vim
vimPlugins.vim-caser
vimPlugins.vim-abolish
vimPlugins.vim-textobj-xmlattr
vimPlugins.vim-zoom

View file

@ -10,16 +10,6 @@ final: prev: {
};
};
vim-caser = final.vimUtils.buildVimPlugin {
name = "vim-caser";
src = final.fetchFromGitHub {
owner = "arthurxavierx";
repo = "vim-caser";
rev = "6bc9f41d170711c58e0157d882a5fe8c30f34bf6";
sha256 = "PXAY01O/cHvAdWx3V/pyWFeiV5qJGvLcAKhl5DQc0Ps=";
};
};
vim-textobj-xmlattr = final.vimUtils.buildVimPlugin {
name = "vim-textobj-xmlattr";
src = final.fetchFromGitHub {