Git Product home page Git Product logo

php1ic-emacs.d's Introduction

My personal ~/.emacs.d

After accidentally deleting the entire ~/.emacs.d directory, and only having a version I'd emailed myself over a year ago as backup, I decided this was the universe's way of telling me it was time to start tracking it in git and more importantly backing it up somewhere. The version I recovered was close to the one I lost, but different enough that it was annoying, and having not kept track I couldn't put my finger on why. I therefore did what any sensible person would do: scrapped everything and started from scratch.

The configuration uses the 'org file called by the init file' set up, so the main configuration is in config.org which is called by init.el.

Installation and set-up

Aquiring the files

Depending on how you organise your system, either clone this repo directly into ~/.emacs.d/, making sure to backup your original first.

git clone https://gitlab.com/php1ic/php1ic-emacs.d.git ~/.emacs.d

Or clone somewhere locally and create a symbolic link

cd /path/to/other/repos
git clone https://gitlab.com/php1ic/php1ic-emacs.d.git
ln -s /path/to/other/repos/php1ic-emacs.d ~/.emacs.d

I find the second way simpler when cloning other peoples configs to see how they do things.

Initial launch

The first time you run emacs with this configuration it will download a large number of packages from the internet so will take some time to start up. I recommend that after the initial launch, once everything looks to be loaded, you close and re-open emacs to to ensure proper functionality.

External dependencies

I use emacs mainly for programming, so some external packages are required on the system to allow internal packages to function correctly. They are focussed around lsp for autocompletion/IDE behaviour and are:

Installation instructions for each can be found on the lsp page.

WARNING: pyls is also available via pip on pipy but is a different package and unrelated to python-language-server.

Known Issues

After you update packages (M-x list-packages then U then x), emacs tells you that some packages are obsolete and can removed with M-x package-autoremove. This is not true, as if you do run that command, the next time you launch emacs they are downloaded and installed again. They are all included via use-package with ensure: t but if you look at the list of packages, those that emacs thinks can be removed are marked as dependencies. Not sure what's going on here.

php1ic-emacs.d's People

Contributors

php1ic 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.