Skip to content

Commit 621850b

Browse files
committed
Testing out on Windows. Some refinements.
1 parent 12cc858 commit 621850b

File tree

8 files changed

+17
-12
lines changed

8 files changed

+17
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ archive-contents
1616
.cache
1717
recentf
1818
transient
19+
network-security.data

customizations/editing.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
;; When you visit a file, point goes to the last place where it
2929
;; was when you previously visited the same file.
3030
;; http://www.emacswiki.org/emacs/SavePlace
31-
(require 'saveplace)
32-
(setq-default save-place t)
31+
(save-place-mode 1)
3332
;; keep track of saved places in ~/.emacs.d/places
3433
(setq save-place-file (concat user-emacs-directory "places"))
3534

customizations/elisp-editing.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
;; paredit enables structural editing of just about any lisp
2+
;; https://www.emacswiki.org/emacs/ParEdit
13
(setup (:package paredit)
24
(:hook-into emacs-lisp-mode
35
eval-expression-minibuffer-setup

customizations/filetree.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
;; https://github.com/Alexander-Miller/treemacs
33
(setup (:package treemacs treemacs-projectile treemacs-magit)
44
(:global "M-0" treemacs-select-window
5+
"M-o" ace-window ;; treemacs brings ace-window as a dependency
56
"s-b" treemacs))

customizations/setup-org.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
;; notes, plans, ideas, articles, etc. But it goes way beyond that,
44
;; including calendar features, executable code blocks, task statuses,
55
;; and even a pomodoro timer!
6-
;; See https://orgmode.org/ for _tons_ of information
6+
;; See https://orgmode.org/ for /tons/ of information
77
;; All of the beautifying configuration comes from https://zzamboni.org/post/beautifying-org-mode-in-emacs/
8-
;; Tip of the had to Diego Zamboni for that.
8+
;; Tip of the hat to Diego Zamboni for that.
99
(defun efc/org-font-setup ()
1010
;; Replace list hyphen with dot
1111
(font-lock-add-keywords 'org-mode

customizations/shell-integration.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;; Sets up exec-path-from shell
22
;; https://github.com/purcell/exec-path-from-shell
33
(setup
4-
(when (memq window-system '(mac ns)))
4+
(when (memq window-system '(mac ns))
55
(:package exec-path-from-shell)
6-
(exec-path-from-shell-initialize))
6+
(exec-path-from-shell-initialize)))

customizations/ui.el

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
(setq-default frame-title-format "%b (%f)")
1818

1919
;; initial frame height and width
20-
(add-to-list 'default-frame-alist '(height . 95))
21-
(add-to-list 'default-frame-alist '(width . 154))
20+
(add-to-list 'default-frame-alist '(height . 45))
21+
(add-to-list 'default-frame-alist '(width . 100))
2222

2323
;; increase font size for better readability
2424
(set-face-attribute 'default nil :height 140)
@@ -34,8 +34,10 @@
3434
;; doom-modeline uses nice icons from all-the-icons
3535
(setup (:package all-the-icons))
3636

37-
(setup (:package doom-modeline)
38-
(doom-modeline-mode t))
37+
;; for some reason, this crashes Emacs on Windows. Argh!
38+
(setup (when (not (string-equal system-type "windows-nt"))
39+
(:package doom-modeline)
40+
(doom-modeline-mode t)))
3941

4042
;; Lots of great themes, both light ones
4143
;; and dark ones. Use M-x load-theme to select one.

init.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
'("ui.el"
2828
"navigation.el"
2929
"projects.el"
30+
"git.el"
3031
"filetree.el"
3132
"editing.el"
3233
"elisp-editing.el"
3334
"setup-clojure.el"
3435
"setup-js.el"
3536
"setup-org.el"
36-
"shell-integration.el"
37-
"git.el"))
37+
"shell-integration.el"))
3838

3939
(dolist (x addons)
4040
(load x))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy