Skip to content

jcpetkovich/.emacs.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Emacs Config

This is my emacs configuration.

If you’re interested in using it, please first consider using it as a source of inspiration first. Check out spacemacs and layers/personal for the most interesting and unusual bits.

Installing

Setting up this config for your own use is fairly simple:

cd $HOME
git clone https://github.com/jcpetkovich/.emacs.d.git ~/.spacemacs.d
emacs --batch -l ~/.spacemacs.d/init.el

spacemacs is both the config and a script for bootstrapping both ~/.emacs.d/ with spacemacs, and for any external spacemacs layers used.

Some other dependencies you may want to install:

If you don’t want the functionality of these particluar packages, you may ignore them, as the configuration should run without them.

Significant Keybindings

The defaults for emacs/evil are used wherever possible, the following sections document significant alterations or interesting pieces not included in emacs by default.

For more general help, To show every custom custom binding just run `M-x describe-personal-keybindings`. To see an interactive and searchable list of any active keybindings in the current buffer, run `C-h b`.

To understand these keybindings you must understand the emacs [keybinding notation](http://www.emacswiki.org/emacs/EmacsKeyNotation).

General Editing

KeybindingDescription
M-RETDWIM newline
C-'Expand Region
C-"Contract Region
M-nGrow whitespace around point
M-NShrink whitespace around point
M-\Shrink whitespace DWIM
M-/Hippie Expand
M-?Hippie Expand Line

Multiple Cursors

KeybindingDescription
`M-m`Mark symbol or next like it (Like `C-d` in sublime)
`M-M`Mark word or next like it
`C-S-n`Mark next like this
`C-S-p`Mark previous like this
`M-‘`Mark all DWIM

Buffer Splitting and Moving

KeybindingDescription
`M-!`Delete current window (not buffer)
`M-1`Delete all other windows (not buffers)
`M-2`Split window vertically
`M-@`Split window horizontally
`M-j`Move focus to next window
`M-k`Move focus to previous window

File opening, Searching and Navigation

KeybindingDescription
`M-o`Open a file in project
`M-i`Fuzzy search current buffer
`C-x M-i`Fuzzy search all buffers
`M-l`Fuzzy search current project
`M-v`Search buffer by semantic units

Capitalization `M-c <key>`

KeybindingDescription
`-`Turn word to snakecase
`m`Camel Case word
`c`Capitalize word
`l`Downcase word
`u`Upcase word

Transposition `M-t <key>`

KeybindingDescription
`l`Transpose line
`p`Transpose parameter
`s`Transpose sexpr
`w`Transpose word

Spacemacs

KeybindingDescription
`SPC`Leader Key (in evil)
`M-m`Leader Key (anywhere)

About

This is my emacs config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published