Skip to content

Instantly share code, notes, and snippets.

@humorless
Last active October 14, 2021 06:35
Show Gist options
  • Save humorless/49efd8b6968406d2d889393e51fb3502 to your computer and use it in GitHub Desktop.
Save humorless/49efd8b6968406d2d889393e51fb3502 to your computer and use it in GitHub Desktop.
project quality control

invoke function

SPC SPC = M-x
- load-theme
- add-project
- global-linum-mode

special commands

C-x C-z -> halt the emacs
C-g     -> universal cancel

buffer commands

SPC f f -> open file in current directory 
SPC tab -> switch between buffers
q       -> exit current read-only buffer
SPC b b -> open all buffers 

window commands

SPC w d -> delete the window
SPC w o -> move to other window
SPC w 2 -> create 2 window layout
SPC w 1 -> switch to single layout

project commands

SPC p f  ->  find a file in current project

clj commands

gd     -> go to definition
K      -> show document
, e e  -> evalute 
gc     -> comment
ysaw) -> create surrounding parentheses on a word
ysab) -> create surrounding parentheses on a parentheses
, j j  -> cider-jack-in-clj 
  1. Remove unnecessary code/dead code to keep implementation simple
  2. Error handling on API calls.
  3. Logs.
  4. Doc string in functions, especially API functions
  5. Appropriate feedback messages on scripts (DevOps)
  6. Automation on the environment (DevOps)
  7. Appropriate tests on domain functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment