|
|
|
@ -104,7 +104,7 @@
|
|
|
|
|
|
|
|
|
|
** Set up my personal keymap
|
|
|
|
|
|
|
|
|
|
I set it up early so I can use it in ~use-package~ calls immediately.
|
|
|
|
|
I set it up early so i can use it in ~use-package~ calls immediately.
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
|
(defvar gpolonkai/pers-map (make-sparse-keymap)
|
|
|
|
@ -114,7 +114,7 @@ I set it up early so I can use it in ~use-package~ calls immediately.
|
|
|
|
|
(define-key global-map (kbd "C-t") 'gpolonkai/pers-map)
|
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
|
|
** I really don’t want to type more than I really must…
|
|
|
|
|
** I really don’t want to type more than i really must…
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
|
(defalias 'yes-or-no-p 'y-or-n-p)
|
|
|
|
@ -122,14 +122,14 @@ I set it up early so I can use it in ~use-package~ calls immediately.
|
|
|
|
|
|
|
|
|
|
** Set UTF-8 as the default encoding
|
|
|
|
|
|
|
|
|
|
Just to make sure, although most Linux DE does this for me.
|
|
|
|
|
Just to make sure, although most Linux DEs do this for me.
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
|
(set-language-environment "UTF-8")
|
|
|
|
|
(set-default-coding-systems 'utf-8)
|
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
|
|
** Set org’s main directory
|
|
|
|
|
** Set Org’s main directory
|
|
|
|
|
|
|
|
|
|
Since a lot of packages use it as their base (org-projectile, org-ref, org-caldav, etc.), i need
|
|
|
|
|
it as early as possible.
|
|
|
|
@ -1235,7 +1235,7 @@ Finally, set the frame title to the current file name
|
|
|
|
|
|
|
|
|
|
* Enable disabled commands
|
|
|
|
|
|
|
|
|
|
Because I’m a rock star like that.
|
|
|
|
|
Because i’m a rock star like that.
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
|
(put 'downcase-region 'disabled nil)
|
|
|
|
@ -1454,7 +1454,7 @@ For in-Emacs browsing needs.
|
|
|
|
|
("j" . webjump)))
|
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
|
|
** Which function am I in?
|
|
|
|
|
** Which function am i in?
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
|
(defun gpolonkai/activate-which-func-mode ()
|
|
|
|
@ -1815,7 +1815,7 @@ Because one is never enough.
|
|
|
|
|
|
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
|
|
** Make Magit work with Git forges
|
|
|
|
|
*** Make Magit work with Git forges
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
|
(use-package forge)
|
|
|
|
|