|
@ -47,7 +47,7 @@ end) |
|
|
|
|
|
|
|
|
if os.getenv("TMUX") ~= nil then |
|
|
if os.getenv("TMUX") ~= nil then |
|
|
vim.keymap.set("n", "<C-f>", [[<cmd>silent !tmux neww tmuxs\; setenv WORKSPACES $WORKSPACES \;<CR>]]) |
|
|
vim.keymap.set("n", "<C-f>", [[<cmd>silent !tmux neww tmuxs\; setenv WORKSPACES $WORKSPACES \;<CR>]]) |
|
|
vim.keymap.set("n", "<C-y>", [[<cmd>silent !tmux neww ncmpcpp<CR>]]) |
|
|
|
|
|
|
|
|
vim.keymap.set("n", "<C-y>", [[<cmd>silent !tmux neww cht.sh<CR>]]) |
|
|
else |
|
|
else |
|
|
local function unavailable() |
|
|
local function unavailable() |
|
|
print("Not in a tmux session") |
|
|
print("Not in a tmux session") |
|
|