• vim plugin


    一句话:放在 ~/.vim/pack/bundle/start/目录下

    └── pack
        └── bundle
            └── start
                └── nerdtree-5.3.0


    Vim 8+ / Neovim

    Version 8 introduces a new packages mechanism that largely replaces the need for existing plugin managers (pathogen, vim-plug, vundle, etc.) at the time of writing (2017).

    From the documentation:

    A Vim package is a directory that contains one or more plugins

    A package directory contains two sub-directories:

    • start/ - contains plugins that will be automatically loaded
    • opt/ - contains plugins that are loaded on demand with :packadd

    It may seem a bit complicated, but in practice all you have to do is add your plugin here:

                     ↓ package name
    ~/ .vim / pack / bundle / start / some-plugin
              ↑ packages dir          ↑ plugin dir
    

    On Windows: use ~vimfilespack instead of ~/.vim/pack/

    By convention, we've used the package name "bundle" as the directory that will contain all our plugins. You can use any name you want, and you can even put your plugins in separate package directories if you really want to.

    Example: Installing sensible.vim

    mkdir -p ~/.vim/pack/bundle/start
    cd ~/.vim/pack/bundle/start
    git clone https://github.com/tpope/vim-sensible.git
    

    On Windows: use ~vimfilespack instead of ~/.vim/pack/

    Next time you start Vim, the plugin will load automatically.

    查看插件

    " where was an option set
    :scriptnames : list all plugins, _vimrcs loaded (super)
    :verbose set history? : reveals value of history and where set
    :function : list functions
    :func SearchCompl : List particular function

  • 相关阅读:
    WPF & DirectShow 相关资料
    Com开发之回调
    COM开发之结构体
    WPF 提供了以下关键帧动画类[msdn]
    COM数据类型与托管类型对照
    图文并茂 简单 ATL COM开发
    WPF 动画笔记
    ShaderEffect 相关资料
    Visual \UIElemnt\FrameworkElement\Control
    关于WPF装饰器的笔记
  • 原文地址:https://www.cnblogs.com/Searchor/p/11558134.html
Copyright © 2020-2023  润新知