Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #27 from tommcdo/kebab

Add alias for kebab-case
  • Loading branch information...
commit f0d785d9163ec40b6566a0cb9e073c4e41f21875 2 parents 068db26 + 3647361
Tim Pope authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  doc/abolish.txt
  2. +1 −0  plugin/abolish.vim
1  doc/abolish.txt
View
@@ -156,6 +156,7 @@ characters:
u: SNAKE_UPPERCASE
U: SNAKE_UPPERCASE
-: dash-case (not usually reversible; see |abolish-coercion-reversible|)
+ k: kebab-case (not usually reversible; see |abolish-coercion-reversible|)
.: dot-case (not usually reversible; see |abolish-coercion-reversible|)
For example, cru on a lowercase word is a slightly easier to type equivalent
1  plugin/abolish.vim
View
@@ -561,6 +561,7 @@ call extend(Abolish.Coercions, {
\ 'u': Abolish.uppercase,
\ 'U': Abolish.uppercase,
\ '-': Abolish.dashcase,
+ \ 'k': Abolish.dashcase,
\ '.': Abolish.dotcase,
\ "function missing": s:function("s:unknown_coercion")
\}, "keep")
Please sign in to comment.
Something went wrong with that request. Please try again.