Skip to content

Commit

Permalink
emacs: Enable menu-bar-mode
Browse files Browse the repository at this point in the history
This also "literate-ises" `emacs/lisp/alc-terminals.el` and
`emacs/early-init.el`
  • Loading branch information
alcarney committed Jan 21, 2024
1 parent 91cb9eb commit 9ae6bd7
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 6 deletions.
53 changes: 53 additions & 0 deletions docs/emacs.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
Emacs
-----

This is where my emacs config goes.

.. contents::
:depth: 2
:local:

Early Init
^^^^^^^^^^

If Emacs sees an ``early-init.el`` file, it will execute that first before proceeding to the standard ``init.el`` file.
I stil don't really know what should go here... but I do see some people use it for GUI related options

:filename: emacs/early-init.el

.. code:: elisp
;;; early-init.el --- Early Init File -*- lexical-binding: t -*-
;; Disable GUI things
(blink-cursor-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)
;; And enable others
(show-paren-mode t)
(menu-bar-mode t)
(setq frame-inhibit-implied-resize t
inhibit-x-resources t
inhibit-startup-message t)
Packages
^^^^^^^^

Eat
"""

:filename: emacs/lisp/alc-terminals.el

.. code:: elisp
;;; alc-terminals.el --- (e)Shell, term, eat, oh my! -*- lexical-binding: t -*-
(use-package eat
:config
(with-eval-after-load 'project
(keymap-set project-prefix-map "t" #'eat-project)))
(provide 'alc-terminals)
13 changes: 10 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
Dotfiles
========
Dotfiles - Alex Carney
======================

Here lies the dotfiles.
This is a work-in-progress literate-ification of my dotfiles using the `awdur <https://github.com/swyddfa/awdur>`__ Python package.
It's pretty rough at the moment, but I have high hopes for the future.

.. contents::
:depth: 1


.. include:: emacs.rst
8 changes: 5 additions & 3 deletions emacs/early-init.el
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
;;; early-init.el --- Early Init File -*- lexical-binding: t -*-

;; Disable gui things
;; Disable GUI things
(blink-cursor-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(show-paren-mode t)
(tool-bar-mode -1)

;; And enable others
(show-paren-mode t)
(menu-bar-mode t)

(setq frame-inhibit-implied-resize t
inhibit-x-resources t
inhibit-startup-message t)

0 comments on commit 9ae6bd7

Please sign in to comment.