4 Install

Basic installation of Anju composes of two parts:

  1. Turn on context-menu-mode to major modes of preference. This is done using the add-hook function as shown below.
    (add-hook 'prog-mode-hook #'context-menu-mode)
    (add-hook 'text-mode-hook #'context-menu-mode)
    (add-hook 'dired-mode-hook #'context-menu-mode)
    (add-hook 'shell-mode-hook #'context-menu-mode)
    
  2. Call anju-init in your Emacs initialization file.
    (anju-init)
    

Anju supports a high degree of customization. Users who wish this should make a deep read of the Customization section.

While not required, the following additions to your Emacs initialization file can further enhance your mouse experience: