unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Setup for web web-mode - stylus, jinja2, nunjucks
@ 2015-04-04 22:14 Sayth Renshaw
  0 siblings, 0 replies; only message in thread
From: Sayth Renshaw @ 2015-04-04 22:14 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-04 22:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-04 22:14 Setup for web web-mode - stylus, jinja2, nunjucks Sayth Renshaw

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).