Coder Social home page Coder Social logo

ah's Introduction

Additional Hooks for Emacs

About

This package provides additional hooks for Emacs.

Please open issues if you have any idea to extend this package. I will implement new additional hooks as much as possible.

Configure

Put this package into your load-path. After that, enable ah-mode minor mode.

For instance,

(when (require 'ah nil t)
  (ah-mode 1))

Hooks for moving cursor

Providing two hooks for your actions on moving the cursor. It is useful when you want to kick some commands without using pre-command-hook and/or post-command-hook.

  • ah-before-move-cursor-hook
  • ah-after-move-cursor-hook

ah-before-move-cursor-hook, ah-after-move-cursor-hook

  • Hook for next-line, previous-line, forward-char, backward-char, syntax-subword-forward, syntax-subword-backward, move-beginning-of-line, move-end-of-line, beginning-of-buffer, and end-of-buffer.

Hooks for C-g action

Providing two hooks for your actions on typing C-g.

  • ah-before-c-g-hook
  • ah-after-c-g-hook

ah-before-c-g-hook, ah-after-c-g-hook

  • Hook for keyboard-quit and isearch-abort.

Hooks for enabling theme

Providing two hooks that will activate when changing theme.

  • ah-before-enable-theme-hook
  • ah-after-enable-theme-hook

ah-before-enable-theme-hook, ah-after-enable-theme-hook

  • These hooks will be called in enable-theme, and load-theme without NO-ENABLE argument.

ah's People

Contributors

takaxp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.