Skip to content

Instantly share code, notes, and snippets.

View nimeshneema's full-sized avatar

Nimesh Neema nimeshneema

View GitHub Profile
;;; early-init.el --- UI Tweaks before GUI Load -*- lexical-binding: t; -*-
;; Disable package initialization until init.el is loaded
(setq package-enable-at-startup nil)
;; Prevent UI elements from drawing initially (cleaner startup)
;; We comment out the menu bar line to keep it visible, but keep the others
;; for a cleaner startup experience.
; (push '(menu-bar-lines . 0) default-frame-alist) ; <--- THIS LINE IS NOW COMMENTED/REMOVED
;;; init.el --- Main Configuration -*- lexical-binding: t; -*-
;;; ------------------------------------------------------------------
;;; 1. PACKAGE MANAGEMENT
;;; ------------------------------------------------------------------
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("gnu" . "https://elpa.gnu.org/packages/")))
(package-initialize)