]> crepu.dev Git - config.git/blame - djavu-asus/init.el~
Configuracion en desarrollo PC pega
[config.git] / djavu-asus / init.el~
CommitLineData
53e6db90
DC
1;; .emacs.d/init.el
2(menu-bar-mode -1) ;; Oculta la barra del menú
3(scroll-bar-mode -1) ;; Oculta la barra de desplazamiento
4(tool-bar-mode -1) ;; Oculta la barra de herramientas
5(delete-selection-mode 1) ;; Borra la región seleccionada
6(column-number-mode) ;; Número de la columna en la línea de modo
7
8;; ===================================
9
10;; MELPA Package Support
11
12;; ===================================
13
14;; Enables basic packaging support
15
16(require 'package)
17
18
19;; Adds the Melpa archive to the list of available repositories
20
21(add-to-list 'package-archives
22
23 '("melpa" . "http://melpa.org/packages/") t)
24
25
26;; Initializes the package infrastructure
27
28(package-initialize)
29
30
31;; If there are no archived package contents, refresh them
32
33(when (not package-archive-contents)
34
35 (package-refresh-contents))
36
37
38;; Installs packages
39
40;;
41
42;; myPackages contains a list of package names
43
44(defvar myPackages
45 '(better-defaults ;; Set up some better Emacs
46 solarized-theme ;; Theme
47 )
48 )
49
50
51;; Scans the list in myPackages
52
53;; If the package listed is not already installed, install it
54
55(mapc #'(lambda (package)
56
57 (unless (package-installed-p package)
58
59 (package-install package)))
60
61 myPackages)
62
63
64;; ===================================
65
66;; Basic Customization
67
68;; ===================================
69
70
71(setq inhibit-startup-message t) ;; Hide the startup message
72
73(load-theme 'solarized-dark t) ;; Load solarized theme
74
75(global-linum-mode t) ;; Enable line numbers globally
76
77;; User-Defined init.el ends here
78(custom-set-variables
79 ;; custom-set-variables was added by Custom.
80 ;; If you edit it by hand, you could mess it up, so be careful.
81 ;; Your init file should contain only one such instance.
82 ;; If there is more than one, they won't work right.
83 '(package-selected-packages '(material-theme better-defaults)))
84(custom-set-faces
85 ;; custom-set-faces was added by Custom.
86 ;; If you edit it by hand, you could mess it up, so be careful.
87 ;; Your init file should contain only one such instance.
88 ;; If there is more than one, they won't work right.
89 )