Coder Social home page Coder Social logo

.emacs.d's Introduction

emacsConfig

Personal emacs config i decided to craft together beacause all the pre built configs are either really slow and bloated with unnecessary packages or too many packgages are missing.

This emacs config is properly configured for:

  • c/c++/objc
  • haskell
  • markdown

TODO:

  • add keybindings description for all major and minor modes
  • list all used modes and give brief description about them
  • insert photos or gifs about this config in action
  • usage of compilation database for irony

Requirements

irony and irony-server

  • Following packages need to be installed on your system:
    • CMake >= 2.8.3
    • libclang
  • To install irony-server and just type this in emacs:
M-x irony-install-server RET.		

</br/>

stack (for intero - haskell development envirement)

For many Un*x operating systems, all you need to do is run:

curl -sSL https://get.haskellstack.org/ | sh

pandoc (Markdown renderer)

- macOS:

The simpliest method to install an keeping pandoc up-to-date is using brew

 $ brew install pandoc
 $ brew install pandoc-citeproc
- Linux:

Pandoc is in the Debian, Ubuntu, Slackware, Arch, Fedora, NiXOS, openSUSE, and gentoo repositories.

On Debian/Ubuntu:

$ apt-get install pandoc pandoc-citeproc

On Fedora:

$ dnf install pandoc pandoc-citeproc

Keybindings

Text Navigation

Avy

  • M-s Input one char, jump to it with a tree
  • C-' Input two chars, jump to it with a tree

Swiper/Counsel

  • C-s Search in current buffer
  • C-x C-f Find file
  • M-x
  • C-c g Git
  • C-c j Git grep
  • C-c k Counsel
  • C-c C-r ivy resume

Projectile (Project interaction tool)

  • S-d Find directory in project
  • S-f Find file in project
  • S-g Grep in whole project
  • S-p Switch project

Markdown

  • C-c C-c l to turn on markdown-live-preview-mode
  • C-c C-c v to export and preview
  • C-c C-c p to only preview
  • C-c C-C e to only exportin

Buffer

  • C-x C-k Delete file opened currently in buffer
  • C-x b Switch to buffer
  • C-x C-b Open iBuffer
  • C-x | Split window horizontally instead
  • C- _ Split window vertically instead

Editing

  • C-x u Undo Tree
  • C-z Undo
  • C-Shift-z
  • M-up Move line or active region up
  • M-down Move line or active region down
  • C-x C-r Edit current file as root
  • C-c w Show all whitespace characters

Windows

  • C-x o Switch window
  • C-x 1 Focus on current window (Deletes other windows | Restore other windows)
  • C-x 2 Split window vertically
  • C-x 3 split window horizontally
  • F7 split window
  • Shift- up/down/right/left move to windows up/down/right/left

Small extra features"

  • C-x g Google search
  • C-c t Open a terminal buffer
  • C-x c Show word count

.emacs.d's People

Contributors

robaerd avatar

Stargazers

 avatar

Watchers

James Cloos 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.