Hi,
I clearly must be doing something wrong, or I don't understand how persistence is supposed to work.
Given this vimrc:
set runtimepath^=~/.vim/plugged/scratch.vim
set nocompatible
filetype plugin indent on
let g:scratch_persistence_file=$HOME . '/scratch_test'
I can't get anything to show up in ~/scratch_test.
$ vim -u ~/.minimal_vimrc
Open scratch buffer with 'gs'
Enter text / esc / c-w o / :q
~/scratch_test remains empty.
I've confirmed g:scratch_persistence_file is getting correctly set to scratch_test in my home directory (as an absolute path).
What am I doing wrong?
Thanks,
Lance
Hi,
I clearly must be doing something wrong, or I don't understand how persistence is supposed to work.
Given this vimrc:
I can't get anything to show up in
~/scratch_test.$ vim -u ~/.minimal_vimrcOpen scratch buffer with 'gs'
Enter text / esc / c-w o / :q
~/scratch_testremains empty.I've confirmed
g:scratch_persistence_fileis getting correctly set toscratch_testin my home directory (as an absolute path).What am I doing wrong?
Thanks,
Lance