mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(nvim): simplify imports and clean up plugin files
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
-- https://github.com/preservim/vimux
|
||||
local keymap = vim.keymap.set
|
||||
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)
|
||||
vim.keymap.set("n", "<leader>vt", [[<cmd>VimuxTogglePane<CR>]], opts)
|
||||
vim.keymap.set("n", "<leader>vp", [[<cmd>VimuxPromptCommand<CR>]], opts)
|
||||
vim.keymap.set("n", "<leader>vl", [[<cmd>VimuxRunLastCommand<CR>]], opts)
|
||||
vim.keymap.set("n", "<leader>vj", [[<cmd>RunJest<CR>]], opts)
|
||||
vim.keymap.set("n", "<leader>vjb", [[<cmd>RunJestOnBuffer<CR>]], opts)
|
||||
vim.keymap.set("n", "<leader>vjf", [[<cmd>RunJestFocused<CR>]], opts)
|
||||
|
||||
Reference in New Issue
Block a user