better-tmux
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -15,3 +15,2 @@ /// <reference types="react" /> | ||
}; | ||
type Bind = `${string}-${string}`; | ||
type Toggle = "on" | "off"; | ||
@@ -26,3 +25,3 @@ export type Options = { | ||
setTitlesString?: string; | ||
prefix?: Bind; | ||
prefix?: string; | ||
baseIndex?: number; | ||
@@ -35,3 +34,10 @@ historyLimit?: number; | ||
}; | ||
type TmuxCommand = 'select-pane' | 'new-window' | 'new-window' | 'split-window' | 'select-pane' | 'select-window' | 'kill-pane' | 'kill-window' | 'resize-pane' | 'swap-pane' | 'rename-window' | 'list-panes' | 'list-windows' | 'list-sessions' | 'attach-session' | 'detach-client' | 'show-messages' | 'display-message' | 'copy-mode' | 'paste-buffer'; | ||
export type Bind = { | ||
key: string; | ||
command: TmuxCommand; | ||
options?: string[]; | ||
}; | ||
export type BetterTmuxConfig = { | ||
bindings?: Bind[]; | ||
options?: Options; | ||
@@ -38,0 +44,0 @@ theme?: Theme; |
{ | ||
"name": "better-tmux", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"exports": { | ||
@@ -5,0 +5,0 @@ ".": { |
export type WindowConfig = { | ||
number: number, | ||
name: string, | ||
type: "active" | "normal" | ||
type: "active" | "normal" | ||
} | ||
export type Theme = | ||
| "catppuccin-mocha" | ||
| "catppuccin-latte" | ||
| "catppuccin-macchiato" | ||
| "catppuccin-frappe" | ||
| "nord" | ||
| "dracula" | ||
export type Theme = | ||
| "catppuccin-mocha" | ||
| "catppuccin-latte" | ||
| "catppuccin-macchiato" | ||
| "catppuccin-frappe" | ||
| "nord" | ||
| "dracula" | ||
@@ -23,3 +23,3 @@ export type Status = { | ||
type Bind = `${string}-${string}` | ||
type Toggle = "on" | "off" | ||
@@ -31,7 +31,7 @@ | ||
paneBaseIndex?: number, | ||
statusKeys?: "vi" | "emacs" , | ||
statusKeys?: "vi" | "emacs", | ||
modeKeys?: "vi" | "emacs", | ||
setTitles?: Toggle, | ||
setTitlesString?: string, | ||
prefix?: Bind, | ||
prefix?: string, | ||
baseIndex?: number, | ||
@@ -45,7 +45,36 @@ historyLimit?: number, | ||
type TmuxCommand = | ||
| 'select-pane' | ||
| 'new-window' | ||
| 'new-window' | ||
| 'split-window' | ||
| 'select-pane' | ||
| 'select-window' | ||
| 'kill-pane' | ||
| 'kill-window' | ||
| 'resize-pane' | ||
| 'swap-pane' | ||
| 'rename-window' | ||
| 'list-panes' | ||
| 'list-windows' | ||
| 'list-sessions' | ||
| 'attach-session' | ||
| 'detach-client' | ||
| 'show-messages' | ||
| 'display-message' | ||
| 'copy-mode' | ||
| 'paste-buffer' | ||
export type Bind = { | ||
key: string, | ||
command: TmuxCommand, | ||
options?: string[] | ||
} | ||
export type BetterTmuxConfig = { | ||
bindings?: Bind[], | ||
options?: Options, | ||
theme?: Theme, | ||
theme?: Theme, | ||
status?: Status, | ||
window?: (config: WindowConfig) => JSX.Element | ||
} |
Sorry, the diff of this file is not supported yet
17730
620