Compare commits
6 Commits
f8035efb4d
...
21f4f75044
Author | SHA1 | Date | |
---|---|---|---|
|
21f4f75044 | ||
|
7da94f91bc | ||
|
302b2efbbd | ||
|
3e6c334621 | ||
|
545cdc3539 | ||
|
8a56a1fc70 |
11
emacs/.emacs.d/config/init-docker.el
Normal file
11
emacs/.emacs.d/config/init-docker.el
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
;; -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(use-package dockerfile-mode
|
||||||
|
:mode (("Dockerfile\\'" . dockerfile-mode)))
|
||||||
|
|
||||||
|
(use-package docker
|
||||||
|
:commands (docker)
|
||||||
|
:config
|
||||||
|
(evil-collection-docker-setup))
|
||||||
|
|
||||||
|
(provide 'init-docker)
|
@ -7,6 +7,9 @@
|
|||||||
evil-respect-visual-line-mode t)
|
evil-respect-visual-line-mode t)
|
||||||
:config
|
:config
|
||||||
(evil-mode 1)
|
(evil-mode 1)
|
||||||
|
(evil-define-key 'motion 'global
|
||||||
|
"j" #'evil-next-visual-line
|
||||||
|
"k" #'evil-previous-visual-line)
|
||||||
:custom
|
:custom
|
||||||
(evil-undo-system 'undo-tree))
|
(evil-undo-system 'undo-tree))
|
||||||
|
|
||||||
|
6
emacs/.emacs.d/config/init-groovy.el
Normal file
6
emacs/.emacs.d/config/init-groovy.el
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
;; -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(use-package groovy-mode
|
||||||
|
:defer t)
|
||||||
|
|
||||||
|
(provide 'init-groovy)
|
9
emacs/.emacs.d/config/init-lisp.el
Normal file
9
emacs/.emacs.d/config/init-lisp.el
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
;; -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(use-package slime
|
||||||
|
:commands (slime)
|
||||||
|
:hook ((lisp-mode . slime-mode))
|
||||||
|
:init
|
||||||
|
(setq inferior-lisp-program (executable-find "sbcl")))
|
||||||
|
|
||||||
|
(provide 'init-lisp)
|
@ -8,7 +8,9 @@
|
|||||||
(call-interactively #'vterm)))
|
(call-interactively #'vterm)))
|
||||||
:config
|
:config
|
||||||
(evil-collection-vterm-setup)
|
(evil-collection-vterm-setup)
|
||||||
(general-def 'insert vterm-mode-map "C-<escape>" #'vterm-send-escape)
|
(general-def 'insert vterm-mode-map
|
||||||
|
"C-<escape>" #'vterm-send-escape
|
||||||
|
"C-l" #'vterm-clear-scrollback)
|
||||||
;; Add a hook when vterm changes the directory
|
;; Add a hook when vterm changes the directory
|
||||||
(defvar vterm-directory-change-hook nil
|
(defvar vterm-directory-change-hook nil
|
||||||
"Hooks to be run after vterm changes the directory")
|
"Hooks to be run after vterm changes the directory")
|
||||||
@ -26,6 +28,7 @@
|
|||||||
(vterm-environment '("TYPEWRITTEN_CURSOR=terminal"))
|
(vterm-environment '("TYPEWRITTEN_CURSOR=terminal"))
|
||||||
(vterm-ignore-blink-cursor t)
|
(vterm-ignore-blink-cursor t)
|
||||||
(vterm-eval-cmds '(("find-file" find-file)
|
(vterm-eval-cmds '(("find-file" find-file)
|
||||||
|
("ff" find-file)
|
||||||
("message" message)
|
("message" message)
|
||||||
("vterm-clear-scrollback" vterm-clear-scrollback)
|
("vterm-clear-scrollback" vterm-clear-scrollback)
|
||||||
("man" man)
|
("man" man)
|
||||||
|
@ -78,9 +78,12 @@
|
|||||||
(require 'init-help)
|
(require 'init-help)
|
||||||
(require 'init-python)
|
(require 'init-python)
|
||||||
(require 'init-clojure)
|
(require 'init-clojure)
|
||||||
|
(require 'init-lisp)
|
||||||
(require 'init-js)
|
(require 'init-js)
|
||||||
(require 'init-yaml)
|
(require 'init-yaml)
|
||||||
|
(require 'init-groovy)
|
||||||
(require 'init-terraform)
|
(require 'init-terraform)
|
||||||
|
(require 'init-docker)
|
||||||
(require 'init-run-command)
|
(require 'init-run-command)
|
||||||
(require 'init-aws)
|
(require 'init-aws)
|
||||||
(require 'init-prodigy)
|
(require 'init-prodigy)
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
typeset -U path
|
||||||
|
path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin ~/.cargo/bin $path)
|
||||||
|
|
||||||
if [ -d ~/lola ];
|
if [ -d ~/lola ];
|
||||||
then
|
then
|
||||||
export LOLA_HOME=~/lola/lola-server
|
export LOLA_HOME=~/lola/lola-server
|
||||||
@ -6,7 +9,6 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
export LEDGER_FILE="$HOME/journal.ledger"
|
export LEDGER_FILE="$HOME/journal.ledger"
|
||||||
export PATH="$HOME/bin/":"$HOME/.local/bin":"$HOME/.gem/ruby/2.6.0/bin":"$HOME/.gem/ruby/2.5.0/bin":"$HOME/go/bin":"/opt/local/bin":"$PATH"
|
|
||||||
|
|
||||||
EDITOR="$(which emacsclient)"
|
EDITOR="$(which emacsclient)"
|
||||||
export EDITOR
|
export EDITOR
|
||||||
@ -22,5 +24,5 @@ export GPG_TTY
|
|||||||
|
|
||||||
if [ -d /Applications/Postgres.app ];
|
if [ -d /Applications/Postgres.app ];
|
||||||
then
|
then
|
||||||
export PATH=/Applications/Postgres.app/Contents/Versions/latest/bin:"$PATH"
|
path=(/Applications/Postgres.app/Contents/Versions/latest/bin $path)
|
||||||
fi
|
fi
|
||||||
|
@ -142,6 +142,7 @@ if [[ "$INSIDE_EMACS" = 'vterm' ]]; then
|
|||||||
alias clear='vterm_printf "51;Evterm-clear-scrollback";tput clear'
|
alias clear='vterm_printf "51;Evterm-clear-scrollback";tput clear'
|
||||||
alias man='vterm_cmd man'
|
alias man='vterm_cmd man'
|
||||||
alias ediff='vterm_cmd ediff'
|
alias ediff='vterm_cmd ediff'
|
||||||
|
alias ff='vterm_cmd find-file'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# This is to change the title of the buffer based on information provided by the
|
# This is to change the title of the buffer based on information provided by the
|
||||||
|
Loading…
Reference in New Issue
Block a user