wpcarro / ivy-clipmenu.el

Ivy integration with cdown/clipmenu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ivy-clipmenu.el

MELPA

Ivy integration with the clipboard manager, clipmenu.

ivy-clipmenu in action

Usually clipmenu integrates with rofi or dmenu. This Emacs module integrates with ivy. Launch this when you want to select a clip.

Dependencies

  • ivy.el
  • clipmenu

Installation

To use this module, you must first install clipmenu and ensure that the clipmenud daemon is running. Refer to the installation instructions for those details.

Also ensure that you have the ivy module available in your Emacs. Consult the installation instructions for more information.

ivy-clipmenu is available on MELPA. To install you may need to run:

  • M-x package-refresh-contents
  • M-x package-install ivy-clipmenu

Configuration

This module intentionally does not define any keybindings since I'd prefer not to presume my users' preferences. Personally, I use EXWM as my window manager, so I call exwm-input-set-key and map it to ivy-clipmenu-copy. Your setup may look something like this:

(require 'ivy-clipmenu)
(global-set-key (kbd "C-M-v") #'ivy-clipmenu-copy)

Clipmenu itself supports a variety of environment variables that allow you to customize its behavior. These variables are respected herein. If you'd prefer to customize clipmenu's behavior from within Emacs, refer to the variables defined in this module.

For more information:

  • See clipmenu --help.
  • Visit github.com/cdown/clipmenu.

About

Ivy integration with cdown/clipmenu

License:MIT License


Languages

Language:Emacs Lisp 100.0%