chore(nvim): move plugins into after plugin folder

This commit is contained in:
Stefan Imhoff
2022-08-10 11:03:55 +02:00
parent 77d87fd379
commit ef43478900
32 changed files with 41 additions and 68 deletions

View File

@@ -0,0 +1,15 @@
-- 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)