Permalink
Browse files

Add alias for kebab-case

  • Loading branch information...
1 parent 068db26 commit 3647361f13afd82eff2ff175e4ce87f33056645b @tommcdo tommcdo committed May 4, 2014
Showing with 2 additions and 0 deletions.
  1. +1 −0 doc/abolish.txt
  2. +1 −0 plugin/abolish.vim
View
1 doc/abolish.txt
@@ -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
View
1 plugin/abolish.vim
@@ -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")

0 comments on commit 3647361

Please sign in to comment.