tmux-oakthree
所属分类:其他
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2023-04-27 16:43:27
上 传 者:
sh-1993
说明: 一个以项目为中心的tmux抽象。
(A minimalist project-focused abstraction for tmux.)
文件列表:
LICENSE (1068, 2023-01-07)
bin/ (0, 2023-01-07)
bin/autogap (300, 2023-01-07)
bin/blank (151, 2023-01-07)
bin/bootstrap (420, 2023-01-07)
bin/delta-gap (286, 2023-01-07)
bin/edit-history (301, 2023-01-07)
bin/is-shell (164, 2023-01-07)
bin/jump-back (179, 2023-01-07)
bin/jump-forwards (177, 2023-01-07)
bin/new-project (235, 2023-01-07)
bin/new-shell (442, 2023-01-07)
bin/open-notes (273, 2023-01-07)
bin/quick-project (964, 2023-01-07)
bin/repeater (318, 2023-01-07)
bin/set-gap (267, 2023-01-07)
bin/switch-project (1072, 2023-01-07)
bin/switch-shell (1071, 2023-01-07)
lib/ (0, 2023-01-07)
lib/oakthree.sh (1265, 2023-01-07)
lib/tmux/ (0, 2023-01-07)
lib/tmux/center (1820, 2023-01-07)
lib/tmux/get-session (180, 2023-01-07)
lib/tmux/get-window (180, 2023-01-07)
lib/tmux/getv (320, 2023-01-07)
lib/tmux/has-project (214, 2023-01-07)
lib/tmux/hasv (223, 2023-01-07)
lib/tmux/history-jump (900, 2023-01-07)
lib/tmux/list-projects (405, 2023-01-07)
lib/tmux/new-project (1790, 2023-01-07)
lib/tmux/open-project (321, 2023-01-07)
lib/tmux/push-history (261, 2023-01-07)
lib/tmux/recenter (554, 2023-01-07)
lib/tmux/remove-window (316, 2023-01-07)
lib/tmux/setv (197, 2023-01-07)
lint (105, 2023-01-07)
oakthree.tmux (3860, 2023-01-07)
# tmux-oakthree
> a tmux abstraction for the working developer
[![Build Status](https://travis-ci.org/cfoust/tmux-oakthree.svg?branch=master)](https://travis-ci.org/cfoust/tmux-oakthree)
[![License:
MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
## features
* **fuzzy-find everything**: vim's [ctrlp](https://github.com/kien/ctrlp.vim)
plugin makes vim awesome. `oakthree` brings similar functionality to tmux so
that you never have to manage panes again.
* **portable**: All of `oakthree` is written in bash to keep dependencies
minimal and functionality consistent.
* **fast**: Since `oakthree` uses fzf, your development speed is no longer
bottlenecked by how quickly you can switch tmux windows. It saves you the
mental bandwidth of having to remember where all of your panes are.
* **comfort**: `oakthree` comes with a key binding (`prefix` G) that
centers whatever you're looking at in the center of your screen. No more
looking slightly to the left all day.
## purpose
`tmux` is wonderful. However, I found that I fell into the same pattern of
usage: I would jump to a directory, open vim, and open a shell. Sometimes I
would add another shell for long-running daemons, but ultimately I stuck to the
same few windows. What `oakthree` does is makes this pattern more intentional.
It hides all of the cruft like panes, windows, and status bars that come along
with tmux and gives you a rigid, fast, and consistent set of functionality out
of the box.
## usage
`oakthree` starts with just a single shell window. When you find a directory in
which you'd like to start working, make a new `oakthree` project with the
keybinding below. This opens a window with your `$EDITOR` and an accompanying
`$SHELL` that you can switch between easily.
## bindings
**Everywhere:**
* tmux prefix+K: Open a fuzzy-finder for your open
projects.
* tmux prefix+L: Open a fuzzy-finder for your open
shells.
* tmux prefix+J: Open a new shell in this window's
directory.
* tmux prefix+Ctrl+L: Switch between the
most recent shell and the most recent project.
* tmux prefix+G: Center or uncenter the current window.
**Just in projects:**
* [no prefix] Ctrl+L: Switch between a project's editor
and its shell.
## installation
Install [tpm](https://github.com/tmux-plugins/tpm) and
[fzf](https://github.com/junegunn/fzf). Add the following to your `.tmux.conf`:
```
set -g @plugin 'cfoust/tmux-oakthree'
```
Restart tmux and `tpm` will install oakthree automagically.
**NOTE:** `oakthree` is a replacement for tmux's default bindings and
environment. It switches to a new binding table and as a result none of your
other bindings will be preserved. This is by design; the goal of the project is
to offer an approachable and fast abstraction over the power of tmux. If you
rely heavily on making your own windows and panes programmatically, `oakthree`
is probably not for you.
近期下载者:
相关文件:
收藏者: