From 5d92d1058422ebd97029161f28b0d43188d355d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 15 Apr 2023 10:03:54 +0100 Subject: [PATCH 1/3] Fix tmpfiles configuration --- config/programs/vim/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/programs/vim/default.nix b/config/programs/vim/default.nix index c86acb84..2ce1e239 100644 --- a/config/programs/vim/default.nix +++ b/config/programs/vim/default.nix @@ -13,8 +13,8 @@ in { ]; systemd.user.tmpfiles.rules = [ - "d %h/.cache/nvim/undo-files 0700 %u %g mM:1w -" - "d %h/.cache/nvim/swap-files 0700 %u %g mM:1w -" - "d %h/.cache/nvim/backup-files 0700 %u %g mM:1w -" + "d %h/.cache/nvim/undo-files 0700 - - mM:1w -" + "d %h/.cache/nvim/swap-files 0700 - - mM:1w -" + "d %h/.cache/nvim/backup-files 0700 - - mM:1w -" ]; } From e30a5f315453d34ca56b95a0f94edbe3108e90b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 15 Apr 2023 10:26:05 +0100 Subject: [PATCH 2/3] Changes gui font size --- config/programs/vim/modules/misc/firenvim.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/config/programs/vim/modules/misc/firenvim.nix b/config/programs/vim/modules/misc/firenvim.nix index d60bc881..fcd5dfc3 100644 --- a/config/programs/vim/modules/misc/firenvim.nix +++ b/config/programs/vim/modules/misc/firenvim.nix @@ -13,4 +13,5 @@ silent call firenvim#install(0) '' else ""; + vim.opt.guifont = "Fira_Code_Mono_Nerd_Font_Mono:h9"; } From 590f813611cbd061ff5025d520fdec3c75d4126d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 15 Apr 2023 10:31:24 +0100 Subject: [PATCH 3/3] Hide buffer and statusline in firenvim --- config/programs/vim/modules/misc/firenvim.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/programs/vim/modules/misc/firenvim.nix b/config/programs/vim/modules/misc/firenvim.nix index fcd5dfc3..42dc3bf9 100644 --- a/config/programs/vim/modules/misc/firenvim.nix +++ b/config/programs/vim/modules/misc/firenvim.nix @@ -11,6 +11,10 @@ if config.isDesktop then '' silent call firenvim#install(0) + if vim.g.started_by_firenvim then + vim.o.showtabline = 0 + require("lualine").hide() + end '' else ""; vim.opt.guifont = "Fira_Code_Mono_Nerd_Font_Mono:h9";