yasnippet
unicode.vim
yasnippet | unicode.vim | |
---|---|---|
11 | 5 | |
2,737 | 449 | |
- | - | |
7.6 | 2.6 | |
27 days ago | 8 months ago | |
Emacs Lisp | Vim Script | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yasnippet
-
I'm able to take notes in mathematics lectures using LaTeX and Vim (2019)
There's YASnippet, which could be used in much the same way as the tools that were described.
https://github.com/joaotavora/yasnippet
-
org-mode date for a file -- the correct way
Although the Org manual says that YASnippet doesn’t play well, I personally haven’t had any issues. Maybe I’ve just been lucky? But I do have a snippet that uses the format command to create an Org inactive timestamp. Just a thought.
-
How do I change the autocomplete results I see?
For the first question, I would look into a template system like Yasnippet or tempo. I think that’s the best approach for it, and I’m not sure if you can do it with completion methods like corfu
-
Key bindings to insert snippets/characters (Emacs+ESS)
I second yasnippet, it is extremely handy for all sorts of boilerplate (like LaTeX preambles, environments). There are many contributed snippets in the yasnippet-snippets repo that you can look at as examples.
-
Need help improving my workflow
Hmmm... Maybe yasnippet?
-
How do you change bracing style for C in yasnippets
(defun whatacold/yasnippet-exit-hook () "My yasnippet exit hook." (when (or (eq major-mode 'c-mode) (eq major-mode 'c++-mode)) (whatacold/yasnippet-exit-hook-c))) ;; see https://github.com/joaotavora/yasnippet/issues/728 ;; (after! c-or-c++-mode) ;;
- How do I get yasnippet to actually load the stored snippets for org-mode?
- Hacking Fish Script In Emacs
-
How to turn "---" into an em-dash
Yasnippet might work. It's mostly used for programming related expansion, but I see no reason it wouldn't work for this too: https://github.com/joaotavora/yasnippet
-
Playing around with gdscript snippets
Ah the code generation in the gif is from a plugin (Yasnippet) for the main editor I'm using (Emacs) to write GDScript. So not the built-in editor in Godot, no. The only bits I wrote is what keys expand into what on top of the snippet language, but they're just dumb text expansions and are unaware of any language specific context, e.g. this is the map one:
unicode.vim
-
I'm able to take notes in mathematics lectures using LaTeX and Vim (2019)
Given that we're in a vim story, I'll reply with a little vim tip…
Vim has digraph support built-in¹, so for your example the first few digraphs are In, p, >=, h. It is also how I typed the ellipsis on the first line of this comment(,.).
A more complete Unicode solution for vim is available in Christian Brabandt's excellent plugin².
¹ https://vimhelp.org/digraph.txt.html
² https://github.com/chrisbra/unicode.vim
- Include octal on statusline?
- Entering Unicode by name
- How to Use Emojis with Vim
-
What input method would you prefer for Unicode characters in a neovim plugin?
There are several independents Unicode input plugins for vim already, that could be included as a dependency / suggestion for the user, which would reduce the scope of the project, like: - unicode.vim - a plugin for CtrlP - latex-unicoder.vim - or even the input method of agda-vim
What are some alternatives?
godot-vscode-plugin - Godot development tools for VSCode
latex-unicoder.vim - A plugin to type Unicode chars in Vim, using their LaTeX names.
yasnippet-snippets - a collection of yasnippet snippets for many languages
agda.nvim - NeoVim plugin for interacting with Agda written in Lua
.emacs.d - https://emacs.takeokunn.org/
agda-mode-vscode - agda-mode on VS Code
org-ref - org-mode modules for citations, cross-references, bibliographies in org-mode and useful bibtex tools to go with it.
agda-vim - Agda interaction in vim
nodejs-repl.el - Run Node.js REPL and communicate with the process
vim-ctrlp-unicode - Extension for CtrlP.vim to provide easy input of the characters in the UnicodeData database
dotfiles
Agda - Agda is a dependently typed programming language / interactive theorem prover.