layout: true
Class 10: Editors
--- class: center, middle # Editors ### Class 10 --- # Overview 1. Announcements 2. Review + Exercises 3. Q&A 4. Basic assignment --- # Announcements * Libraries assignments due June 19 * Editors assignments due June 22 --- # Review * Editors are a personal choice * I'm an Emacs person * Vim makes my head hurt... --- # Editors recap * Nano/pico * Common commands are at the bottom of the screen, making it beginner-friendly – but fewer features than other editors * Quit with `Ctrl-x` * Vim * Modal model: Normal (`ESC`), Command-Line (`:`), Insert (`i`, `a`), Visual (`v`), etc. * Very few keystrokes to get things done – but requires lots of memorization * Quit with `:q` (may need to press `ESC` first depending on the current mode) * Emacs * Not based on modes – works more like GUI editors * Lots of commands, some of which are bound to keyboard shortcuts (starting with `Ctrl` or `Meta` [`ESC`]) * Requires memorization to make efficient use of it, but perhaps less so than Vim * Quit with `Ctrl-x Ctrl-c` --- class: center, middle # Demo --- # Activity * Configure Git to use your preferred editor! * https://www.git-scm.com/book/en/v2/Appendix-C:-Git-Commands-Setup-and-Config --- class: center, middle # Q&A --- class: center, middle # Basic assignment