started new config

This commit is contained in:
2025-12-28 14:48:30 +09:00
commit a743f2c943
17 changed files with 661 additions and 0 deletions

25
home/vim.nix Normal file
View File

@@ -0,0 +1,25 @@
{ config, pkgs, lib, ... }:
{
programs.vim.enable = true;
programs.vim.settings = {
expandtab = true;
shiftwidth = 4;
tabstop = 4;
history = 128;
ignorecase = true;
smartcase = true;
number = true;
relativenumber = true;
};
programs.vim.extraConfig = ''
set encoding=utf-8
set fileencodings=utf-8,euc-jp,sjis
set autoindent
set smartindent
set wrap
set incsearch
syntax enable
'';
}