we
This commit is contained in:
parent
41547f9fa6
commit
6bac413c68
2 changed files with 15 additions and 6 deletions
|
@ -50,6 +50,7 @@ vim.keymap.set("n", "nsh", ":split<CR>", opts)
|
||||||
-- terminal
|
-- terminal
|
||||||
--vim.keymap.set("n", "<leader>t", ":split<CR> <BAR> :terminal<CR>")
|
--vim.keymap.set("n", "<leader>t", ":split<CR> <BAR> :terminal<CR>")
|
||||||
vim.keymap.set("n", "<leader>t", ":FloatermToggle<CR>")
|
vim.keymap.set("n", "<leader>t", ":FloatermToggle<CR>")
|
||||||
|
vim.keymap.set("n", "<leader>g", ":FloatermNew --height=29 --width=120 lazygit<CR>")
|
||||||
|
|
||||||
-- exit terminal with esc
|
-- exit terminal with esc
|
||||||
vim.keymap.set("t", "<Esc>", "<C-\\><C-n>", opts)
|
vim.keymap.set("t", "<Esc>", "<C-\\><C-n>", opts)
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
{ outputs, options, config, lib, pkgs, ...}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.modules.dev.editors.nvim;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
|
outputs,
|
||||||
|
options,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.modules.dev.editors.nvim;
|
||||||
|
in {
|
||||||
options.modules.dev.editors.nvim = {
|
options.modules.dev.editors.nvim = {
|
||||||
enable = mkEnableOption false;
|
enable = mkEnableOption false;
|
||||||
};
|
};
|
||||||
|
@ -12,7 +17,10 @@ in
|
||||||
# because yes
|
# because yes
|
||||||
users.users.sako.packages = with pkgs; [
|
users.users.sako.packages = with pkgs; [
|
||||||
neovim
|
neovim
|
||||||
|
# flakes
|
||||||
direnv
|
direnv
|
||||||
|
# vscode like git
|
||||||
|
lazygit
|
||||||
];
|
];
|
||||||
home-manager.users.sako.xdg.configFile.nvim = {
|
home-manager.users.sako.xdg.configFile.nvim = {
|
||||||
source = ../../../../config/nvim;
|
source = ../../../../config/nvim;
|
||||||
|
|
Loading…
Reference in a new issue