Move around #emacs shortcuts

This commit is contained in:
Colin Powell
2019-11-12 12:00:00 -05:00
parent 47d03e6eca
commit 8facbb4c7d
6 changed files with 24 additions and 60 deletions

View File

@ -70,12 +70,8 @@
(:prefix "t"
:desc "Switch themes" "t" #'load-theme)
(:prefix "o"
:desc "Open imenu" "i" #'lsp-ui-imenu
:desc "Elfeed feed reader" "f" #'elfeed
:desc "Lobste.rs" "l" #'ivy-lobsters
:desc "w3m goto URL" "g" #'w3m-goto-url
:desc "w3m search" "s" #'w3m-search
:desc "Compose an email" "c" #'notmuch-mua-new-mail)
:desc "Lobste.rs" "l" #'ivy-lobsters)
(:prefix "l"
:desc "MPD Open playlist" "o" #'mpdel-playlist-open
:desc "MPD Remove at point" "d" #'mpdel-playlist-delete
@ -88,6 +84,8 @@
(:prefix "/"
:desc "Search project TODOs" "t" #'+ivy/tasks
:desc "Search the web" "w" #'web-search
:desc "Goto URL in w3m" "u" #'w3m-goto-url
:desc "Search in w3m" "3" #'w3m-search
:desc "Search all the things" "g" #'deadgrep)
(:prefix "y"
:desc "Yank pop!" "p" #'counsel-yank-pop
@ -125,12 +123,16 @@
;; emacs/eshell
(after! eshell
(set-eshell-alias!
"f" "(other-window 1) && find-file $1"
"l" "ls -lh"
"d" "dired $1"
"gl" "(call-interactively 'magit-log-current)"
"gs" "magit-status"
"gc" "magit-commit"))
"f" "(other-window 1) && find-file $1"
"l" "ls -lh"
"d" "dired $1"
"dc" "docker-compose $*"
"fftest" "cd ~/src/ff/fifteen5 && docker-compose exec app django-admin test -k $*"
"ffsh" "cd ~/src/ff/fifteen5/ && docker-compose exec app django-admin shell_plus"
"ffdj" "cd ~/src/ff/fifteen5/ && docker-compose exec app django-admin $*"
"gl" "(call-interactively 'magit-log-current)"
"gs" "magit-status"
"gc" "magit-commit"))
(add-hook 'prog-mode-hook #'goto-address-mode) ;; Linkify links!
@ -169,7 +171,7 @@
(load! "+org") ;; Org mode stuff like todos and rebindings
(load! "+org-cal")
(load! "+nov") ;; nov.el epub mode settings
(load! "+elfeed")
;(load! "+elfeed")
(load! "+mail") ;; Mail stuff
(load! "+ranger")
(load! "+wttrin") ;; Weather config