diff --git a/config/neovim/after/plugin/floaterm.lua b/config/neovim/after/plugin/floaterm.lua new file mode 100644 index 00000000..30d75ddb --- /dev/null +++ b/config/neovim/after/plugin/floaterm.lua @@ -0,0 +1,4 @@ +vim.g.floaterm_autoinsert = 1 +vim.g.floaterm_height = 0.8 +vim.g.floaterm_title = 0 +vim.g.floaterm_width = 0.8 diff --git a/config/neovim/after/plugin/vim-test.lua b/config/neovim/after/plugin/vim-test.lua index 42121e35..54a82e87 100644 --- a/config/neovim/after/plugin/vim-test.lua +++ b/config/neovim/after/plugin/vim-test.lua @@ -13,7 +13,7 @@ map("n", "<leader>ts", ":TestSuite<CR>", options) vim.cmd([[ let test#echo_command = 0 let test#neovim#start_normal = 1 - let test#strategy = "vimux" + let test#strategy = "floaterm" let test#php#phpunit#executable = 'just test' let test#php#phpunit#options = '--colors=always' diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 7c991f94..19742dab 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -101,6 +101,7 @@ in { vimPlugins.rest-nvim vimPlugins.splitjoin-vim vimPlugins.vim-abolish + vimPlugins.vim-floaterm vimPlugins.vim-highlightedyank vimPlugins.vim-polyglot vimPlugins.vim-repeat