added Gitflow, added custom shortcuts, fixed gnus configuration
Added the Magit Gitflow package to Emacs. Also added some custom shortcuts, such as `SPC o x t f` which is an alias to `C-u M-q` or `M-1 M-q`. This is due to the change of editing style in Spacemacs, I went from the Emacs editing style to the hybrid editing style —that is, in normal mode, I am using evil-mode, and in insert mode, I am using Emacs’ keybinding. This also lead me to add a couple of shortcuts for Gnus, which had a broken IMAP configuration (wrong port).
This commit is contained in:
parent
def4c9b244
commit
810d210715
16
.spacemacs
16
.spacemacs
@ -167,6 +167,7 @@ This function should only modify configuration layer settings."
|
|||||||
eshell-git-prompt
|
eshell-git-prompt
|
||||||
fireplace
|
fireplace
|
||||||
kaolin-themes
|
kaolin-themes
|
||||||
|
magit-gitflow
|
||||||
meson-mode
|
meson-mode
|
||||||
modern-cpp-font-lock
|
modern-cpp-font-lock
|
||||||
multiple-cursors
|
multiple-cursors
|
||||||
@ -262,7 +263,7 @@ It should only modify the values of Spacemacs settings."
|
|||||||
;; with `:variables' keyword (similar to layers). Check the editing styles
|
;; with `:variables' keyword (similar to layers). Check the editing styles
|
||||||
;; section of the documentation for details on available variables.
|
;; section of the documentation for details on available variables.
|
||||||
;; (default 'vim)
|
;; (default 'vim)
|
||||||
dotspacemacs-editing-style 'emacs
|
dotspacemacs-editing-style 'hybrid
|
||||||
|
|
||||||
;; If non nil output loading progress in `*Messages*' buffer. (default nil)
|
;; If non nil output loading progress in `*Messages*' buffer. (default nil)
|
||||||
dotspacemacs-verbose-loading nil
|
dotspacemacs-verbose-loading nil
|
||||||
@ -656,6 +657,11 @@ dump."
|
|||||||
markdown-mode-hook))
|
markdown-mode-hook))
|
||||||
(global-aggressive-indent-mode 1)
|
(global-aggressive-indent-mode 1)
|
||||||
|
|
||||||
|
(defun phundrak/fill-paragraph()
|
||||||
|
(interactive)
|
||||||
|
(let* ((current-prefix-arg 4))
|
||||||
|
(call-interactively 'fill-paragraph)))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; Nov-mode ;
|
; Nov-mode ;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
@ -731,6 +737,7 @@ dump."
|
|||||||
(spacemacs/declare-prefix "or" "external command")
|
(spacemacs/declare-prefix "or" "external command")
|
||||||
(spacemacs/declare-prefix "ot" "toggle")
|
(spacemacs/declare-prefix "ot" "toggle")
|
||||||
(spacemacs/declare-prefix "ow" "writeroom")
|
(spacemacs/declare-prefix "ow" "writeroom")
|
||||||
|
(spacemacs/declare-prefix "ox" "text")
|
||||||
(spacemacs/set-leader-keys
|
(spacemacs/set-leader-keys
|
||||||
"oac" 'calc
|
"oac" 'calc
|
||||||
"oaC" 'calendar
|
"oaC" 'calendar
|
||||||
@ -750,6 +757,8 @@ dump."
|
|||||||
"ofr" (lambda () (interactive) (find-file "~/README.org"))
|
"ofr" (lambda () (interactive) (find-file "~/README.org"))
|
||||||
"ofo" 'find-file-at-point
|
"ofo" 'find-file-at-point
|
||||||
"ogd" 'turn-on-gnus-dired-mode
|
"ogd" 'turn-on-gnus-dired-mode
|
||||||
|
"ogd" 'gnus-summary-delete-article
|
||||||
|
"ogr" 'gnus-summary-insert-new-articles
|
||||||
"oii" (lambda () (interactive) (insert ""))
|
"oii" (lambda () (interactive) (insert ""))
|
||||||
"ome" 'mc/edit-lines
|
"ome" 'mc/edit-lines
|
||||||
"omn" 'mc/mark-next-like-this
|
"omn" 'mc/mark-next-like-this
|
||||||
@ -767,7 +776,8 @@ dump."
|
|||||||
"os" 'prettify-symbols-mode
|
"os" 'prettify-symbols-mode
|
||||||
"oti" 'toggle-input-method
|
"oti" 'toggle-input-method
|
||||||
"otI" 'set-input-method
|
"otI" 'set-input-method
|
||||||
"owd" 'writeroom-decrease-width)
|
"owd" 'writeroom-decrease-width
|
||||||
|
"oxf" 'phundrak/fill-paragraph)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; gnus ;
|
; gnus ;
|
||||||
@ -776,7 +786,7 @@ dump."
|
|||||||
;; get email, store in nnml
|
;; get email, store in nnml
|
||||||
(setq gnus-secondary-select-methods '((nnimap "1and1"
|
(setq gnus-secondary-select-methods '((nnimap "1and1"
|
||||||
(nnimap-address "imap.ionos.fr")
|
(nnimap-address "imap.ionos.fr")
|
||||||
(nnimap-server-port 143)
|
(nnimap-server-port 993)
|
||||||
(nnimap-stream ssl)))
|
(nnimap-stream ssl)))
|
||||||
;; send email via 1and1
|
;; send email via 1and1
|
||||||
message-send-mail-function 'smtpmail-send-it
|
message-send-mail-function 'smtpmail-send-it
|
||||||
|
Loading…
Reference in New Issue
Block a user