|
@ -1,4 +1,4 @@ |
|
|
;;; My basic configuration Gerardo Marx 15/Jul/2020 |
|
|
|
|
|
|
|
|
;;; My basic configuration Gerardo Marx 20/May/2021 |
|
|
;;-------- |
|
|
;;-------- |
|
|
;; Melpa repository: |
|
|
;; Melpa repository: |
|
|
(require 'package) |
|
|
(require 'package) |
|
@ -42,4 +42,35 @@ |
|
|
;; Set default font: |
|
|
;; Set default font: |
|
|
(add-to-list 'default-frame-alist |
|
|
(add-to-list 'default-frame-alist |
|
|
'(font . "Source Code Pro-24")) |
|
|
'(font . "Source Code Pro-24")) |
|
|
;;--------- |
|
|
|
|
|
|
|
|
;;+++++++ |
|
|
|
|
|
;;auctex: |
|
|
|
|
|
(setq TeX-auto-save t) |
|
|
|
|
|
(setq TeX-parse-self t) |
|
|
|
|
|
(setq-default TeX-master nil) |
|
|
|
|
|
;;--end---- |
|
|
|
|
|
;;++++++++ |
|
|
|
|
|
;; emacs startup config |
|
|
|
|
|
(setq inhibit-startup-message t) ;;inhibit startup |
|
|
|
|
|
(tool-bar-mode -1) |
|
|
|
|
|
(menu-bar-mode -1) |
|
|
|
|
|
(global-hl-line-mode +1) ;; highlith current line |
|
|
|
|
|
(delete-selection-mode +1) ;; deletes selected text and replace it |
|
|
|
|
|
(scroll-bar-mode -1) |
|
|
|
|
|
(setq ns-right-alternate-modifier nil) ;; right option macos key enable |
|
|
|
|
|
(fset 'yes-or-no-p 'y-or-n-p) ;; Ask y/n instead of yes/no |
|
|
|
|
|
(add-hook 'prog-mode-hook 'display-line-numbers-mode) ;; display line number when programming |
|
|
|
|
|
(show-paren-mode +1) ;; show matching parentheses |
|
|
|
|
|
(custom-set-variables |
|
|
|
|
|
;; custom-set-variables was added by Custom. |
|
|
|
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
|
|
|
;; Your init file should contain only one such instance. |
|
|
|
|
|
;; If there is more than one, they won't work right. |
|
|
|
|
|
'(custom-safe-themes |
|
|
|
|
|
(quote |
|
|
|
|
|
("08a27c4cde8fcbb2869d71fdc9fa47ab7e4d31c27d40d59bf05729c4640ce834" default)))) |
|
|
|
|
|
(custom-set-faces |
|
|
|
|
|
;; custom-set-faces was added by Custom. |
|
|
|
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
|
|
|
;; Your init file should contain only one such instance. |
|
|
|
|
|
;; If there is more than one, they won't work right. |
|
|
|
|
|
) |