GithubHelp home page GithubHelp logo

archerface / emacs-noob Goto Github PK

View Code? Open in Web Editor NEW

This project forked from digikar99/emacs-noob

0.0 1.0 0.0 1.53 MB

A curated emacs set up intended to decrease the learning curve

Emacs Lisp 100.00%

emacs-noob's Introduction

If you reached here from this video, please see the version tagged demo.


Requirements

Emacs 26 and up! (Due to helm, 25 and up; due to a auto-complete dependency, 26 and up!.)

Installation

Drop the init.el in your ~/.emacs.d/ and (re)start emacs.

Emacs will download use-package and then the required packages. This should take a few minutes. Restart emacs.

Features

  • Melpa added
  • Packages: use-package, tabbar-mode, ace-window, auto-complete, helm
  • C-x bindings not listed below are bound to nil: In case some exists that is missing below, it is a bug; report them! Known issue is C-x 8- key bindings which I've been unable to disable.
  • global auto-complete-mode, electric-pair-mode, show-paren-mode, auto-revert-mode, visual-line-mode, linum-mode, column-number-mode, helm-mode
  • Slower scroll

Key-bindings

Text Editing

  • C-a: Select all

  • C-s [std]: Search (forward); because changing this means changing several other maps and we don't want to go "too far" from vanilla emacs, so that you get used to it as well

  • C-r: Replace (forward); because see C-h next

  • C-h (Backspace): Delete word to the left - this is so because on the terminal backspace and C-h are equivalent. And I haven't searched enough for a workaround.

  • C-z: Undo - in emacs, redo is undo of undo; this also avoids loss of redo-undo "trees"

  • C-<space> [std]: enter/exit text-selection mode

  • C-w [std]: Cut; because C-x is complicated

  • C-y [std]: Paste; because

  • C-v [std]: Scroll down

  • M-v [std]: Scroll up

  • C-g [std]: Cancel command

  • C-k [std]: Cut line this point forward

  • M-k: Delete line this point forward

  • C-/: Un/comment-line; also works for un/commenting region when selected

  • C-l: Goto line

  • M-S-/: Move line (selected region) up or down

  • C-M-s: Forward search symbol at point

  • C-M-r: Forward replace symbol at point

  • M-q: Quit emacs (with prompt)

Window and Buffer Management

  • F7: Split window horizontally: "" is more memorable, but its bound to something in some terminals

  • F8: Split window vertically - two parts of the "8"

  • F9: Expand window vertically

  • F11 [std]: Toggle "frame" full screen

  • S-F11: Delete other windows (this, to avoid accidentally pressing "" while trying to go full screen)

  • C-o [~std]: Switch window

  • M-o: Switch buffer

  • C-t: Open *scratch* buffer

  • C-S-t: Reopen closed file

  • C-<tab> / C-S-<tab>: Switch tabs

  • M-x [std]: arbitrary commands (helm-M-x)

  • C-x C-f [std]: Open file (helm-find-files)

  • C-x C-s [std]: Save file

  • C-x C-d [~std]: Open directory. Press '?' for help. (dired)

  • C-x C-w: Close file (kill-this-buffer)

  • C-x C-r: Rename file (and buffer)

  • C-x C-k: Delete this window

Miscellaneous

  • M-h k: Help key

  • M-h v: Help variable

  • M-h f: Help function

  • M-m: ansi-term switch between line and char modes

  • M-n: ansi-term next command

  • M-p: ansi-term previous command

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.