Skip to content
Emacs setup (CSS / Erlang / HTML / Javascript / Lisp)
Emacs Lisp Python R
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
initializations
site-lisp
README
emacs

README

*Install el-get.  This will need to be compiled because bookmark+ is not
compiled and some changes need to be made in some other files (e.g., workspaces
and yasnippet).

*Create the following directories:

~/emacs.d/bookmarks
~/emacs.d/workgroups

*Install the following with npm:

csslint
jshint
jslint
uglify-js

*Install Validator.nu:

http://validator.w3.org/docs/install.html

*Install jsbeautifier:

http://jsbeautifier.org/python/jsbeautifier.py

*Needed to remove these line in workgroups.el and recompile:

(wg-mode-line-add-display)
(wg-mode-line-remove-display)

*Needed to replace the following in anything-c-yasnippet.el:

yas/snippets/table-hash -> yas/table-hash
yas/snippets/table-templates -> yas/table-templates

I modify these lines:

(defface dropdown-list-face
  '((t :inherit default :background "lightyellow" :foreground "black"))
  "*Bla." :group 'dropdown-list)

(defface dropdown-list-selection-face
  '((t :inherit dropdown-list-face :background "purple"))
  "*Bla." :group 'dropdown-list)

in yasnippet/dropdown-list.el to suit me.  I like this:

(defface dropdown-list-face
  '((t (:background "lightgray" :foreground "black")))
  "*Bla." :group 'dropdown-list)

(defface dropdown-list-selection-face
  '((t (:background "steelblue" :foreground "white")))
  "*Bla." :group 'dropdown-list)




----------

(defun setup-global-keys ()
	(global-set-key (kbd "C-.")			'anything)
	(global-set-key (kbd "C-x C-c") 	'do-before-closing)
	(global-set-key (kbd "M-+")       	'hs-toggle-hiding)
	(global-set-key (kbd "M-=")       	'hs-show-all)
	(global-set-key (kbd "M--")       	'hs-hide-all)
	(global-set-key (kbd "C-<") 		'idomenu)
	(global-set-key (kbd "C-`") 		'my-wg-kill-and-load)
	(global-set-key (kbd "RET") 		'newline-and-indent)
	(global-set-key (kbd "C-c s")	 	'slime-selector)
	(global-set-key (kbd "M-S-<left>")  'windmove-left)
	(global-set-key (kbd "M-S-<right>") 'windmove-right)
	(global-set-key (kbd "M-S-<up>")    'windmove-up)
	(global-set-key (kbd "M-S-<down>")  'windmove-down)
	(global-set-key (kbd "C-,")     	'yas/insert-snippet)
	(global-set-key (kbd "C->") 		'zencoding-expand-line))
	
Something went wrong with that request. Please try again.