Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 897 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 897 Bytes

pre-commit

Description

Collection of snippets used in conjunction with UltiSnips for Vim and Neovim.

Cleaned for public use and readability.

Contents

snips

  • Has snippets inside, layed out as used by UltiSnips.

Credit

Globals (Python)

To find the Python imports used, check the python folder which would be located in your .vim/vimfiles directory (see :help pythonx-directory in Vim).

  • Windows: %USERPROFILE%\vimfiles\python3\my_module.py
  • Linux: ~/.vim/python3/my_module.py
global !p

from my_module import my_function
from my_module import my_var
from my_module import MyClass

endglobal