ROCKTAKEY / grugru

Rotate text at point in Emacs.
GNU General Public License v3.0
63 stars 6 forks source link
emacs emacs-lisp emacs-package emacs-plugin

[[https://raw.githubusercontent.com/ROCKTAKEY/images/4524403fbcdd9abe6d88197eddb1c4d241046e72/grugru.png]] [[https://github.com/ROCKTAKEY/grugru][https://img.shields.io/github/tag/ROCKTAKEY/grugru.svg?style=flat-square]] [[file:LICENSE][https://img.shields.io/github/license/ROCKTAKEY/grugru.svg?style=flat-square]] [[https://github.com/ROCKTAKEY/grugru/actions][https://img.shields.io/github/actions/workflow/status/ROCKTAKEY/grugru/CI.yml.svg?style=flat-square]] [[https://codecov.io/gh/ROCKTAKEY/grugru?branch=master][https://img.shields.io/codecov/c/github/ROCKTAKEY/grugru/master.svg?style=flat-square]] [[https://melpa.org/#/grugru][file:https://melpa.org/packages/grugru-badge.svg]]

** ~(grugru-define-multiple &rest CLAUSES)~ This function define multiple grugru.

Each ~CLAUSE~ is:

** ~grugru-edit-save-file~ The name of file saved the information by ~grugru-edit~. Default value is "~/.emacs.d/.grugru".

** ~grugru-completing-function~ Completing function. Default value is ~completing-read~. If you would like to use ivy or ido, write:

+begin_src emacs-lisp :tangle yes

 ;; For ivy:
 (setq grugru-completing-function #'ivy-completing-read)
 ;; For ido:
 (setq grugru-completing-function #'ido-completing-read)

+end_src

** ~grugru-select-function-generate-number~ This variable have how many strings are generated from function in ~STRINGS-OR-FUNCTION~, on ~grugru-select~.

~grugru-local-interactively-default-getter~ Indicate default getter on interactive usage of ~grugru-define-local~. 0 means If 0, gets number from first string, otherwise it should be symbol in ~grugru-getter-alist~ or a function which gets things at point. ~grugru-point-after-rotate~ Where the point is after rotation by ~grugru~.