An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
| C-M-f | sp-forward-sexp |
| C-M-b | sp-backward-sexp |
![]() | |
An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
| C-M-f | sp-forward-sexp |
| C-M-b | sp-backward-sexp |
![]() | |
| # See following for more information: http://www.infinitered.com/blog/?p=19 | |
| # Path ------------------------------------------------------------ | |
| #export PATH=/foo:/foo/bar:$PATH # add the directories you want included in the path | |
| if [ -d ~/bin ]; then | |
| export PATH=:~/bin:$PATH # add your bin directory to your path, if you have it. It's a good place to add all your scripts | |
| fi |
| #!/bin/bash | |
| /usr/libexec/PlistBuddy -c "Add :LSEnvironment dict" `brew --prefix --installed emacs-plus@29`/Emacs.app/Contents/Info.plist | |
| /usr/libexec/PlistBuddy -c "Add :LSEnvironment:PATH string" `brew --prefix --installed emacs-plus@29`/Emacs.app/Contents/Info.plist | |
| /usr/libexec/PlistBuddy -c "Set :LSEnvironment:PATH $(echo "$PATH")" `brew --prefix --installed emacs-plus@29`/Emacs.app/Contents/Info.plist | |
| /usr/libexec/PlistBuddy -c "Print :LSEnvironment" `brew --prefix --installed emacs-plus@29`/Emacs.app/Contents/Info.plist | |
| touch `brew --prefix --installed emacs-plus@29`/Emacs.app | |
| # Make gems available | |
| require 'rubygems' | |
| # http://drnicutilities.rubyforge.org/map_by_method/ | |
| begin | |
| require 'map_by_method' | |
| rescue LoadError | |
| puts "map_by_method is not installed. To enable, run: gem install map_by_method" | |
| end |
I hereby claim:
To claim this, I am signing this object:
| AllCops: | |
| TargetRubyVersion: 2.4 | |
| #################### Lint ################################## | |
| ### Warnings | |
| Lint/AmbiguousBlockAssociation: | |
| Description: >- | |
| Checks for ambiguous block association with method when param passed without | |
| parentheses. |
| { | |
| "workbench.colorTheme": "Spacemacs - light", | |
| "vim.disableAnnoyingNeovimMessage": true, | |
| "editor.fontFamily": "Hack, Menlo, Monaco, 'Courier New', monospace", | |
| "editor.fontSize": 14, | |
| "editor.tabSize": 2, | |
| "[json]": { | |
| }, | |
| "[javascript]": { |
| # config/assets.yml | |
| package_assets: on | |
| compress_assets: on | |
| # compress_assets: off | |
| javascript_compressor: uglifier | |
| javascripts: | |
| all: |
| local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
| local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}' | |
| local current_dir='%{$terminfo[bold]$fg[blue]%}%~%{$reset_color%}' | |
| local ruby_version='%{$fg[red]%}$(rbenv_prompt_info)%{$reset_color%}' | |
| local git_branch='%{$fg[blue]%}$(git_prompt_info)%{$reset_color%}' | |
| PROMPT="${user_host}:${current_dir} ${ruby_version} | |
| ${git_branch} %B$%b " | |
| RPS1="${return_code}" |