diff options
author | Baitinq <30861839+Baitinq@users.noreply.github.com> | 2024-04-02 16:35:13 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-04-02 19:27:52 +0200 |
commit | f5b2b1d5fc50bc54a7de924e5ce1316890e8df0c (patch) | |
tree | aeab1367cea624c4749a8ebdc3adc4af8a5b816d | |
parent | Dotfiles: Nvim: Set keybinds for running tests (diff) | |
download | nixos-config-f5b2b1d5fc50bc54a7de924e5ce1316890e8df0c.tar.gz nixos-config-f5b2b1d5fc50bc54a7de924e5ce1316890e8df0c.tar.bz2 nixos-config-f5b2b1d5fc50bc54a7de924e5ce1316890e8df0c.zip |
Dotfiles: Nvim: Add test visit keybind
-rw-r--r-- | dotfiles/nvim/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/nvim/init.lua b/dotfiles/nvim/init.lua index bd1a5b8..c3cb15d 100644 --- a/dotfiles/nvim/init.lua +++ b/dotfiles/nvim/init.lua @@ -247,7 +247,8 @@ require('lazy').setup({ vim.keymap.set('n', '<leader>tf', function() require('nvim-test').run('file') end, { desc = '[T]est [F]ile' }), vim.keymap.set('n', '<leader>tn', function() require('nvim-test').run('nearest') end, { desc = '[T]est [N]earest' }), vim.keymap.set('n', '<leader>ts', function() require('nvim-test').run('suite') end, { desc = '[T]est [S]uite' }), - vim.keymap.set('n', '<leader>tl', function() require('nvim-test').run_last() end, { desc = '[T]est [L]ast' }) + vim.keymap.set('n', '<leader>tl', function() require('nvim-test').run_last() end, { desc = '[T]est [L]ast' }), + vim.keymap.set('n', '<leader>tv', function() require('nvim-test').visit() end, { desc = '[T]est [V]isit' }) } end }, |