mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
16 lines
603 B
Lua
16 lines
603 B
Lua
-- Vimux – https://github.com/preservim/vimux
|
||
local keymap = vim.api.nvim_set_keymap
|
||
local opts = { noremap = true, silent = true }
|
||
|
||
vim.g.VimuxHeight = "30"
|
||
vim.g.VimuxOrientation = "h"
|
||
vim.g.VimuxUseNearestPane = 0
|
||
|
||
-- Keymaps
|
||
keymap("n", "<leader>vt", [[<cmd>VimuxTogglePane<CR>]], opts)
|
||
keymap("n", "<leader>vp", [[<cmd>VimuxPromptCommand<CR>]], opts)
|
||
keymap("n", "<leader>vl", [[<cmd>VimuxRunLastCommand<CR>]], opts)
|
||
keymap("n", "<leader>vj", [[<cmd>RunJest<CR>]], opts)
|
||
keymap("n", "<leader>vjb", [[<cmd>RunJestOnBuffer<CR>]], opts)
|
||
keymap("n", "<leader>vjf", [[<cmd>RunJestFocused<CR>]], opts)
|