From: Sayth Renshaw <flebber.crue@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Setup for web web-mode - stylus, jinja2, nunjucks
Date: Sat, 4 Apr 2015 15:14:11 -0700 (PDT) [thread overview]
Message-ID: <1deba68c-06e4-4988-9eb0-dc09ec1e8a05@googlegroups.com> (raw)
Hi
Is there a good guide or does anyone have a good setup and ideas on making emacs good for web development especially with templating languages and snippets.
I have installed web-mode and yasnippet but cannot seem to get a good fluent flow or env happening for web dev.
I mainly use python and javascript, stylus, jinja2 and nunjucks with them.
There seem to be limited articles, guides on the web addressing this, maybe this isn't emacs usual go but I would love to get a great setup going.
I use prelude, so small config, this is my.el
(require 'discover)
(global-discover-mode 1)
(require 'py-autopep8)
(add-hook 'before-save-hook 'py-autopep8-before-save)
(require 'auto-complete)
(global-set-key (kbd "C-:") 'ac-complete-with-helm)
(define-key ac-complete-mode-map (kbd "C-:") 'ac-complete-with-helm)
(add-to-list 'auto-mode-alist '("\\.html\\.flask\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
Sayth
reply other threads:[~2015-04-04 22:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1deba68c-06e4-4988-9eb0-dc09ec1e8a05@googlegroups.com \
--to=flebber.crue@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).