[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29639] [PATCH] gnu: Add emacs-string-inflection.
From: |
Maxim Cournoyer |
Subject: |
[bug#29639] [PATCH] gnu: Add emacs-string-inflection. |
Date: |
Sun, 10 Dec 2017 00:45:20 -0500 |
Hello,
This Emacs package can be used to easily adapt symbol names to different
naming schemes/conventions.
Example of activation for your .emacs:
;;; Cycle between snake case, camel case, etc.
(require 'string-inflection)
(global-set-key (kbd "C-c i") 'string-inflection-cycle)
(global-set-key (kbd "C-c C") 'string-inflection-camelcase) ;; Force to
CamelCase
(global-set-key (kbd "C-c L") 'string-inflection-lower-camelcase) ;; Force to
lowerCamelCase
(global-set-key (kbd "C-c u") 'string-inflection-underscore)
(global-set-key (kbd "C-c J") 'string-inflection-java-style-cycle) ;; Cycle
through Java styles
Thanks!
Maxim
0001-gnu-Add-emacs-string-inflection.patch
Description: Text Data
signature.asc
Description: PGP signature
- [bug#29639] [PATCH] gnu: Add emacs-string-inflection.,
Maxim Cournoyer <=