spacemacs for vim users -- the best editor is neither emacs nor vim, it's emacs and vim!...

10
Spacemacs for Vim users Pradeep Gowda August 02, 2016 @VimIndy Slides - https://www.btbytes.com/talks/spacemacs-2016-08/

Upload: lykhanh

Post on 11-Mar-2018

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

Spacemacs for Vim users

Pradeep Gowda

August 02, 2016

@VimIndy

Slides - https://www.btbytes.com/talks/spacemacs-2016-08/

Page 2: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

About mevim user for 10+ years"Journeyman" uservi or plain vim when I have tono pluginsquick edits and remote shells"vim when I have to, Emacs when I can"

Page 3: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

What about emacs?...<insert favourite emacs joke(s)>...One language to configure and extend the editor

Page 4: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

Modal editingEmacs -- non-modal editing by defaultevil mode -- extensible vi layer for Emacsgod mode

Page 5: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

Emacs configurationsconfiguring emacs -- a favourite yak to shaveMy own --https://www.btbytes.com/source/intentional_emacs/tree/http://aaronbedra.com/emacs.d/ (first google hit, *org-mode)http://pages.sachachua.com/.emacs.d/Sacha.html (this weekin emacs, *org-mode)More complete "distributions" -- batsov's Preludespacemacs

Page 6: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

spacemacsspacemacs - evil + god modesA community-driven Emacs distributionCredo -- The best editor is neither Emacs nor Vim, it'sEmacs and Vim!

Page 7: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

Installationhttps://github.com/syl20bnr/spacemacs git clone https://github.com/syl20bnr/spacemacs

~/.emacs.d 

launch emacsdemo

Page 8: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

Shortcuts SPC f e d  -- edit config SPC f e R  -- reload config SPC h d f  -- describe fn SPC h d v  -- describe variable SPC h d k  -- describe key SPC f f  -- fuzzy find files SPC f t  -- neotree SPC w -  -- split windows horizontal SPC w /  -- split windows vertically

Page 9: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

What I likesensible set of defaultscan use either key-bindings.sometimes modal-editing is nicerfast"leader key" is easy on the hands

Page 10: Spacemacs for Vim users -- The best editor is neither Emacs nor Vim, it's Emacs and Vim! Installation  ... SPC f e d -- edit config

Package highlightsdisclaimer: i'm not a "power" user of editorsavy like vim's easymotionpowerlinemagit (git integration)neotree like nerdtreeprojectile [project management]