10000 GitHub - leodcs/emacs.d: My emacs configuration directory
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

leodcs/emacs.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emacs

My Emacs configuration directory to use on Ruby on Rails and Javascript development.

demonstration.png

Requirements

  • Vim keybindings knowledge. This is mandatory because I use a vim emulator called evil (hate that name btw). If you're not familiar with vim, go ahead and launch vimtutor on the terminal.
  • silversearcher-ag
  • Emacs 26+
  • rubocop (for ruby files)

Quick Start

$ git clone https://github.com/leodcs/emacs.d ~/.emacs.d

Open Emacs and run:

  • M-x all-the-icons-install-fonts
  • M-x projectile-discover-projects-in-directory
  • Press C-c p p to find your newly discovered project.

Useful keybindings

M - Alt
C - Control
s - Super (command on macOS)
S - Shift
SPC - Space
RET - Return

s-W
Keybinding Action
s-p Search files in project
s-e Toggle neotree plugin
s-F Search text in project (auto includes selected text in visual mode)
s-n Create an untitled buffer
s-r Rename current buffer
s-k Kill current buffer
s-> Multiple cursor on next occurrence
M-o Switch windows
s-RET Switch to buffer
s-<up> Move text up
s-<down> Move text down
s-w Close current window
Delete other windows
s-S Rubocop autocorrect on current buffer file

Search and replace

Run s-F, search for text and press C-c C-o
To disable read-only mode press C-x C-q
Do your changes and finally press C-c C-c to confirm

Plugins documentations

Thanks

Many thanks to @otavioschwanck for providing me with a setup repo for using Emacs when I was looking for one. Check it out at https://github.com/otavioschwanck/emacs_on_rails

About

My emacs configuration directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0