项目作者: ernstvanderlinden

项目描述 :
Emacs package to align column text in region
高级语言: Emacs Lisp
项目地址: git://github.com/ernstvanderlinden/emacs-aligny.git
创建时间: 2019-01-26T22:20:49Z
项目社区:https://github.com/ernstvanderlinden/emacs-aligny

开源协议:GNU General Public License v3.0

下载


Emacs - aligny

Emacs package to align column text in region.

Install

Clone

As this package is not on Melpa (yet), clone this repo and call package-install-file or simply add a load-path which points to aligny local repo. If you prefer, you could use quelpa as well.

Startup

To enable aligny on Emacs startup, add the following to your init.el:

  1. (require 'aligny)

Dependency

None

Usage

Interactive functions

  • M-x aligny-ampersand
  • M-x aligny-colon
  • M-x aligny-equals-sign
  • M-x aligny-quote
  • M-x aligny-whitespace

Key binding examples

  1. (global-set-key (kbd "C-x y a") 'aligny-ampersand)
  2. (global-set-key (kbd "C-x y c") 'aligny-colon)
  3. (global-set-key (kbd "C-x y e") 'aligny-equals-sign)
  4. (global-set-key (kbd "C-x y q") 'aligny-quote)
  5. (global-set-key (kbd "C-x y w") 'aligny-whitespace)