Skip to content

Commit

Permalink
Runner support for newer tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
NonlinearFruit committed Jan 27, 2024
1 parent deae3d3 commit a636288
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ For configuration specific to a particular OS (or a particular environment), cre
~/.local/share/nvim/mason/bin/stylua --verify . # Lua
```

## Restarting

- Throw away current nvim config
```
rm ~/{.local/share,.config}/nvim/* -rf
```
[bash]: https://savannah.gnu.org/projects/bash/
[git]: https://git-scm.com/docs
[glaze]: https://github.com/lars-berger/GlazeWM/releases
Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/runner.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ end
M.run = function(cmd)
local runner = M.getId()
if runner == "" then
os.execute("tmux split-window -p 40 -h")
os.execute("tmux split-window -l 40% -h")
os.execute("tmux last-pane")
runner = M.getId()
if runner == "" then
Expand Down

0 comments on commit a636288

Please sign in to comment.