Skip to content

rimeinn/tmux-rime

Repository files navigation

tmux-rime

pre-commit.ci status github/workflow

github/downloads github/downloads/latest github/issues github/issues-closed github/issues-pr github/issues-pr-closed github/discussions github/milestones github/forks github/stars github/watchers github/contributors github/commit-activity github/last-commit github/release-date

github/license github/languages github/languages/top github/directory-file-count github/code-size github/repo-size github/v

aur/votes aur/popularity aur/maintainer aur/last-modified aur/version

Rime for tmux.

screenshot

I use rime.nvim to input CJKV characters in neovim. However, for command mode and search mode, it cannot work. So I create it.

Dependence

See shell.nix.

Build

xmake

Configure

# tmux 3.3 starts to support display-popup
if 'v=$(tmux -V) v=${v#*.} v=${v%[[:lower:]]} test $v -gt 2' {
  set -g popup-border-lines rounded
  bind -Tprefix C-^ display-popup -Tㄓ -h4 -w122 -xR -yP tmux-rime
}

Or:

tmux split-window -l2 tmux-rime -- -t $TMUX_PANE

See

tmux-rime --help

to modify tmux-rime to "tmux-rime [...]".

Press Ctrl + C to exit.

Install

paru -S tmux-rime
nix-env -iA nur.repos.rimeinn.tmux-rime
add-apt-repository ppa:freedwu/rime
apt update
apt install tmux-rime
eselect repository enable guru
emaint sync -rguru
emerge -av app-misc/tmux-rime

Todo

  • Support more special keys: Up, Del, F1, ...
  • Use C library function to do the work of tmux send-keys to save the fork cost. Some experiment to wrap tmux to a library.
  • Use a daemon to avoid fork a new process every time

Related Projects

About

ㄓ rime for tmux

Resources

License

Stars

Watchers

Forks

Packages

No packages published