From 777d1c362f0d8b2a90c98ba53827b1736a900f84 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Tue, 12 Sep 2023 21:42:39 +0200 Subject: Add comments on vim --- tw/home/server.scm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'tw/home') diff --git a/tw/home/server.scm b/tw/home/server.scm index 694c84c8..4a6267f8 100644 --- a/tw/home/server.scm +++ b/tw/home/server.scm @@ -9,19 +9,16 @@ (define-public %server-home (home-environment - ;; These packages will show up in the home profile, under ~/.guix-home/profile. - (packages - (cons* vim vim-surround %common-packages)) - ;; To search for available home services, run 'guix home search KEYWORD'. + ;; Install vim as an editor. Neovim might be better, but doesn't have an + ;; equivalent to `vim-surround' packaged. + (packages (cons* vim vim-surround %common-packages)) (services (cons* (simple-service 'vim-config home-files-service-type `((".vim/vimrc" ,(local-file "files/vimrc")) (".vim/catppuccin.vim" ,catppuccin-vim))) - (simple-service 'vim-is-editor home-environment-variables-service-type - `(("EDITOR" . "vim"))) ; we define no ASYNC_EDITOR - + '(("EDITOR" . "vim"))) ; we define no ASYNC_EDITOR %common-services)))) %server-home -- cgit v1.2.3