refactor(nvim): manage Neovim with Home Manager
This commit is contained in:
parent
83c43d07df
commit
5630466780
42 changed files with 5 additions and 0 deletions
15
config/neovim/after/plugin/vim-test.lua
Normal file
15
config/neovim/after/plugin/vim-test.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
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"
|
Loading…
Add table
Add a link
Reference in a new issue