This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
opdavies.nvim/after/plugin/vim-test.lua

16 lines
408 B
Lua
Raw Normal View History

local map = vim.api.nvim_set_keymap
local options = {
silent = true,
}
map("n", "t<C-f>", ":TestFile<CR>", options)
map("n", "t<C-g>", ":TestVisit<CR>", options)
map("n", "t<C-l>", ":TestLast<CR>", options)
map("n", "t<C-n>", ":TestNearest<CR>", options)
map("n", "t<C-s>", ":TestSuite<CR>", options)
vim.g["test#echo_command"] = 0
vim.g["test#neovim#start_normal"] = 1
vim.g["test#strategy"] = "vimux"