Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walkersumida/emacs25
https://github.com/walkersumida/emacs25
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/walkersumida/emacs25
- Owner: walkersumida
- Created: 2016-11-23T14:04:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-06T15:40:28.000Z (over 7 years ago)
- Last Synced: 2024-10-23T02:11:50.888Z (2 months ago)
- Language: Emacs Lisp
- Size: 1.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Emacs 25 on macOS
# Install
## git clone
```
mkdir ~/.emacs.d
cd ~/.emacs.d
git clone https://github.com/walkersumida/emacs25.git .
```## install Emacs
```
brew install emacs --devel --with-cocoa --srgb
brew linkapps emacs
echo 'alias emacs="/Applications/Emacs.app/Contents/MacOS/Emacs -nw"' >> ~/.bash_profile
```## install Cask
```
brew install cask
```## install ctags
```
brew install ctags-exuberant
echo 'alias ctags="`brew --prefix`/bin/ctags"' >> ~/.bash_profile
source ~/.bash_profile
```## install The Silver Searcher
```
brew install the_silver_searcher
```## install packages
```
cask install
```## create tag file(ruby)
```
ctags -Re --langmap=RUBY:.rb
```## install rubocop(ruby)
install robocop on global
```
gem install rubocop -v [version]
```## install flake8(pyenv)
```
pip install flake8
```# Command
## Database connects (mysql)
```
M-x sql-mysql
```## Grep (ag)
```
C-x g
```## Replace (query-replace)
```
C-x re
```## Org mode
### Section
`C-i` : Toggle emphasized text
```
* Emacs command
```### Checbox
`C-c C-c` : org-toggle-checkbox
```
- [ ] item1
- [X] item2
```### Program lang
`C-c C-c` : org-babel-execute-src-block
```
#+begin_src C
printf("a");
#+end_src
```## Rspec mode
`C-c , v` : Verify the spec file associated with the current buffer`C-c , s` : Verify the example or method defined at point
https://github.com/pezra/rspec-mode
## Bookmark
### Set
`C-x r m` : set a bookmark at the current location### Jump
`C-x r b` : jump to a bookmark### List
`C-x r l` : list your bookmarks