abhinav / abhinav/tmux-fastcopy

Break apart tmux-fastcopy and fastcopy binary

Open
#127 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
97
Forks
6
Avg merge
2m
Merged PRs (30d)
2

Description

Separate into two binaries:

- fastcopy would read from stdin and display a widget to select text; all options are passed as CLI arguments or env vars
- tmux-fastcopy handles the tmux integration: looking up tmux config, etc. and calling the fastcopy binary

This would be a first step towards integration elsewhere, e.g. kitty terminal overlays, possibly nvim overlays?

Contributor guide

No contributing guide indexed for this repository

Research direction

The current codebase is a single Go binary. Start by examining the main.go and any tmux-specific integration code. Identify the separation point: the core text selection widget logic should go into a new 'fastcopy' binary, while tmux configuration handling remains in 'tmux-fastcopy'. Look for existing build scripts or Makefile to understand the build process. 'Done' means two separate binaries that work together as before, with tmux-fastcopy invoking fastcopy.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, shell
Domain
cli, tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.