Giter VIP home page Giter VIP logo

.emacs.d's Introduction

emacs_config

my emacs config

Git clone my configuration to your new ~/.emacs.d/ :

git clone https://github.com/PiyushDatta/.emacs.d.git ~/.emacs.d
For windows: git clone https://github.com/PiyushDatta/.emacs.d.git C:/Users/<user>/AppData/Roaming/.emacs.d

Dependancies

  • ripgrep (rg) - for projectile-ripgrep
  • clang - for c/c++ code
  • run for python lsp: pip install python-language-server[all]
  • run for python flycheck: pip install pylint
  • tidy - for html formatting
  • prettier - for CSS/JavaScript/JSON/JSX formatting
  • ccls - for c/c++ backend for lsp server

If you are on windows:

  • Visual Studio 2015 or 2017 for irony (when building server)
  • Perl for executing markdown (no markdown file needed, just perl)

Commands

M-x:

ESC-x

C-x

Ctrl-x

Alt/Command (mac) -x

Alt-x
OR
Command-x (on mac)

Delete other windows:

M-x delete-other-windows

Open treemacs:

C-x t t

Switch between windows:

C-x o

Close current windows:

C-x 0

Split window into 3 vertical windows

C-x 3

Change buffers

C-x -> (right/left arrow key)

Eval buffer

M-x eval-buffer

Check the key sequence for keybinds

C-h k [key sequence] (e.g C-h k C-m)

Evaluate elisp

M-:
(ESC + :)

Find directory of user's init file

M-: user-init-file

For mac users, to show hidden files ('.' files)

Command-Shift-. (period)

For shell

M-x shell

Use previous command in shell

M-p

Kill process in shell

C-c C-c

Projectile find file

s-p f
OR
C-c p f

Find key binding for command

C-h w <command-name>

Find command for key binding

C-h k <key-sequence>

Get detailed information about command

C-h f <function-name>

Get detailed information about bound variable

C-h v <variable-name>

.emacs.d's People

Contributors

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