Skip to content

theironsamurai/scribemacs-prelude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scribemacs - v0.4.1

DEPRECIATED in favor of my new config for Spacemacs.

...

Scribemacs is my personal configuration for Emacs Prelude designed with the following in mind:

  1. Prose & Poetry writing
  2. Web development
  3. Functional programming in Clojure & Haskell
  4. Portability (easily installed/updated on my multiple computers and servers)

Prelude already covers most of that, but to kick it up a notch, I've added some new keybindings, functionality, and altered some of the defaults.

If you're my doppelganger, you might be interested in giving it a go -- or using some of the ideas for your own config.

NOTE: While I use this on top of Prelude, most of it would work alongside just about any Emacs configuration with a little tweaking.

Installation

Scribemacs is meant to be added ON TOP of Emacs + Prelude.

Simply clone this repository, and move the scribemacs.el file into your ~/.emacs.d/personal folder, which is Prelude's default personal-config folder.

Restart Emacs. It will begin auto-loading all the new shit. Done!

Features & Non-Features

  • Distraction free (text centered) mode
  • Word-wrap everywhere (I told you this was for writers!)
  • Toggle on/off just about everything with new 'hot keys'
  • UTF8 everywhere (with easy lambda, function, and arrow insertion)
  • CUA keys work again
  • X-clipboard settings improved
  • Auto-loading of some extra packages and themes (default theme is Cyperpunk)
  • Auto-complete on by default (via Company-mode)
  • Smex, baby!
  • Arrow keys work again :-)
  • turn off white-space highlighting
  • transient mark mode on
  • delete selection mode on
  • Clojure REPL fixes

... etc...

Keymap

In addition to giving you back your CUA keys C-c,C-v,C-z, Scribemacs also gives you a ton of new fancy-pantsy key bindings (and associated functionalities) to make writing and manipulating text even easier.

Navigation

Keybindings Description
C-u Page Up
C-i Page Down

Editing & Writerly things

Keybindings Description
M-1 Word count (and character, etc)
M-2 Speck Check (as you type) on/off
M-3 Double Space on/off
M-4 Auto-complete (via Company-mode) on/off
C-c 1 Set cursor type (bar vs hbar) toggle (default is bar)
C-c 2 Smart Parenthesis Strict mode (default: on)
C-c 3 Highlight line mode (default: off)
C-c 4 Word Wrap (visual-line-mode) - (default: on)

Sneaky Tricks

Keybindings Description
C-TAB Check spelling of word at point (cursor)
C-e Backwards kill word
C-"=" Increase text size (control + equals sign)
C-"-" Decrease text size (control + minus sign)

GUI Manipulation

Keybindings Description
C-9 Select previous window
C-0 Select next window
f2 Split window vertically (top/bottom)
f3 Split window horizontally (left/right)
f4 Alternate between vertical & horizontal split windows
f5 Delete ALL OTHER windows, exept the one you are IN
f6 Delete ONLY the window the cursor is in NOW
f7 Line numbers on/off
f8 Scroll bar on/off
f9 Menu bar on/off
M-f9 Tool bar menu on/off
f11 Full Screen (this is already in Prelude, but people forget about it.)
M-f11 Center-text-mode (distraction free)

Special Character Insert

These are particularly nice for Math and Haskell -- thanks @Bodil!

Keybindings Description
M-l Lambda λ
M-f Function ƒ
M-- Arrow →

Support/Help

None.

This is my personal configuration. If all of this was a cake: Emacs would be the ingredients; Prelude would be the recipe, cake, and icing; Scribemacs is the sprinkles.

In other words, make this your own. Have fun. And get to writing.

About

Emacs for Prose Writers!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors