1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-23 20:20:53 -05:00

Compare commits

...

5 Commits

Author SHA1 Message Date
39d666af72
Add compile to evil-collective loads 2019-04-25 18:31:50 -04:00
e9146bd683
Add java support 2019-04-25 18:29:58 -04:00
e50153eedd
Add lsp and elixir 2019-04-25 18:25:37 -04:00
90674f76c4
Default to spacemacs theme 2019-04-25 18:25:20 -04:00
93435645de
Add evil-goggles 2019-04-25 18:24:46 -04:00

View File

@ -194,6 +194,7 @@ doesn't cover properly by default.
'(calendar '(calendar
cmake-mode cmake-mode
company company
compile
custom custom
debug debug
dired dired
@ -253,6 +254,13 @@ Use =S= and a delimiter to surround in visual mode.
:config :config
(global-evil-surround-mode 1)) (global-evil-surround-mode 1))
#+END_SRC #+END_SRC
*** evil-goggles
Visual highlighting on evil motions
#+BEGIN_SRC emacs-lisp
(use-package evil-goggles
:config
(evil-goggles-mode))
#+END_SRC
* Emacs * Emacs
** Defaults ** Defaults
*** Configuration Editing *** Configuration Editing
@ -456,10 +464,6 @@ Requires additional setup on the machine itself.
(defun jf-theme-pywal () (defun jf-theme-pywal ()
(load-file jf-theme-pywal-path)) (load-file jf-theme-pywal-path))
(when (eq 'jf-theme 'jf-theme-pywal)
(require 'filenotify)
(file-notify-add-watch jf-theme-pywal-path '(change) #'jf-theme-pywal))
#+END_SRC #+END_SRC
*** spacemacs *** spacemacs
This theme is pretty fancy and has lots of supported modes. This theme is pretty fancy and has lots of supported modes.
@ -481,7 +485,7 @@ active, the second when it's inactive.
*** Helpers *** Helpers
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defvar jf-theme #'jf-theme-pywal "Theme function to call.") (defvar jf-theme #'jf-theme-spacemacs "Theme function to call.")
(defun jf-apply-theme () (defun jf-apply-theme ()
"Apply the current theme as set by jf-theme." "Apply the current theme as set by jf-theme."
@ -991,6 +995,19 @@ make shortcuts and file switching
(projectile-project-search-path (list jf-projects-path))) (projectile-project-search-path (list jf-projects-path)))
#+END_SRC #+END_SRC
** Languages ** Languages
*** Language Server Protocol
Mode for integration with lots of language servers, interacting with company,
flycheck, projectile, and the works.
#+BEGIN_SRC emacs-lisp
(use-package lsp-mode
:commands lsp)
(use-package lsp-ui
:commands lsp-ui-mode)
(use-package company-lsp
:commands company-lsp)
#+END_SRC
*** Fish *** Fish
Mode for editing of scripts for the fish shell. Mode for editing of scripts for the fish shell.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@ -1154,3 +1171,29 @@ company-irony for company integration
(use-package company-lua (use-package company-lua
:company lua-mode) :company lua-mode)
#+END_SRC #+END_SRC
*** Elixir
#+BEGIN_SRC emacs-lisp
(use-package elixir-mode
:mode "\\.exs?\\'"
:hook (elixir-mode . lsp))
*** Java
**** Eclim
Secretly actually use eclipse in the background in the form of eclimd
for all of the IDE like features.
#+BEGIN_SRC emacs-lisp
(use-package eclim
:hook ((java-mode . eclim-mode)
(java-mode . jf-indent-4-spaces))
:custom
(eclimd-default-workspace "~/Documents/dev/workspace")
(eclimd-autostart-with-default-workspace t)
(eclimd-autostart t))
(use-package company-emacs-eclim
:company java-mode)
#+END_SRC
**** Gradle
The std:: java build system
#+BEGIN_SRC emacs-lisp
(use-package gradle-mode
:commands gradle-mode)