Compare commits
5 Commits
8764ad6c86
...
8fe4052f5a
Author | SHA1 | Date |
---|---|---|
David Morgan | 8fe4052f5a | |
David Morgan | 1db348a9be | |
David Morgan | bd273eabd7 | |
David Morgan | c8ac93d906 | |
David Morgan | 85fefec403 |
|
@ -211,5 +211,9 @@
|
|||
:custom (editorconfig-trim-whitespaces-mode 'ws-butler-mode)
|
||||
:hook (emacs-startup . editorconfig-mode))
|
||||
|
||||
(use-package titlecase
|
||||
;; TODO find a better binding
|
||||
:bind ("C-c c t t" . titlecase-dwim))
|
||||
|
||||
(provide 'init-editor)
|
||||
;;; init-editor.el ends here
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
("C-c g g" . magit-dispatch) ;; magit-file-dispatch is C-c M-g
|
||||
("C-c g u" . my/magit-set-upstream)
|
||||
("C-c g r" . my/magit-refresh-state)
|
||||
("C-c g m" . my/magit-update-git-master)
|
||||
("C-c g m" . my/magit-update-master)
|
||||
:config
|
||||
;; Requires the following gitconfig:
|
||||
;; [alias]
|
||||
|
@ -296,5 +296,17 @@
|
|||
(use-package forge
|
||||
:after magit)
|
||||
|
||||
(use-package git-link
|
||||
:config
|
||||
(defun git-link-on-branch ()
|
||||
(interactive)
|
||||
(let ((git-link-use-commit nil))
|
||||
(call-interactively 'git-link)))
|
||||
:custom (git-link-use-commit t)
|
||||
:bind
|
||||
("C-c g s" . git-link)
|
||||
("C-c g S" . git-link-on-branch)
|
||||
("C-c g c" . git-link-commit))
|
||||
|
||||
(provide 'init-git)
|
||||
;;; init-git.el ends here
|
||||
|
|
|
@ -124,5 +124,10 @@ Or remove all highlighted symbols in the current buffer (with`ARG')."
|
|||
(put 'goto-last-point 'repeat-map 'goto-last-point-repeat-map)
|
||||
:bind ("C-c <" . goto-last-point))
|
||||
|
||||
(use-package link-hint
|
||||
:bind
|
||||
("C-c C-l" . link-hint-open-link)
|
||||
("C-c C-S-l" . link-hint-copy-link))
|
||||
|
||||
(provide 'init-navigation)
|
||||
;;; init-navigation.el ends here
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
|
||||
(use-package sqlup-mode
|
||||
:diminish
|
||||
:custom (sqlup-blacklist '("id" "ids"))
|
||||
:hook
|
||||
(sql-mode . sqlup-mode)
|
||||
(sql-interactive-mode . sqlup-mode)
|
||||
|
|
Loading…
Reference in New Issue