last update

This commit is contained in:
Raymundo Vásquez Ruiz
2023-01-14 14:59:44 +01:00
parent cd75ab0701
commit 87503dda8c
7 changed files with 40 additions and 9 deletions

View File

@@ -14,12 +14,30 @@
(setq neo-theme (if (display-graphic-p) 'icons 'arrow))
(setq tab-width 4)
(setq js-indent-level 4)
(tool-bar-mode -1)
(electric-pair-mode +1)
(dumb-jump-mode)
(global-display-line-numbers-mode)
(load-theme 'base16-horizon-dark t)
(load-theme 'base16-railscasts t)
;; Born to be wild
(setq make-backup-files nil)
;; Load user path
(when (memq window-system '(mac ns x))
(exec-path-from-shell-initialize))
(set-frame-parameter (selected-frame) 'alpha '(97))
(add-to-list 'default-frame-alist '(alpha . (97)))
;; Show full path in window title
(setq frame-title-format
'(buffer-file-name "%b - %f" ; File buffer
(dired-directory dired-directory ; Dired buffer
(revert-buffer-function "%b" ; Buffer Menu
("%b - Dir: " default-directory))))) ; Plain buffer
(require 'iedit)
(require 'gitlab-ci-mode)
(require 'gitlab-ci-mode-flycheck)
(provide 'init-editor)

View File

@@ -29,5 +29,6 @@
(add-hook 'typescript-mode-hook #'setup-tide-mode)
(add-hook 'json-mode #'flycheck-mode)
(add-to-list 'projectile-globally-ignored-files "*node_modules")
(provide 'init-js-ts)

View File

@@ -14,7 +14,7 @@
; list the packages you want
(setq package-list
'(all-the-icons neotree base16-theme afternoon-theme ample-theme nord-theme company-racer racer markdown-mode+ vue-mode dumb-jump magit company flycheck-rust flycheck json-mode flymake-json tss tide material-theme zenburn-theme ac-js2 auto-complete projectile helm js2-mode cargo rust-mode rust-playground css-mode skewer-mode))
'(all-the-icons neotree base16-theme afternoon-theme ample-theme nord-theme company-racer racer markdown-mode+ vue-mode dumb-jump magit company flycheck-rust flycheck json-mode flymake-json tss tide material-theme zenburn-theme ac-js2 auto-complete projectile helm js2-mode cargo rust-mode rust-playground css-mode skewer-mode web-mode))
; activate all the packages

View File

@@ -9,4 +9,9 @@
(add-hook 'css-mode-hook 'skewer-css-mode)
(add-hook 'html-mode-hook 'skewer-html-mode)
(require 'web-mode)
(add-to-list 'auto-mode-alist '("\\.twig'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
(setq sgml-quick-keys 'close)
(provide 'init-web)