Renable linum mode. get rid of dialog boxes in visual mode. add yasnippet. add emacs notes org mode file.

This commit is contained in:
Ivan Malison 2014-10-25 17:49:54 -07:00
parent 5466bf097e
commit e6e801fba9
2 changed files with 26 additions and 2 deletions

20
emacs_notes.org Normal file
View File

@ -0,0 +1,20 @@
Emacs Notes -*- mode: org -*-
** C-x z to repeat last command
** F3 to define macro F4 to use macro
*** Great in combinatino with C-u
** C-x r (space to set register) (j to jump to register)
*** This requires you to enter a number after words
*** This is SUPER SUPER useful
** C-u to repeat a command
*** Its multiplicative
** set-goal-column C-x C-n
** C-x C-n
** M-- To do the opposite of a commands
*** Obviously this only works for commands for which the inverse has been defined
** M-e and M-a for paragraph movement.
** C-M-f and C-M-b for movement by S-expression
** M-m for moving to current indentation

View File

@ -50,7 +50,7 @@
auto-complete project-root popup web-beautify
js2-mode js3-mode sphinx-doc ansi-color pytest
exec-path-from-shell base16-theme slime
string-inflection)
string-inflection yasnippet)
"Packages that must be installed at launch.")
(defun ensure-package-installed (packages)
@ -93,6 +93,10 @@ Return a list of installed packages or nil for every package not installed."
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
;; Evvvillll
(setq use-dialog-box nil)
;; Set the default font for emacs.
;;(set-face-attribute 'default t :font "Deja Vu")
;;(set-frame-font "Deja Vu Sans Mono" t t)
@ -113,7 +117,7 @@ Return a list of installed packages or nil for every package not installed."
;; Display line and column numbers in mode line.
(line-number-mode t)
(column-number-mode t)
;;(global-linum-mode t)
(global-linum-mode t)
;; Don't disable downcase and upcase region.
(put 'upcase-region 'disabled nil)