diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 52 |
1 files changed, 31 insertions, 21 deletions
diff --git a/init.el b/init.el index f4d6533..f0a93a6 100644 --- a/init.el +++ b/init.el | |||
@@ -1278,27 +1278,32 @@ See also `crux-reopen-as-root-mode'." | |||
1278 | (setup (:straight (simple-modeline | 1278 | (setup (:straight (simple-modeline |
1279 | :fork (:host github :repo "duckwork/simple-modeline"))) | 1279 | :fork (:host github :repo "duckwork/simple-modeline"))) |
1280 | (:require +modeline) | 1280 | (:require +modeline) |
1281 | (:option simple-modeline-segments `((;; left | 1281 | (:option simple-modeline-segments |
1282 | +modeline-ace-window-display | 1282 | `(( ; left |
1283 | +modeline-modified | 1283 | +modeline-ace-window-display |
1284 | ,(+modeline-concat | 1284 | +modeline-modified |
1285 | '(+modeline-god-mode | 1285 | +modeline-buffer-name |
1286 | +modeline-reading-mode | 1286 | (lambda () (+modeline-vc ": ")) |
1287 | +modeline-narrowed) | 1287 | ,(+modeline-concat |
1288 | ",") | 1288 | '(+modeline-minions |
1289 | +modeline-buffer-name | 1289 | +modeline-major-mode)) |
1290 | +modeline-position | 1290 | +modeline-anzu |
1291 | +modeline-anzu | 1291 | ) |
1292 | ) | 1292 | ( ; right |
1293 | (;; right | 1293 | (lambda () |
1294 | +modeline-track | 1294 | (unless +tab-bar-misc-info-mode |
1295 | +modeline-vc | 1295 | (+modeline-concat |
1296 | simple-modeline-segment-misc-info | 1296 | '(+modeline-track |
1297 | simple-modeline-segment-process | 1297 | simple-modeline-segment-misc-info)))) |
1298 | +modeline-text-scale | 1298 | |
1299 | +modeline-minions | 1299 | simple-modeline-segment-process |
1300 | +modeline-major-mode | 1300 | +modeline-text-scale |
1301 | ))) | 1301 | ,(+modeline-concat |
1302 | '(+modeline-god-mode | ||
1303 | +modeline-reading-mode | ||
1304 | +modeline-narrowed) | ||
1305 | ",") | ||
1306 | +modeline-position))) | ||
1302 | (simple-modeline-mode +1)) | 1307 | (simple-modeline-mode +1)) |
1303 | 1308 | ||
1304 | (setup (:straight smartscan) | 1309 | (setup (:straight smartscan) |
@@ -1469,3 +1474,8 @@ See also `crux-reopen-as-root-mode'." | |||
1469 | (:require +zzz-to-char) | 1474 | (:require +zzz-to-char) |
1470 | (:option zzz-to-char-reach 1024) | 1475 | (:option zzz-to-char-reach 1024) |
1471 | (:global "M-z" #'+zzz-to-char)) | 1476 | (:global "M-z" #'+zzz-to-char)) |
1477 | |||
1478 | (setup tab-bar | ||
1479 | (:require +tab-bar) | ||
1480 | (tab-bar-mode +1) | ||
1481 | (+tab-bar-misc-info-mode +1)) | ||