chore(nvim): simplify imports and clean up plugin files

This commit is contained in:
Stefan Imhoff
2022-12-17 17:48:17 +01:00
parent 68a3d0deab
commit a7e00b506d
51 changed files with 245 additions and 487 deletions

View File

@@ -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)