Hack my existing Kickstart mods into this fork
Good enough for now. If I need more, then I'll make more commits!
This commit is contained in:
parent
98ad2ee32a
commit
ab3778d9ac
3 changed files with 99 additions and 63 deletions
14
lua/custom/plugins/vimux.lua
Normal file
14
lua/custom/plugins/vimux.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
'preservim/vimux',
|
||||
dependencies = {
|
||||
'vim-test/vim-test',
|
||||
},
|
||||
config = function()
|
||||
local opts = { noremap = true, silent = true }
|
||||
local keymap = vim.api.nvim_set_keymap
|
||||
keymap('n', '<leader>rb', '<cmd>wall <bar> TestFile<cr>', opts)
|
||||
keymap('n', '<leader>rf', '<cmd>wall <bar> TestNearest<cr>',opts)
|
||||
keymap('n', '<leader>rl', '<cmd>wall <bar> TestLast<cr>', opts)
|
||||
vim.cmd [[ let test#strategy = "vimux" ]]
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue