Giter Site home page Giter Site logo

.emacs.d's Introduction

GNU Emacs

This repository contains all my GNU Emacs configuration.


I wanted to make this configuration simple, powerful and ergonomic by choosing the most trivial keyboard possible.

Font: Source Code Pro 20px
Mode Line: DOOM Modeline
Theme: Nord Emacs

List of files:

  • config.org: main configuration file.

  • init.el: load the generated configuration file.

Getting Started

If you are new to GNU Emacs, I advise you to take code blocks from the config.org file for your own configuration file, and evaluate them with eval-last-sepx (C-x C-e). Be careful to take pairs of parentheses.

For the most curious, you can test my complete configuration with:

git clone --recursive https://github.com/rememberYou/.emacs.d

NOTE: the first time GNU Emacs starts, it will install additional packages that will be better managed by the package manager.

TIPs

You can see all the tips I wrote on Reddit sorted from the most recent to the oldest according to the following links:

Contributions

Various functions may be optimized or spelling errors may occur. If you want to make your own correction on this configuration, you are free to do so in the issue tracker.

License

The code is not licensed, take what you like and hope that this configuration can be so useful to you that it is for me.

GNU Emacs is above all a concept of sharing in order to facilitate our daily life.

.emacs.d's People

Contributors

aviranzerioniac avatar rememberyou 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

.emacs.d's Issues

Hide the cursor in inactive windows

Hi Terencio, the variable cursor-in-non-selected-windows needs to be set to nil in order for Emacs to hide the cursor in inactive windows. However, in your configuration, it is currently set to t.

org-templates

How can I join these two templates, so that the firs one becomes only a option in the templates list?
(use-package org
:ensure org-plus-contrib)

(use-package org-contacts
  :ensure nil
  :after org)

(use-package org-capture
:ensure nil
:after org
:preface
(defvar my/org-contacts-template "* %(org-contacts-template-name)
:PROPERTIES:
:ALIAS: %^{hefis}
:NICKNAME: %^{hefistion}
:PHONE: %^{123-456-789}
:PHONE: %^{123-456-789}
:EMAIL: %(org-contacts-template-email)
:EMAIL: %(org-contacts-template-email)
:ADDRESS: %^{289 Cleveland St. Brooklyn, 11206 NY, USA}
:BIRTHDAY: %^{dd-mm-yyyy}
:NOTE: %^{NOTE}
:END:" "Template for org-contacts.")
:custom
(org-capture-templates
`(("c" "Contact" entry (file+headline "/org/Gtd_mylife/org-capture_tpls/my-contacts.org" "Friends"),
my/org-contacts-template
:empty-lines 1))))


(define-key global-map "\C-cc" 'org-capture)

(setq org-capture-templates
'(("a" "Appointment" entry
(file+headline
(concat org-directory "~/Gtd_mylife/org-capture_tpls/my-appointments.org")
"Calendar")
"* APPT %^{Description} %^g\n%?\nAdded: %U")

 ("m" "Brain" entry (function org-brain-goto-end)
    "* %i%?" :empty-lines 1)

;; for todo tasks

("d" "Long Tail TODO Task" entry
(file+headline "" "Tasks")
"* TODO %?\n %u\n %a")

;; for tasks

("t" "Task Diary" entry
(file+datetree
(concat org-directory "~/Gtd_mylife/org-capture_tpls/taskdiary.org"))
"* TODO %^{Description} %^g\n%?\nAdded: %U")

;; for long tail tasks

("d" "Long Tail TODO Task" entry
(file+headline "" "Tasks")
"* TODO %?\n %u\n %a")

;; for general notes

("n" "Notes" entry
(file+datetree
(concat org-directory "~/Gtd_mylife/org-capture_tpls/my-notes.org"))

  "* %^{Description} %^g %?\nAdded: %U")

;; for dreams

("i" "Dreams" entry
(file+datetree
(concat org-directory "~/Gtd_mylife/org-capture_tpls/my-dreams.org"))

"* %^{Description} %^g %?\nAdded: %U")

;; for journalling

 ("j" "Journal" entry
  (file+datetree
   (concat org-directory "~/Gtd_mylife/org-capture_tpls/my-journal.org"))
  "** %^{Heading}")

;; for hugo blogging

   ("o" "Posts"
 (file+datetree (concat org-directory "~/blog/content/posts/my-post.org")

"* TODO %^{Description} %^g\n%?\nAdded: %U"))

;; for capturing books to read

   ("b" "Book" entry (file+headline "~/Gtd_mylife/org-capture_tpls/books-to_read.org" "books to read")
  "* TODO %\\1 - %\\2%?\n%U\n:PROPERTIES:\n:NAME: %^{NAME}\n:TITLE: %^{TITLE}\n:END:\n")

;; for log time

   ("l" "Log Time" entry
  (file+datetree
   (concat org-directory "~/Gtd_mylife/org-capture_tpls/timelog.org"))
  "** %U - %^{Activity}  :TIME:")

;; for capturing chunks of webpages and/or webpages themselves with W3m or EWW

   ("w" "Website" plain 
  (function org-website-clipper)
  "* %a\n%T\n" :immediate-finish t)))

startup error with "Debugger entered--Lisp error: (wrong-type-argument stringp nil)"

hi, i installed emacs-plus@27 with brew on mac, and there's an error when i started up, my backtrace:
'''
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-name-directory(nil)
org-babel-tangle-single-block(1)
org-babel-tangle-collect-blocks("emacs-lisp\|elisp" nil)
org-babel-tangle(nil "/Users/me/.emacs.d/config.el" "emacs-lisp\|elisp")
org-babel-tangle-file("/Users/me/.emacs.d/config.org" "/Users/me/.emacs.d/config.el" "emacs-lisp\|elisp")
org-babel-load-file("/Users/me/.emacs.d/config.org")
(if (file-exists-p (expand-file-name "config.el" user-emacs-directory)) (load-file (expand-file-name "config.el" user-emacs-directory)) (org-babel-load-file (expand-file-name "config.org" user-emacs-directory)))
eval-buffer(#<buffer load> nil "/Users/me/.emacs.d/init.el" nil t) ; Reading at buffer position 1516
load-with-code-conversion("/Users/me/.emacs.d/init.el" "/Users/me/.emacs.d/init.el" t t)
load("/Users/me/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x1fe6d3ca3e49>) #f(compiled-function () #<bytecode 0x1fe6d3ca3e5d>) t)
command-line()
normal-top-level()
'''
Thanks for any help~

How did you get dap-mode to run python scripts?

Hey! I see that you have python and dap mode together. I'm using Doom Emacs and have been struggling trying to get dap-mode to properly run Python inside of Emacs, whenever I run it the buffer it generates is read only, which means I can't enter data for the code to run. Im curious to what commands you are using to run python code and how did you get it to work?

IRC errors

I used your IRC config but ERC gives me trouble on starting emacs. Both erc-image and erc-hl-nicks can't be installed with the error below

Error loading autoloads: (void-variable erc-mode-map)
Error void function: (define-erc-mode)

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.