mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-24 05:05:37 +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;
|
|
|
|
}
|