All Projects → skywind3000 → LeaderF-snippet

skywind3000 / LeaderF-snippet

Licence: MIT license
Intuitive Way to Use Snippet

Programming Languages

Vim Script
2826 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to LeaderF-snippet

Vim Vsnip
Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
Stars: ✭ 224 (+489.47%)
Mutual labels:  snippets, vim-plugin
Ncm R
R autocompletion for Neovim and vim 8 📝 📊 ⚡️
Stars: ✭ 102 (+168.42%)
Mutual labels:  snippets, vim-plugin
vim-snipp-snapp-snut-and-the-legend-continues
💇 (Experimental) Vim snippet plugin
Stars: ✭ 24 (-36.84%)
Mutual labels:  snippets, vim-plugin
SimpleSnippets.vim
Simple snippet support for your Vim and Neovim
Stars: ✭ 86 (+126.32%)
Mutual labels:  snippets, vim-plugin
miniSnip
Lightweight snippet plugin for Vim
Stars: ✭ 45 (+18.42%)
Mutual labels:  snippets, vim-plugin
bolt.nvim
⚡ Ultrafast multi-pane file manager for Neovim with fuzzy matching
Stars: ✭ 100 (+163.16%)
Mutual labels:  vim-plugin
vscode-R
R Extension for Visual Studio Code
Stars: ✭ 788 (+1973.68%)
Mutual labels:  snippets
Dot-It-Up
A collection of dotfile scripts, plugins, and clever hacks so that you can become the master of your own OS! 🚀
Stars: ✭ 254 (+568.42%)
Mutual labels:  vim-plugin
sublime-PICO-8
PICO-8 plugin for the Sublime Text 3 editor.
Stars: ✭ 42 (+10.53%)
Mutual labels:  snippets
cheat-sheet
collection of cheat sheets
Stars: ✭ 150 (+294.74%)
Mutual labels:  snippets
javascript-interview-questions
A collection of JavaScript modern interview questions for beginners to experts
Stars: ✭ 290 (+663.16%)
Mutual labels:  snippets
clojure.vim
Clojure syntax highlighting for Vim and Neovim.
Stars: ✭ 23 (-39.47%)
Mutual labels:  vim-plugin
termux-snippets
An integrated tool and a collection of snippets which helps in the various aspects of the terminal.
Stars: ✭ 28 (-26.32%)
Mutual labels:  snippets
dps-dial.vim
Increment/decrement plugin using denops.vim
Stars: ✭ 21 (-44.74%)
Mutual labels:  vim-plugin
clara-copilot
A alternative to Github Copilot for vscode until you get the access to github copilot
Stars: ✭ 206 (+442.11%)
Mutual labels:  snippets
snippet.kak
Snippets integration for Kakoune
Stars: ✭ 23 (-39.47%)
Mutual labels:  snippets
chalkboard
Share your code and collaborate with developers around the world.
Stars: ✭ 30 (-21.05%)
Mutual labels:  snippets
vim-colors-pencil
Light (& dark) color scheme inspired by iA Writer
Stars: ✭ 564 (+1384.21%)
Mutual labels:  vim-plugin
vim-high
Vim plugin: All-in-one highlighter, highlight custom pattern like indentation, inactive window, word under the cursor
Stars: ✭ 20 (-47.37%)
Mutual labels:  vim-plugin
fzf-preview.vim
fzf ❤️ preview
Stars: ✭ 49 (+28.95%)
Mutual labels:  vim-plugin

Leaderf-snippet

This plugin takes the advantage of the well-known fuzzy finder Leaderf to provide an intuitive way to input snippets:

Snippet names are hard to remember, therefore, I made a Leaderf extension to help input snippets.

Feature

  • Read snippets from SnipMate or UltiSnips
  • Display snippet descriptions in the fuzzy finder.
  • Work in both INSERT mode and NORMAL mode.

Installation

" Leaderf-snippet
Plug 'Yggdroot/LeaderF'
Plug 'skywind3000/Leaderf-snippet'

A supported snippet engine, UltiSnips (recommended) or SnipMate, is required.

Configuration

" maps
inoremap <c-x><c-x> <c-\><c-o>:Leaderf snippet<cr>

" optional: preview
let g:Lf_PreviewResult = get(g:, 'Lf_PreviewResult', {})
let g:Lf_PreviewResult.snippet = 1

Why Leaderf ?

vim-fzf has a Snippets command, but it doesn't provide enough information for each snippet and it can't work correctly in INSERT mode:

Compare to fzf, Leaderf has a NORMAL mode which allows me to browse my snippets more easily like in a normal vim window:

Browse my snippets with full of details. No worry about forgetting snippets.

TODO

  • snipmate
  • ultisnips
  • snipmate preview
  • ultisnips preview
  • minisnip

Credit

  • Leaderf: An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].