diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2022-07-07 21:30:24 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2022-07-07 21:30:24 +0300 |
| commit | 6b4a28bb893931768f6971f6efe6504f1aeeed23 (patch) | |
| tree | a4b9161bb9f54be539371c23fd161af7a66f1311 | |
| parent | ba12808baa81834516e9fcbe16efb507a124754c (diff) | |
| download | dotfiles-6b4a28bb893931768f6971f6efe6504f1aeeed23.tar.gz dotfiles-6b4a28bb893931768f6971f6efe6504f1aeeed23.zip | |
nvim: don't keep undofiles for passwords (yikes!)
| -rw-r--r-- | nvim/.config/nvim/init.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index e54c7d6..01f143b 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -134,6 +134,9 @@ cmap ;( \(\)<Left><Left> " }}} " autocommands: {{{ +" disable undofiles for passwords (yikes!) +au BufWritePre /dev/shm/pass.* setlocal noundofile + " limelight on when goyo autocmd! User GoyoEnter Limelight autocmd! User GoyoLeave Limelight! |
