diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-13 07:27:25 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-13 07:27:25 -0400 |
| commit | 3e88424b5dc92b34c1cf325a7af5c96e5180e774 (patch) | |
| tree | 3de77e44618d08248b38697b9007ba29bfd38f69 /.config/nvim | |
| parent | f581adb328213ecb290e048e4e3f322de4537ce5 (diff) | |
| parent | 24d9df2709f2c6262906a2e58a821d332a94b6a2 (diff) | |
| download | eibhear-3e88424b5dc92b34c1cf325a7af5c96e5180e774.tar.gz eibhear-3e88424b5dc92b34c1cf325a7af5c96e5180e774.tar.zst eibhear-3e88424b5dc92b34c1cf325a7af5c96e5180e774.zip | |
Merge branch 'dennisleexyz-ui'
Diffstat (limited to '.config/nvim')
| -rw-r--r-- | .config/nvim/init.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 5b1605d..c0078e1 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -103,8 +103,9 @@ set clipboard+=unnamedplus autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR> autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR> -" Automatically deletes all trailing whitespace on save. +" Automatically deletes all trailing whitespace and newlines at end of file on save. autocmd BufWritePre * %s/\s\+$//e + autocmd BufWritepre * %s/\n\+\%$//e " When shortcut files are updated, renew bash and ranger configs with new material: autocmd BufWritePost files,directories !shortcuts |
