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
8 ;; ===================================
10 ;; MELPA Package Support
12 ;; ===================================
14 ;; Enables basic packaging support
19 ;; Adds the Melpa archive to the list of available repositories
21 (add-to-list 'package-archives
23 '("melpa" . "http://melpa.org/packages/") t)
26 ;; Initializes the package infrastructure
31 ;; If there are no archived package contents, refresh them
33 (when (not package-archive-contents)
35 (package-refresh-contents))
42 ;; myPackages contains a list of package names
45 '(better-defaults ;; Set up some better Emacs
46 solarized-theme ;; Theme
51 ;; Scans the list in myPackages
53 ;; If the package listed is not already installed, install it
55 (mapc #'(lambda (package)
57 (unless (package-installed-p package)
59 (package-install package)))
64 ;; ===================================
66 ;; Basic Customization
68 ;; ===================================
71 (setq inhibit-startup-message t) ;; Hide the startup message
73 (load-theme 'solarized-dark t) ;; Load solarized theme
75 (global-linum-mode t) ;; Enable line numbers globally
77 ;; User-Defined init.el ends here
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)))
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.