dblume commited on 2025-07-19 10:24:10
Showing 1 changed files, with 5 additions and 0 deletions.
Got the idea from this guy who uses opencode.ai with neovim. See: https://www.youtube.com/watch?v=70cN9swORE8&t=440s
| ... | ... |
@@ -37,6 +37,11 @@ bind -n M-j select-pane -D |
| 37 | 37 |
bind -n M-k select-pane -U |
| 38 | 38 |
bind -n M-l select-pane -R |
| 39 | 39 |
|
| 40 |
+# open an app in current directory in a popup |
|
| 41 |
+# from https://www.youtube.com/watch?v=70cN9swORE8&t=440s |
|
| 42 |
+#bind o popup -E -d "#{pane_current_path}" -w 90% -h 90% "opencode"
|
|
| 43 |
+bind b popup -E -w 80% -h 45% "bc -l" |
|
| 44 |
+ |
|
| 40 | 45 |
# (Removed) Use Alt-arrow keys without prefix key to switch panes |
| 41 | 46 |
# Note vim's Copilot plugin uses M-Right for "accept suggested word" |
| 42 | 47 |
#bind -n M-Right select-pane -R |
| 43 | 48 |