From 4bb98831f185a18db7db9b9bc9dd20ca25150b97 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 1 Jul 2023 18:54:47 +0900 Subject: [PATCH] Test --- common/dotfiles/git.nix | 16 ++++++++-------- common/dotfiles/vim.nix | 41 +++++++++++++++++++++-------------------- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/common/dotfiles/git.nix b/common/dotfiles/git.nix index 26d51817..b3849f96 100644 --- a/common/dotfiles/git.nix +++ b/common/dotfiles/git.nix @@ -1,8 +1,8 @@ - programs.git = { - enable = true; - userName = "albert"; - userEmail = "albert@sysctl.io"; - extraConfig = { - credential.helper = "cache --timeout=25920000"; - }; - }; \ No newline at end of file +programs.git = { + enable = true; + userName = "albert"; + userEmail = "albert@sysctl.io"; + extraConfig = { + credential.helper = "cache --timeout=25920000"; + }; +}; \ No newline at end of file diff --git a/common/dotfiles/vim.nix b/common/dotfiles/vim.nix index a25d5f02..ef111c41 100644 --- a/common/dotfiles/vim.nix +++ b/common/dotfiles/vim.nix @@ -1,20 +1,21 @@ - programs.vim = { - enable = true; - plugins = with pkgs.vimPlugins; [ vim-airline ]; - settings = { ignorecase = true; }; - extraConfig = '' - set mouse=a - set number - syntax on - set hlsearch - set ignorecase - set smartcase - set autoindent - set ruler - set shiftwidth=2 - set expandtab - set softtabstop=2 - colorscheme slate - set cursorline - ''; - }; \ No newline at end of file +# https://nixos.wiki/wiki/Vim +programs.vim = { + enable = true; + plugins = with pkgs.vimPlugins; [ vim-airline ]; + settings = { ignorecase = true; }; + extraConfig = '' + set mouse=a + set number + syntax on + set hlsearch + set ignorecase + set smartcase + set autoindent + set ruler + set shiftwidth=2 + set expandtab + set softtabstop=2 + colorscheme slate + set cursorline + ''; +}; \ No newline at end of file