Fix nvim view saving
parent
fb2c81f350
commit
b998aed948
11
home.nix
11
home.nix
|
@ -5,10 +5,10 @@ let
|
|||
email = "daringseal@gmail.com";
|
||||
workEmail = "mess@yelp.com";
|
||||
lockCmd = "i3lock -i ~/.lockscreen-image";
|
||||
niv = import (builtins.fetchTarball {
|
||||
niv = (import (builtins.fetchTarball {
|
||||
url = "https://github.com/nmattia/niv/tarball/abd0de3269fd712955d27b70e32921841c7b8bb7";
|
||||
sha256 = "0b38n1ad00s1qqyw3ml3pypf8i1pw4aqw0bpa02qq9iv7sp3x0gz";
|
||||
}) { };
|
||||
}) { }).niv;
|
||||
|
||||
in {
|
||||
home = {
|
||||
|
@ -20,7 +20,7 @@ in {
|
|||
packages = with pkgs; [
|
||||
# nix utilities
|
||||
cachix
|
||||
niv.niv
|
||||
niv
|
||||
nixfmt
|
||||
nix-prefetch-git
|
||||
# command line utilities
|
||||
|
@ -217,9 +217,8 @@ in {
|
|||
"lightline options
|
||||
let g:lightline = {'colorscheme': 'jellybeans'}
|
||||
|
||||
"view saving
|
||||
au BufWinLeave ?* mkview 1
|
||||
au BufWinEnter ?* silent loadview 1
|
||||
"cursor saving
|
||||
autocmd BufReadPost * if @% !~# '\.git[\/\\]COMMIT_EDITMSG$' && line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
||||
|
||||
"nerdtree
|
||||
"show hidden files
|
||||
|
|
Loading…
Reference in New Issue