Jonathan Lai @jonlai jonathanlai@stanford.edu https://itunconference.stanford.edu/emacs-vim-git-command-line-goodies
Stanford Graduate School of Education IT (gseit.stanford.edu) at the CERAS building near Green Library and the Law School
Background: Biology, Education, Tech
Very much into tech for the open source / academic / sharing ethos.
What’s your background in working with the terminal. Console / Bash, git, emacs, vim?
emacs, vim, git
- what do you already know about them.
- what topics would you like covered.
- how are others using emacs
- other applications of emacs
- best features we haven’t heard of
- tricks and tips
- plugins
- screencasts
- neovim
What do you want to get out of this session
- education of the editors
https://github.com/emacs-tw/awesome-emacs
https://github.com/mhinz/vim-galore
Websites for emacs, vim (neovim), plugins, plugin repositories
https://github.com/git-tips/tips https://github.com/tj/git-extras
https://asconfluence.stanford.edu/confluence/display/GSEIT/How+to+use+git I can share this internal page later
Magit - emacs
Fugitive - vim http://vimcasts.org/episodes/fugitive-vim—a-complement-to-command-line-git/
Other various plugins for them both. The awesome websites link to a lot of resources.
Alternatively, use pure git tools like a
- git blame
- git delete-branch (tj git extras)
- git count (tj git extras)
- git info (tj git extras)
-tig
Using git, magit in emacs, git with vim and tj/git-extras git diffs, git blame, git stash viewage git log viewage, beautify git log
Gotta navigate around emacs more efficiently, and this is how.
fzf https://github.com/junegunn/fzf
ag (like grep but faster) https://github.com/ggreer/the_silver_searcherk
g blame file.txt
Here are some last minute touches.
Org mode - what I used for this presentation
More plugins and emacs tools in my emacs config on github https://github.com/agsdot/.emacs.d
Pandoc, org to markdown to others
ix.io
gist.github.com
I’ll post and share these notes.
10:45 and onwards
Feel free to followup via email / twitter / github / slack etc
Good vim plugins syntastic, nerdtree, devops files syntax correction (a concern)
Other links presented in Q and A
https://github.com/PotatoLabs/git-redate https://github.com/alebcay/awesome-shell
https://github.com/flycheck/flycheck https://github.com/voxpupuli/puppet-mode