示例 https://github.com/artificerpi/autoread.vim vim的(tail -f)插件, 需要支持python的vim.

参考

https://dzone.com/articles/how-write-vim-plugins-python

:help internal-variables

                (nothing) In a function: local to a function; otherwise: global 
buffer-variable    b:     Local to the current buffer.                          
window-variable    w:     Local to the current window.                          
tabpage-variable   t:     Local to the current tab page.                        
global-variable    g:     Global.                                               
local-variable     l:     Local to a function.                                  
script-variable    s:     Local to a :source'ed Vim script.                     
function-argument  a:     Function argument (only inside a function).           
vim-variable       v:     Global, predefined by Vim.

http://learnvimscriptthehardway.onefloweroneworld.com/chapters/24.html

相关文章:

  • 2022-01-16
  • 2022-01-07
  • 2022-01-08
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-27
  • 2021-07-08
  • 2021-09-11
  • 2021-12-21
  • 2021-12-18
相关资源
相似解决方案