mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-27 09:54:53 +00:00
16 lines
340 B
Nix
16 lines
340 B
Nix
{ pkgs, dsl, ... }: {
|
|
|
|
# Toggleterm provides a floating terminal inside the editor for quick access
|
|
|
|
plugins = [ pkgs.vimPlugins.toggleterm-nvim ];
|
|
|
|
use.toggleterm.setup = dsl.callWith {
|
|
open_mapping = dsl.rawLua "[[<c-\\>]]";
|
|
hide_numbers = true;
|
|
direction = "float";
|
|
};
|
|
|
|
lua = builtins.readFile ./toggleterm.lua;
|
|
|
|
}
|