mux-sesh 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -113,15 +113,34 @@ Configuration is stored at `~/.config/mux-sesh/config.json`:
113
113
  }
114
114
  ```
115
115
 
116
-
117
116
  ### Configuration Options
118
117
 
119
- - **`project_Paths`** - Array of directories to scan for projects
120
- - **`repos_Path`** - Directory where GitHub repositories will be cloned
118
+ - **`project_paths`** - Array of directories to scan for projects
119
+ - **`repos_path`** - Directory where GitHub repositories will be cloned
121
120
  - **`editor`** - Default editor to use
122
- - **`editor_Cmd`** - Command to run when opening editor
121
+ - **`editor_cmd`** - Command to run when opening editor
123
122
  - **`keybind_mode`** - alternative keybinds for those who do not want vim like binds
124
- - **`start_in_search_mode`** - alternative keybinds for those who do not want vim like binds
123
+ - **`start_in_search_mode`** - Start in search mode by default
124
+
125
+ ### tmux Integration
126
+
127
+ For the best experience, bind mux-sesh to a global tmux keybinding. Add this to your `~/.tmux.conf`:
128
+
129
+ ```bash
130
+ # Open mux-sesh in a popup with Alt+w (no prefix required)
131
+ bind-key -n M-w popup -E -w 62% -h 70% "mux-sesh"
132
+ ```
133
+
134
+ After adding the binding, reload your tmux config:
135
+ ```bash
136
+ tmux source-file ~/.tmux.conf
137
+ ```
138
+
139
+ Now you can press `Alt+w` from anywhere in tmux (including inside nvim) to launch mux-sesh.
140
+
141
+ **Alternative Integration:**
142
+ - **From Neovim**: Use [mux-manager](https://github.com/quiet-ghost/mux-manager) - a Telescope-based tmux session manager that integrates directly into Neovim
143
+ - **With prefix**: Use `bind-key f popup -E -w 80% -h 80% "mux-sesh"` if you prefer requiring the tmux prefix key first
125
144
 
126
145
  ## Usage Examples
127
146
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mux-sesh",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "A beautiful tmux session manager built with OpenTUI - fuzzy search sessions, manage projects, clone from GitHub",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,10 +8,7 @@
8
8
  },
9
9
  "files": [
10
10
  "src",
11
- "bin",
12
- "README.md",
13
- "LICENSE",
14
- "config.example.json"
11
+ "bin"
15
12
  ],
16
13
  "scripts": {
17
14
  "dev": "bun run src/index.tsx",
package/src/tmux/index.ts CHANGED
@@ -144,7 +144,7 @@ export async function getSessionDetails(sessionName: string): Promise<SessionDet
144
144
  const windows: WindowInfo[] = []
145
145
 
146
146
  for (const line of windowLines) {
147
- const [index, name] = line.split(': ')
147
+ const [index, name] = line.split(':')
148
148
 
149
149
  // Get current directory
150
150
  const dirProc = spawn([
@@ -1,7 +0,0 @@
1
- {
2
- "project_paths": ["~/dev", "~/personal", "~/work", "~/projects"],
3
- "repos_path": "~/dev/repos",
4
- "editor": "nvim",
5
- "editor_cmd": "nvim -c \"lua vim.defer_fn(function() if pcall(require, 'telescope') then vim.cmd('Telescope find_files') end end, 100)\"",
6
- "keybind_mode": "vim"
7
- }