diff --git a/dotfiles/.vim/online_fxreader_pr34_vim/beta.py b/dotfiles/.vim/online_fxreader_pr34_vim/beta.py index e1caac2..ce18cfa 100644 --- a/dotfiles/.vim/online_fxreader_pr34_vim/beta.py +++ b/dotfiles/.vim/online_fxreader_pr34_vim/beta.py @@ -84,8 +84,8 @@ class FastSelect: r""" augroup {auto_group} autocmd! - autocmd VimLeavePre * python3 online_fxreader_pr34_vim.beta.FastSelect.singleton().close() - autocmd BufEnter * python3 online_fxreader_pr34_vim.beta.FastSelect.singleton().on_buf_enter() + autocmd VimLeavePre * python3 import online_fxreader_pr34_vim.beta; online_fxreader_pr34_vim.beta.FastSelect.singleton().close() + autocmd BufEnter * python3 import online_fxreader_pr34_vim.beta; online_fxreader_pr34_vim.beta.FastSelect.singleton().on_buf_enter() augroup END """.format( auto_group=auto_group, diff --git a/dotfiles/.vim/online_fxreader_pr34_vim/main.py b/dotfiles/.vim/online_fxreader_pr34_vim/main.py index ceaa21a..e3fa583 100644 --- a/dotfiles/.vim/online_fxreader_pr34_vim/main.py +++ b/dotfiles/.vim/online_fxreader_pr34_vim/main.py @@ -166,10 +166,10 @@ class EditorConfigModeline: Vim.run_command(r""" augroup EditorConfigModeline - autocmd! - autocmd BufEnter * python3 import online_fxreader_pr34_vim.main; online_fxreader_pr34_vim.main.EditorConfigModeline.singleton().on_buffer() + autocmd! + autocmd BufEnter * ++nested python3 import online_fxreader_pr34_vim.main; online_fxreader_pr34_vim.main.EditorConfigModeline.singleton().on_buffer() augroup END - """) + """) @classmethod def singleton(cls) -> Self: diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 194efee..8d05fd1 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -7,7 +7,8 @@ if has('python3') source $HOME/.py3.vimrc endif -filetype plugin indent on +" filetype plugin indent on +filetype plugin off set number set noswapfile