Coder Social home page Coder Social logo

.emacs.d's Introduction

Emacs config

General configuration

Use command key as meta (macOS):

(setq ns-command-modifier 'meta)

Fido mode for minibuffer autocompletion (instead of Helm or Ivy):

(fido-mode t)
(icomplete-vertical-mode t)

I don’t like the custom* variables being saved in my config file and cluttering it. I prefer to have them in their own location.

(setq custom-file "~/.emacs.d/custom.el")
(load custom-file)

Likewise, I don’t like having backup files (~) all over the place. But they are sometimes useful. This setting saves all of them under the same directory.

(setq backup-directory-alist '(("." . "~/.emacs.d/backups")))

Inhibit the startup screen. I’ll take the scratch buffer, thank you very much.

(setq inhibit-startup-screen t)

I barely use the mouse, so the tool bar and menu bar are just taking screen real state.

(tool-bar-mode -1)
(menu-bar-mode -1)

And I like having the clock in the mode line, so I can easily tell the time when I’m in full screen.

(display-time-mode 1)

Wrap around lines:

(global-visual-line-mode t)

Eyecandy

Spacegray theme:

(use-package doom-themes
  :config
  (load-theme 'doom-palenight t)
  (doom-themes-visual-bell-config))

Packages

Magit. Use git without the command line.

(use-package pinentry :ensure t)
(use-package magit
  :ensure t
  :bind ("C-x g" . magit-status)
  :config (setq magit-save-repository-buffers nil)
  (pinentry-start)
  :after (pinentry))

.emacs.d's People

Contributors

fackelmann avatar

Watchers

 avatar  avatar

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.