Last active
August 8, 2022 06:42
-
-
Save kinnala/d5511e04a46f9e70a72b53997543a421 to your computer and use it in GitHub Desktop.
Minimal vim-configuration with nix syntax highlighting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
environment.systemPackages = with pkgs; [ | |
((vim_configurable.override {}).customize { | |
name = "vim"; | |
vimrcConfig.packages.myplugins = { start = [ vimPlugins.vim-nix ]; }; | |
vimrcConfig.customRC = '' | |
set nocompatible | |
set hlsearch | |
set backspace=indent,eol,start | |
syntax on | |
filetype plugin indent on | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set ai | |
''; | |
}) | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment