https://github.com/dkarter/sniphelpers.vim
https://github.com/dkarter/sniphelpers.vim
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dkarter/sniphelpers.vim
- Owner: dkarter
- License: mit
- Created: 2017-02-20T08:07:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-01T20:25:03.000Z (over 8 years ago)
- Last Synced: 2025-10-20T07:59:55.177Z (9 months ago)
- Language: Vim script
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SnipHelpers
An assortment of helper functions for use in Vim snippets and other VimScripts
## Included Helpers
`CurrentBufferPath()` - file path for the current buffer
`CurrentBufferFileName()` - file name for the current buffer (-path)
`CurrentBufferFileNameNoExt()` - file name (-ext, -path) for the current buffer
`CurrentBufferFileNameExt()` - file extension (-name, -path) for the current buffer
`CurrentBufferFileNameToBumpyCase()` - `hello_word.ex` -> `HelloWorld` (only for snake case for now)
# Installation
Using Vim Plug:
```
Plug `dkarter/sniphelpers.vim`
```
Save, Source and Run `:PlugInstall`
# License
MIT