Basic installation of Anju composes of two parts:
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)
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:
org-mouse
(require 'org-mouse)
M-x customize-variable org-export-backends, check md option.
C-x 1 to anju-toggle-one-window.
(keymap-global-set "C-x 1" #'anju-toggle-one-window)
use-file-dialog to t to support mouse-driven-only dialog interactions, or nil to always get a mini-buffer prompt.