summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin
diff options
context:
space:
mode:
authorYigit Sever2021-11-19 18:29:35 +0300
committerYigit Sever2021-11-19 18:29:35 +0300
commit6093c9230bddceb7d3698edc5c476651129113f3 (patch)
tree5e92f75a40a3d3e408a03475c94aae45e9fe9f34 /.config/nvim/after/plugin
parent95dc5ae052b18a9b00afd131d1d921a7767c6e09 (diff)
downloaddotfiles-6093c9230bddceb7d3698edc5c476651129113f3.tar.gz
dotfiles-6093c9230bddceb7d3698edc5c476651129113f3.tar.bz2
dotfiles-6093c9230bddceb7d3698edc5c476651129113f3.zip
no time sorry!
Diffstat (limited to '.config/nvim/after/plugin')
-rw-r--r--.config/nvim/after/plugin/autocmds.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/autocmds.vim b/.config/nvim/after/plugin/autocmds.vim
index b361f7c..05b7ce9 100644
--- a/.config/nvim/after/plugin/autocmds.vim
+++ b/.config/nvim/after/plugin/autocmds.vim
@@ -6,3 +6,9 @@ autocmd BufNewFile,BufRead /tmp/neomutt* set noautoindent filetype=mail wm=0 tw=
6augroup bukugroup 6augroup bukugroup
7 au! BufRead,BufNewFile,BufEnter buku-edit-* set filetype=buku 7 au! BufRead,BufNewFile,BufEnter buku-edit-* set filetype=buku
8augroup END 8augroup END
9
10" Restore last position
11autocmd BufReadPost *
12 \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit'
13 \ | exe "normal! g`\""
14 \ | endif