yasnippet Questions

5

Solved

What's a nice way to display all snippets available to yasnippet to the current major mode?
Sherwin asked 14/4, 2012 at 16:19

4

Solved

I want to insert a specific yasnippet as part of a function in emacs-lisp. Is there a way to do that? The only command that seems related is yas/insert-snippet, but it simply opens a popup with a...
Orangy asked 18/4, 2012 at 14:38

4

Solved

The Tab keybinding of yasnippet often overwrites other useful keys. Is there a way to disable Tab binding of Yasnippet to enable other Tab usage?
Symphysis asked 28/12, 2012 at 8:6

1

Solved

I would like to close my if statements with a comment indicating the condition checked in the if statement. I am using yasnippet with emacs and the snippet I use is this: # -*- mode: snippet -*- #...
Writer asked 26/11, 2014 at 3:2

1

Solved

With Yasnippet recently updated from MELPA, I would like to be able to deactivate only the snippets xxx and todo that come with text-mode. The first expands with x and the other with t, which bothe...
Frogman asked 7/3, 2014 at 0:22

1

Solved

I've been having a problem for a while, and it's giving me a real headache. I'm using emacs 24.2.1 The next code is my configuration for auto-complete, and when I run it without yasnippet everythi...
Orourke asked 2/4, 2013 at 21:32

1

Solved

I love yasnippet, but it requires time to memorize. What I'd like to do is change the cursor color when I am at a point that can expand a macro (and back again when there is no macro). However, fro...
Sailing asked 10/1, 2013 at 17:56

3

Solved

One of the code conventions at work is to include a padding of one space inside square brackets and parenthesis. So list[ index ], not list[index]. Adding those spaces can be annoying, so I tried w...
Asperity asked 4/1, 2013 at 0:32

2

Solved

I have installed YASnippet and configured it with this: (add-to-list 'load-path "~/.emacs.d/plugins/yasnippet-0.6.1c") (require 'yasnippet) ;; not yasnippet-bundle (yas--initialize) (yas/load-dir...
Christcrossrow asked 31/10, 2012 at 19:13

1

Solved

Yasnippet seems to be working but the trigger key is not. I can load snippets, look at snippet tables and M-x yas/expand. However, after typing a trigger key (i.e time) I'd like to expand the snipp...
Adhesive asked 25/10, 2012 at 18:13

1

Solved

I'm using auto-complete and yasnippet in Emacs and I am confused by their settings. I placed the following code in my .emacs: (add-to-list 'load-path "~/.emacs.d/plugins/yasnippet") (require 'yasn...
Esteban asked 26/3, 2012 at 8:57

1

Solved

At the YASnippet site I noticed the following description of yas/triggers-in-field : If non-nil, yas/next-field-key can trigger stacked expansions, that is a snippet expansion inside another snipp...
Nakada asked 4/3, 2012 at 17:2
1

© 2022 - 2024 — McMap. All rights reserved.