[feat] Add neovide and floating terminal
This commit is contained in:
@@ -105,8 +105,8 @@
|
||||
mini = {
|
||||
enable = true;
|
||||
ai.enable = true;
|
||||
pairs.enable = true;
|
||||
cursorword.enable = true;
|
||||
# pairs.enable = true;
|
||||
# cursorword.enable = true;
|
||||
starter.enable = true;
|
||||
};
|
||||
|
||||
@@ -138,6 +138,10 @@
|
||||
"<leader>p" = "[[<cmd>bprev<cr>]]";
|
||||
|
||||
"<C-l>" = "[[<cmd>Outline<cr>]]";
|
||||
"<C-\\\\>" = "require('FTerm').toggle";
|
||||
};
|
||||
terminal = {
|
||||
"<C-\\\\>" = "require('FTerm').toggle";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -179,6 +183,9 @@
|
||||
noice-nvim
|
||||
nvim-web-devicons
|
||||
|
||||
# Utils
|
||||
FTerm-nvim
|
||||
|
||||
];
|
||||
extraConfigLua = builtins.readFile ./extraConfig.lua;
|
||||
package = pkgs.neovim-nightly;
|
||||
|
||||
@@ -133,3 +133,13 @@ require("noice").setup({
|
||||
lsp_doc_border = true, -- add a border to hover docs and signature help
|
||||
},
|
||||
})
|
||||
|
||||
require 'FTerm'.setup({
|
||||
border = 'double',
|
||||
dimensions = {
|
||||
height = 0.9,
|
||||
width = 0.9,
|
||||
},
|
||||
cmd = "fish",
|
||||
blend = 10,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user