summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/autocmds.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/plugin/autocmds.vim')
-rw-r--r--.config/nvim/after/plugin/autocmds.vim17
1 files changed, 0 insertions, 17 deletions
diff --git a/.config/nvim/after/plugin/autocmds.vim b/.config/nvim/after/plugin/autocmds.vim
index 0e7935b..21c7bc4 100644
--- a/.config/nvim/after/plugin/autocmds.vim
+++ b/.config/nvim/after/plugin/autocmds.vim
@@ -1,23 +1,6 @@
1" I don't know how to port this yet 1" I don't know how to port this yet
2autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif 2autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif
3 3
4autocmd BufNewFile,BufRead /tmp/neomutt* set noautoindent filetype=mail wm=0 tw=80
5
6augroup bukugroup
7 au! BufRead,BufNewFile,BufEnter buku-edit-* set filetype=buku
8augroup END
9
10" Restore last position
11autocmd BufReadPost *
12 \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit'
13 \ | exe "normal! g`\""
14 \ | endif
15
16augroup pkgbuild
17 autocmd!
18 autocmd BufRead,BufNewFile PKGBUILD set filetype=PKGBUILD
19augroup END
20
21augroup vimwiki 4augroup vimwiki
22 autocmd! 5 autocmd!
23 autocmd BufRead,BufNewFile *.wiki set filetype=vimwiki 6 autocmd BufRead,BufNewFile *.wiki set filetype=vimwiki