Fix to get emms working and some linting fixes.
This commit is contained in:
parent
eb98720f3d
commit
6c7e671ae1
4 changed files with 37 additions and 10 deletions
|
@ -1,4 +1,11 @@
|
||||||
;; -*- lexical-binding: t; -*-
|
;;;; init.el --- Personal Init file -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
;;;; Commentary:
|
||||||
|
|
||||||
|
;; Personal Emacs input file
|
||||||
|
|
||||||
|
;;;; Code:
|
||||||
|
|
||||||
;; Personal modules
|
;; Personal modules
|
||||||
(add-to-list 'load-path '"~/.dotfiles/emacs/.emacs.d/modules")
|
(add-to-list 'load-path '"~/.dotfiles/emacs/.emacs.d/modules")
|
||||||
|
|
||||||
|
@ -12,6 +19,7 @@
|
||||||
(require 'jg-keys)
|
(require 'jg-keys)
|
||||||
(require 'jg-dev)
|
(require 'jg-dev)
|
||||||
(require 'jg-org)
|
(require 'jg-org)
|
||||||
|
(require 'jg-media)
|
||||||
|
|
||||||
(use-package ivy
|
(use-package ivy
|
||||||
:diminish
|
:diminish
|
||||||
|
@ -51,5 +59,9 @@
|
||||||
(use-package auctex
|
(use-package auctex
|
||||||
:config
|
:config
|
||||||
(setq TeX-auto-save t)
|
(setq TeX-auto-save t)
|
||||||
(setq TeX-parse-self t)
|
(setq TeX-parse-self t))
|
||||||
)
|
|
||||||
|
(provide 'init)
|
||||||
|
;;; init.el ends here
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
; -*- lexical-binding: t; -*-
|
; -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
;; Make it easer to do 'alt-x'
|
||||||
|
|
||||||
|
(global-set-key "\C-x\C-m" 'execute-extended-command)
|
||||||
|
(global-set-key "\C-c\C-m" 'execute-extended-command)
|
||||||
|
|
||||||
(setq inhibit-startup-message t)
|
(setq inhibit-startup-message t)
|
||||||
(setq initial-scratch-message nil)
|
(setq initial-scratch-message nil)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
; -*- lexical-binding: t; -*-
|
; -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(use-package flycheck
|
||||||
|
:config
|
||||||
|
(add-hook 'after-init-hook #'global-flycheck-mode))
|
||||||
|
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:commands (magit-status magit-get-current-branch)
|
:commands (magit-status magit-get-current-branch)
|
||||||
:custom
|
:custom
|
||||||
|
@ -8,7 +12,6 @@
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:hook (prog-mode . rainbow-delimiters-mode))
|
:hook (prog-mode . rainbow-delimiters-mode))
|
||||||
|
|
||||||
|
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:commands (lsp lsp-deferred)
|
:commands (lsp lsp-deferred)
|
||||||
:init
|
:init
|
||||||
|
@ -17,6 +20,17 @@
|
||||||
(lsp-enable-which-key-integration t)
|
(lsp-enable-which-key-integration t)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(use-package company
|
||||||
|
:after lsp-mode
|
||||||
|
:hook (lsp-mode . company-mode)
|
||||||
|
:bind (:map company-active-map
|
||||||
|
("<tab>" . company-complete-selection))
|
||||||
|
(:map lsp-mode-map
|
||||||
|
("<tab>" . company-indent-or-complete-common))
|
||||||
|
:custom
|
||||||
|
(company-minimum-prefix-length 1)
|
||||||
|
(company-idle-delay 0.0))
|
||||||
|
|
||||||
(use-package lsp-ui
|
(use-package lsp-ui
|
||||||
:hook (lsp-mode . lsp-ui-mode)
|
:hook (lsp-mode . lsp-ui-mode)
|
||||||
:custom
|
:custom
|
||||||
|
@ -39,12 +53,7 @@
|
||||||
;; Set up Node debugging
|
;; Set up Node debugging
|
||||||
(require 'dap-python)
|
(require 'dap-python)
|
||||||
;; (dap-python-setup) ;; Automatically installs Node debug adapter if needed
|
;; (dap-python-setup) ;; Automatically installs Node debug adapter if needed
|
||||||
|
)
|
||||||
;; Bind `C-c l d` to `dap-hydra` for easy access
|
|
||||||
(general-define-key
|
|
||||||
:keymaps 'lsp-mode-map
|
|
||||||
:prefix lsp-keymap-prefix
|
|
||||||
"d" '(dap-hydra t :wk "debugger")))
|
|
||||||
|
|
||||||
(use-package python-mode
|
(use-package python-mode
|
||||||
:ensure nil
|
:ensure nil
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
:config
|
:config
|
||||||
(setq emms-source-file-default-directory "~/Music/")
|
(setq emms-source-file-default-directory "~/Music/")
|
||||||
(setq emms-player-mplayer-parameters '("-novideo"))
|
(setq emms-player-mplayer-parameters '("-novideo"))
|
||||||
|
(setq emms-player-list '(emms-player-mplayer))
|
||||||
)
|
)
|
||||||
|
|
||||||
(provide 'jg-media)
|
(provide 'jg-media)
|
||||||
|
|
Loading…
Reference in a new issue