https://github.com/aceofspades5757/vim-snippets
Collection of snippets used in conjunction with UltiSnips for Vim and Neovim.
https://github.com/aceofspades5757/vim-snippets
neovim python snippets vim
Last synced: about 2 months ago
JSON representation
Collection of snippets used in conjunction with UltiSnips for Vim and Neovim.
- Host: GitHub
- URL: https://github.com/aceofspades5757/vim-snippets
- Owner: AceofSpades5757
- License: other
- Created: 2021-09-17T06:12:12.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-02T05:14:09.000Z (over 4 years ago)
- Last Synced: 2025-09-29T15:51:42.479Z (9 months ago)
- Topics: neovim, python, snippets, vim
- Language: Vim Snippet
- Homepage:
- Size: 195 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/pre-commit/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
* [UltiSnips](https://github.com/SirVer/ultisnips)
* [Community Snippets](https://github.com/honza/vim-snippets)
# 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`
``` UltiSnip
global !p
from my_module import my_function
from my_module import my_var
from my_module import MyClass
endglobal
```