Use [brew] to install Hammerspoon:
brew install --cask hammerspoon
~/.hammerspoon/Spoons~/.hammerspoon/init.lua file in your preferred text editor.Add the following Lua script to load, configure, and start the ClipboardTool:
-- Load ClipboardTool Spoon
hs.loadSpoon("ClipboardTool")
-- Configure ClipboardTool
spoon.ClipboardTool.show_copied_alert = true -- Show an alert when something is copied
spoon.ClipboardTool.paste_on_select = true -- Automatically paste the selected item
-- Bind ClipboardTool to a hotkey (Cmd + Shift + V)
hs.hotkey.bind({"cmd", "shift"}, "v", function()
spoon.ClipboardTool:toggleClipboard()
end)
-- Start ClipboardTool
spoon.ClipboardTool:start()
Cmd + Shift + V to open the clipboard history.show_copied_alert option shows an alert each time something is copied to the clipboard.paste_on_select option automatically pastes the selected clipboard entry.For more customization options and detailed usage, refer to the ClipboardTool spoon documentation.