Skip to content

Instantly share code, notes, and snippets.

@cho0h5
Created August 14, 2024 08:51
Show Gist options
  • Save cho0h5/eacafceeaa10f36ba44b61ae54c6cc46 to your computer and use it in GitHub Desktop.
Save cho0h5/eacafceeaa10f36ba44b61ae54c6cc46 to your computer and use it in GitHub Desktop.
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