fix formating, adjust for my new site, and bump Go version
This commit is contained in:
parent
79333ab704
commit
006039eb6d
32
init.el
32
init.el
@ -1,15 +1,14 @@
|
|||||||
;;; Emacs configuration
|
|
||||||
;;; ===================
|
|
||||||
|
|
||||||
;;; I recommend watching the following video by BuildFunThings called
|
|
||||||
;;; [My GNU Emacs configuration for programming](https://www.youtube.com/watch?v=I28jFkpN5Zk).
|
|
||||||
|
|
||||||
;;; Below are fragments from my Emacs configuration file
|
;;; Below are fragments from my Emacs configuration file
|
||||||
;;; (`~/.emacs.d/init.el`).
|
;;; (`~/.emacs.d/init.el`).
|
||||||
|
|
||||||
;;; The newest verstion of this config is available from a [github
|
;;; <!-- more -->
|
||||||
|
|
||||||
|
;;; The newest version of this config is available from a [github
|
||||||
;;; repo](https://github.com/lukpank/.emacs.d).
|
;;; repo](https://github.com/lukpank/.emacs.d).
|
||||||
|
|
||||||
|
;;; I recommend watching the following video by BuildFunThings called
|
||||||
|
;;; [My GNU Emacs configuration for programming](https://www.youtube.com/watch?v=I28jFkpN5Zk).
|
||||||
|
|
||||||
;;; I use `:ensure nil` argument of the `use-package` macro below for
|
;;; I use `:ensure nil` argument of the `use-package` macro below for
|
||||||
;;; the packages I use because I do not want them to be upgraded on
|
;;; the packages I use because I do not want them to be upgraded on
|
||||||
;;; every Emacs start, actually `:ensure nil` is the default so it has
|
;;; every Emacs start, actually `:ensure nil` is the default so it has
|
||||||
@ -195,11 +194,12 @@
|
|||||||
|
|
||||||
(use-package buffer-flip
|
(use-package buffer-flip
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:bind (("s-v" . buffer-flip)
|
:bind
|
||||||
:map buffer-flip-map
|
(("s-v" . buffer-flip)
|
||||||
( "s-v" . buffer-flip-forward)
|
:map buffer-flip-map
|
||||||
( "s-V" . buffer-flip-backward)
|
("s-v" . buffer-flip-forward)
|
||||||
( "C-g" . buffer-flip-abort)))
|
("s-V" . buffer-flip-backward)
|
||||||
|
("C-g" . buffer-flip-abort)))
|
||||||
|
|
||||||
(use-package goto-chg
|
(use-package goto-chg
|
||||||
:ensure nil
|
:ensure nil
|
||||||
@ -240,13 +240,15 @@
|
|||||||
"Set font to Inconsolata:pixelsize=SIZE:antialias=true:autohint=false.
|
"Set font to Inconsolata:pixelsize=SIZE:antialias=true:autohint=false.
|
||||||
Argument FRAMES has the same meaning as for `set-frame-font'"
|
Argument FRAMES has the same meaning as for `set-frame-font'"
|
||||||
(interactive "n[Inconsolata] size: ")
|
(interactive "n[Inconsolata] size: ")
|
||||||
(set-frame-font (format "Inconsolata:pixelsize=%d:antialias=true:autohint=true" size) nil frames))
|
(set-frame-font
|
||||||
|
(format "Inconsolata:pixelsize=%d:antialias=true:autohint=true" size) nil frames))
|
||||||
|
|
||||||
(defun set-frame-font-go-mono (size &optional frames)
|
(defun set-frame-font-go-mono (size &optional frames)
|
||||||
"Set font to Go mono:pixelsize=SIZE:antialias=true:autohint=false.
|
"Set font to Go mono:pixelsize=SIZE:antialias=true:autohint=false.
|
||||||
Argument FRAMES has the same meaning as for `set-frame-font'"
|
Argument FRAMES has the same meaning as for `set-frame-font'"
|
||||||
(interactive "n[Go mono] size: ")
|
(interactive "n[Go mono] size: ")
|
||||||
(set-frame-font (format "Go mono:pixelsize=%d:antialias=true:autohint=true" size) nil frames))
|
(set-frame-font
|
||||||
|
(format "Go mono:pixelsize=%d:antialias=true:autohint=true" size) nil frames))
|
||||||
|
|
||||||
;; my customization of used themes
|
;; my customization of used themes
|
||||||
|
|
||||||
@ -628,7 +630,7 @@ inserted between the braces between the braces."
|
|||||||
|
|
||||||
;;; 2. Install Go compiler. Under Debian you install `golang-go` package
|
;;; 2. Install Go compiler. Under Debian you install `golang-go` package
|
||||||
;;; (but in Debian 9 Stretch it is 1.7 while in Debian 8 Jessie it is
|
;;; (but in Debian 9 Stretch it is 1.7 while in Debian 8 Jessie it is
|
||||||
;;; 1.3.3 compared to the current 1.10, so you may
|
;;; 1.3.3 compared to the current 1.11, so you may
|
||||||
;;; consider
|
;;; consider
|
||||||
;;; [downloading the current version of Go](https://golang.org/dl/)). Otherwise
|
;;; [downloading the current version of Go](https://golang.org/dl/)). Otherwise
|
||||||
;;; search for the package for your system or otherwise
|
;;; search for the package for your system or otherwise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user