This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
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
after/ftplugin Remove oil filetype configuration 2024-05-31 18:33:39 +01:00
autoload refactor(nvim): manage Neovim with Home Manager 2022-10-04 09:38:42 +01:00
lib Replace vim-caser with vim-abolish 2024-06-08 19:12:39 +01:00
lua/opdavies Add keymaps for navigating between splits 2024-06-01 14:48:32 +01:00
overlays Replace vim-caser with vim-abolish 2024-06-08 19:12:39 +01:00
plugin Remove nvim-tmux-navigation 2024-05-22 14:26:05 +01:00
spell Update spellings 2024-05-31 18:34:01 +01:00
.envrc Add initial flake 2024-01-24 09:27:24 +00:00
.gitignore Configure spelling and a custom dictionary file 2024-05-14 13:00:32 +01:00
.luacheckrc Tidy neovim configuration 2024-02-24 22:26:31 +00:00
.markdownlint.yaml Ignore some markdownlint rules 2024-03-14 01:30:45 +00:00
.tmuxinator.yaml Add .tmuxinator.yaml 2024-03-29 01:25:37 +00:00
CHANGELOG.md Update gitsigns keymaps 2024-03-14 01:41:40 +00:00
flake.lock Run just update 2024-05-31 18:34:33 +01:00
flake.nix Use and format with nixfmt-rfc-style 2024-05-15 19:55:51 +01:00
init.lua Add init.lua 2024-01-24 09:27:24 +00:00
justfile Add PHP filetype for inc and module extensions 2024-04-07 11:50:57 +01:00
stylua.toml Add stylua.toml 2024-01-23 21:44:26 +00:00
todo Update todos 2024-06-07 23:55:22 +01:00