Tool that was built quickly for personal needs, you might find it useful though

Overview

COPYCAT


Produced with stable-diffusion

Clipboard (copy/paste) history buffer for terminal emulators, MAC OS gui and VIM* environment usage.

Rrequirements

  • MACOS
  • ZSH
  • Python3

NOTE: It's possible to use bash instead of zsh, but it will require manual tweaking of .bashrc file.

Instalation

Run this command from terminal: ./install.sh

Usage modes

There are 3 possible modes of usage:

  • Terminal emulator:
    You can use this mode when you are inside of the terminal and you want to access CB history directly inside of terminal window, without leaving terminal.
  • GUI:
    You can use this mode from wherever you are in the macos gui currently, for example you are in Chrome, just Double press Left Alt key ...
  • VIM:
    You can use this mode from inside of VIM, with some help of additional vim plugin mentioned in the description below

TERMINAL emulator usage

Open select menu from terminal with <CTRL> + t
Toggle preview of large CB items with key p
Navigate window with VIM like motions: j, k, gg, G, C-u, C-d
Confirm and copy selection to cliboard with Enter key
NOTE: You can customize keybinding for triggering copycat in terminal by editing ~/.zshrc file

GUI usage

Open select menu with Double press Left Alt key it's not remapable for now
Toggle preview of large CB items with key Mouse right click or key p
Navigate window with VIM like motions: j, k, gg, G, C-u, C-d
Confirm and copy selection to cliboard with Enter key or Mouse double left click

*VIM usage

You can use it in VIM with the help of this plugin:
https://github.com/voldikss/vim-floaterm

And add something like this into your vim config file:
noremap <C-t> :FloatermNew --title=copycat --width=1.0 --disposable --wintype=float --position=bottom python /usr/local/bin/popup.py<CR>

You might also like...
A tool crate to quickly build rust command line application.

Falsework A tool crate to quickly build rust command line application.

CLI tool to quickly create React + Typescript + Tailwind projects
CLI tool to quickly create React + Typescript + Tailwind projects

QUICK INIT CLI Tool to quickly create React projects with Tailwind automatically configured for use. Typescript is selected as default. If JS is to be

`ls` alternative with useful info and a splash of color 🎨
`ls` alternative with useful info and a splash of color 🎨

🎨 Natls 🎨 Why Natls? Showing file permissions Showing file size Showing the date that the file was modified last Showing the user that the file belo

Structopt derived ethers-rs types, useful for building Ethereum CLIs

ethers-structopt Provides ethers-compatible Structopt derives, useful for building Ethereum CLIs. Contributing Pull requests are welcome. For major ch

A collection of semi-useful tools made for GNU/Linux

DECTOOLS A collection of semi-useful tools made for GNU/Linux. Some may work on macOS, though functionality isn't a priority. Depenencies: python, bas

A CLI tool to find the dominant colours in an image 🎨
A CLI tool to find the dominant colours in an image 🎨

dominant_colours This is a command-line tool for finding the dominant colours of an image. It prints their hex codes to the terminal, along with a pre

A (aspiring to be fast) tool to find duplicate files.

find-duplicates A decenly fast tool to find duplicate files. Handles symbolic and hard links and treats them seperately to duplicates. Quickstart Inst

Quickly build cool CLI apps in Rust.

QuiCLI Quickly build cool CLI apps in Rust. Getting started Read the Getting Started guide! Thanks This is only possible because of all the awesome li

A CLI utility installed as
A CLI utility installed as "ansi" to quickly get ANSI escape sequences. Supports the most basic ones, like colors and styles as bold or italic.

'ansi' - a CLI utility to quickly get ANSI escape codes This Rust project called ansi-escape-sequences-cli provides an executable called ansi which ca

Owner
Dragan Jovanović
Dragan Jovanović
Rust command line utility to quickly display useful secrets in a Kubernetes namespace

kube-secrets This is a command line utility for quickly looking at secrets in a Kubernetes namespace that are typically looked at by humans. It specif

Frank Wiles 8 Feb 10, 2022
A CLI tool which can help you automatically kill process of your choice. Useful for freeing up memory and CPU usage!

Quickiller There are always programs such as chrome that keep eating up your resources even when closed! The only way to prevent this is to kill all o

Codingsquirrel 1 Dec 8, 2021
Quickly find all blackhole directories with a huge amount of filesystem entries in a flat structure

findlargedir About Findlargedir is a tool specifically written to help quickly identify "black hole" directories on an any filesystem having more than

Dinko Korunic 23 Oct 18, 2022
A diff-based data management language to implement unlimited undo, auto-save for games, and cloud-apps which needs to retain every change.

Docchi is a diff-based data management language to implement unlimited undo, auto-save for games, and cloud-apps which needs to save very often. User'

juzy 21 Sep 19, 2022
Firefox used to have this feature a while back (from Firefox 11 to 46) and it is so good, that I feel it needs revival.

3D WebPage Inspector By: Seanpm2001, Et; Al. Top README.md Read this article in a different language Sorted by: A-Z Sorting options unavailable ( af A

Sean P. Myrick V19.1.7.2 3 Nov 10, 2022
fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find

fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find. While it does not aim to support all of find's powerful functionality, it provides sensible (opinionated) defaults for a majority of use cases.

David Peter 25.4k Nov 24, 2022
Jumpy is a tool that allows to quickly jump to one of the directory you've visited in the past

Jumpy Jumpy is a tool that allows to quickly jump to one of the directory you've visited in the past. It is heavily inspired by Zoxide but is more lig

Clément Nerma 2 Oct 3, 2022
Introducing Inlyne, a GPU powered yet browsless tool to help you quickly view markdown files in the blink of an eye.

Inlyne - a GPU powered, browserless, markdown + html viewer inlyne README.md --theme dark/light About Markdown files are a wonderful tool to get forma

null 301 Dec 1, 2022
FastSSH is a TUI that allows you to quickly connect to your services by navigating through your SSH config.

Connect quickly to your services ?? FastSSH is a TUI that allows you to quickly connect to your services by navigating through your SSH config. Instal

Julien 82 Nov 15, 2022
The application that can be used for personal usage to manage jira from terminal.

Jira Terminal This application can be used for personal usage to manage jira from terminal. Installation This application can be used in multiple plat

Amrit Ghimire 109 Nov 7, 2022