Git Product home page Git Product logo

lunarymacs's Introduction

Lunarymacs

This is my Emacs configuration featuring:

  • home-brew use-package and key-binding macros.
  • A simple package manager cowboy.el that can install by package.el, git or url.
  • Some on-site packages in site-lisp directory.

./screenshot.png

Usage

git clone https://github.com/casouri/lunarymacs.git ~/.emacs.d
emacs

When Emacs starts, a lot of warning will appear saying package xxx is not installed. To install all the missing packages, type

M-x luna-install-all RET

Site-lisp packages

Text editing aid

bklink.elSimple Roam-like back-links.
iimg.elEmbed images in text files as base64 strings.
iscroll.elSmooth scrolling over images.
quanjiao.el智能全角引号。
transform.elTeXmacs-like symbol insertion.
expreg.elMy take on expand-region.

Programming aid

color-outline.elOutline for programming modes. (Vanilla Emas can do this now)
commentary.elSync README.org and Commentary.

Lunarymacs specific

cowboy.elHome-brew package manager.
cyberpunk-theme.elA dark custom color theme.
light-theme.elA light custom color theme
luna-local.elSession persistent variables. (Not used anymore)
luna-load-package.elHome-brew use-package.el.
luna-key.elHome-brew general.el.
theme-util.elSome utilities for defining themes.
utility.elAll sorts of utility functions.

Etc

form-feed.elFork of form-feed.el
recentf-ext.elFork of recentf-ext.el
face-attr.elSet/get face attributes from face text prop.
pause.elLight wrapper around recursive edit.

Themes

pale.elA quiet light theme.
light.elDoom light theme knock-off (unmaintained)
cyberpunk.elNeon dark them (unmaintained)

There are more, take a look in site-lisp ;-)

Structure

~/.emacs.d/
├── cheatsheet          cheatsheet files (M-x cheatsheet-display)
├── custom.el           custom file
├── dump.el             init file for dumping
├── early-init.el
├── init.el
├── elpa                downloaded packages
├── ranch               package downloaded by cowboy.el
├── site-lisp           local packages
├── snippets            yasnippet snippets
└── star                configuration files

Stars

├── angel.el                Basic editing ehancements
├── app.el                  Emacs applications like ERC and GNUS
├── blog.el                 Utilities for writing my blog
├── checker.el              Config for checkers (flymake, ispell)
├── completion.el           Config for completions (company, ivy)
├── deprecated              Deprecated configs
├── dir.el                  Dired configs
├── edit.el                 Editing ehancement packages
├── etc.el                  Setting variables
├── git.el                  Magit and vc config
├── key.el                  Global key-bindings
├── mode-line.el            Mode-line config
├── org-mode.el             Org-mode config
├── python.el               Python config
├── recipe.el               Cowboy package retrival recipes
├── simple-mode.el          Configs for programming modes
├── tex.el                  TeX config
├── ui.el                   UI enhancement packages
└── writing.el              Note-taking packages

lunarymacs's People

Contributors

casouri avatar dalugm avatar nasyxx avatar roshanshariff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lunarymacs's Issues

Not registering prefix "mc" from package/elpa/multiple-cursors-20180320.747/multiple-cursors-core.

js2-refactor depends on multiple cursors, and multiple-cursors invoke this error when loading autoload:

Not registering prefix "mc" from package/elpa/multiple-cursors-20180320.747/multiple-cursors-core.  Affects: ("mc--compare-by-overlay-start" "mc--current-cursor-id" "mc--executing-command-for-fake-cursor" "mc--read-char" "mc--read-quoted-char" "mc--reset-read-prompts" "mc--stored-state-for-undo" "mc--this-command" "mc--all-equal" "mc--kill-ring-entries" "mc--max-cursors-original" "mc--maybe-set-killed-rectangle" "mc--default-cmds-to-run-once" "mc--default-cmds-to-run-for-all" "mc/for-each-fake-cursor" "mc/for-each-cursor-ordered" "mc/fake-cursor-p" "mc/add-fake-cursor-to-undo-list" "mc/all-fake-cursors" "mc/always-run-for-all" "mc/always-repeat-command" "mc/pop-state-from-overlay" "mc/prompt-for-inclusion-in-whitelist" "mc/num-cursors" "mc/restore-state-from-overlay" "mc/remove-fake-cursor" "mc/remove-fake-cursors" "mc/repeat-command" "mc/keyboard-quit" "mc/keymap" "mc/unsupported-minor-modes" "mc/temporarily-disabled-minor-modes" "mc/temporarily-disable-minor-mode" "mc/temporarily-disable-unsupported-minor-modes" "mc/execute-command" "mc/execute-command-for-fake-cursor" "mc/execute-command-for-all-fake-cursors" "mc/execute-command-for-all-cursors" "mc/execute-this-command-for-all-cursors" "mc/execute-this-command-for-all-cursors-1" "mc/enable-minor-mode" "mc/enable-temporarily-disabled-minor-modes" "mc/mode-line" "mc/max-cursors" "mc/make-cursor-overlay-inline" "mc/make-cursor-overlay-at-eol" "mc/make-cursor-overlay-at-point" "mc/make-region-overlay-between-point-and-mark" "mc/make-a-note-of-the-command-being-run" "mc/maybe-multiple-cursors-mode" "mc/list-file" "mc/delete-region-overlay" "mc/dump-list" "mc/store-current-state-in-overlay" "mc/save-excursion" "mc/save-window-scroll" "mc/save-lists" "mc/create-cursor-id" "mc/create-fake-cursor-at-point" "mc/cursor-is-bar" "mc/cursor-specific-vars" "mc/cursor-with-id" "mc/cmds-to-run-once" "mc/cmds-to-run-for-all")

Something wrong with theme

error details on macOS:
error: Font not available, #<font-spec nil nil SF Pro Text nil nil light nil nil 13.5 nil nil nil nil>

consider moving `expreg.el` to it's own repo

I'm finding expreg.el to work quite well and would like to try replacing expand-region / puni with it in my .emacs. Would you consider moving it into it's own repo? If you aren't ready to publish it to MELPA / ELPA, etc, just having it in its own repo would still make it easy to install in isolation with package-vc or straight. It would also allow the project to start receiving contributions.

P.S. Thanks for all your work surrounding treesit in Emacs core!

Makefile:13: *** missing separator. Stop.

Unable to run make inside ~/.emacs.d
Error message is "Makefile:13: *** missing separator. Stop."

I tried to open the Emacs with this error, and Emacs is telling me that "file-missing"

I am running Emacs version 26.1 on macOS 10.14.2

FYI: https://github.com/ubolonton/info-colors exists

Notice in the screenshot that it is properly choosing the monospace/variable pitch.

You may prefer this to your https://github.com/casouri/lunarymacs/blob/master/site-lisp/info-pretty.el .

If info-colors doesn't suit your needs, you could also try https://www.emacswiki.org/emacs/InfoPlus .

Thought I'd share after reading your comment in this thread: https://www.reddit.com/r/emacs/comments/vel3ix/comment/icvd5cd/?utm_source=share&utm_medium=web2x&context=3

iscroll 没有起作用

这是我的配置

(use-package iscroll
    :load-path "~/bin/iscroll"
    :hook
    (org-mode . iscroll-mode)
    :config
    (evil-define-key '(normal visual) 'global-map (kbd "j") 'iscroll-next-line)
    (evil-define-key '(normal visual) 'global-map (kbd "k") 'iscroll-previous-line))

manjaro, emacs 28.0, spacemacs

但是在图片上的移动仍然没有分成多行移动,我还需要配置其他东西么?

感谢感谢

C/C++ packages?

Is this pre-installed some packages that are useful for C/C++ development?
I am a noob.

lunaryline fail from time to time

Sometimes on startup lunaryline fails, switching to new buffers several times can take it back.

Reason is still unclear.

Error message:

Error during redisplay: (eval (let* ((active (powerline-selected-window-active)) (mode-line-buffer-id (if active (quote mode-line-buffer-id) (quote mode-line-buffer-id-inactive))) (mode-line (if active (quote mode-line) (quote mode-line-inactive))) (face0 (if active (quote powerline-active0) (quote powerline-inactive0))) (face1 (if active (quote powerline-active1) (quote powerline-inactive1))) (face2 (if active (quote powerline-active2) (quote powerline-inactive2))) (facey (if active (quote lunaryline-yellow) (quote powerline-inactive1))) (faceyl (if active (quote lunaryline-yellow-light) (quote powerline-inactive1))) (faceb (if active (quote lunaryline-blue) (quote powerline-inactive1))) (facebl (if active (quote lunaryline-blue-light) (quote powerline-inactive1))) (separator-left (intern (format "powerline-%s-%s" (powerline-current-separator) (car powerline-default-separator-dir)))) (separator-right (intern (format "powerline-%s-%s" (powerline-current-separator) (cdr powerline-default-separator-dir)))) (lhs (list (when (bound-and-true-p eyebrowse-mode) (if (buffer-modified-p) (lunaryline-eyebrowse-mode-line-indicator faceyl facey) (lunaryline-eyebrowse-mode-line-indicator facebl faceb))) (when (bound-and-true-p winum-mode) (if (buffer-modified-p) (powerline-raw (lunaryline-winum) facey (quote l)) (powerline-raw (lunaryline-winum) faceb (quote l)))) (when (bound-and-true-p winum-mode) (if (buffer-modified-p) (funcall separator-left facey face0) (funcall separator-left faceb face0))) (when powerline-display-buffer-size (powerline-buffer-size face0 (quote l))) (powerline-buffer-id (\` (mode-line-buffer-id (\, face0))) (quote l)) (powerline-raw " " face0) (funcall separator-right face0 face1) (when (and (boundp (quote erc-track-minor-mode)) erc-track-minor-mode) (powerline-raw erc-modified-channels-object face0 (quote l))) (powerline-major-mode face1 (quote l)) (powerline-raw " " face1) (only-in-prog-mode| (funcall separator-left face1 face0)) (only-in-prog-mode| (flycheck-error (quote lunaryline-flycheck-error) (quote l))) (only-in-prog-mode| (flycheck-warning (quote lunaryline-flycheck-warning) (quote l))) (only-in-prog-mode| (flycheck-info (quote lunaryline-flycheck-info) (quote l))) (only-in-prog-mode| (powerline-raw " " face0)) (only-in-prog-mode| (funcall separator-right face0 face1)) (only-in-prog-mode| (lunaryline-vc face1 (quote l))) (only-in-prog-mode| (powerline-raw " " face1)) (disappear-when-narrow| (when (bound-and-true-p nyan-mode) (funcall separator-left face1 face0))) (disappear-when-narrow| (when (bound-and-true-p nyan-mode) (powerline-raw (list (nyan-create)) face0 (quote l)))) (disappear-when-narrow| (when (bound-and-true-p nyan-mode) (funcall separator-left face0 face1))))) (rhs (list (powerline-raw global-mode-string face1 (quote r)) (funcall separator-right face1 face0) (lunaryline-encoding face0 (quote l)) (funcall separator-left face0 face1) (powerline-raw "%3l" face1 (quote l)) (powerline-raw ":" face1 (quote l)) (powerline-raw "%2c" face1 (quote r)) (funcall separator-right face1 face0) (powerline-raw " " face0) (powerline-raw "%6p" face0 (quote r)) (when powerline-display-hud (powerline-hud facey face0)) (powerline-fill face0 0)))) (concat (powerline-render lhs) (powerline-fill face1 (powerline-width rhs)) (powerline-render rhs)))) signaled (void-function s-trim) [12 times]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.