Created
August 14, 2024 08:51
-
-
Save cho0h5/eacafceeaa10f36ba44b61ae54c6cc46 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
with import <nixpkgs> {}; | |
vim.customize { | |
name = "vim"; | |
vimrcConfig.customRC = '' | |
set nocompatible | |
set backspace=indent,eol,start | |
syntax on | |
set nu | |
set smartindent | |
set mouse=a | |
set tabstop=4 | |
set expandtab | |
set shiftwidth=4 | |
if has("autocmd") | |
au BufReadPost * | |
\ if line("'\"") > 1 && line("'\"") <= line("$") | | |
\ execute "normal! g`\"" | endif | |
endif | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment