- buffer
- The area containing text kinda like a tab in a browser
- point
- The cursor
- window
- A section of the emacs window containing text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SPC | |
| SPC: find file | |
| , switch buffer | |
| . browse files | |
| : MX | |
| ; EX | |
| < switch buffer | |
| ` eval | |
| u universal arg | |
| x pop up scratch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; -*- lexical-binding:t coding:utf-8-unix -*- | |
| (defun 3s/env-update-path-var (name value &optional append separator) | |
| (let ((sep (or separator path-separator))) | |
| (when (not (s-blank? value)) | |
| (let* ((name-val (getenv name)) | |
| (components (when (not (s-blank? name-val)) | |
| (s-split sep name-val)))) | |
| (if (null components) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3" | |
| services: | |
| web: | |
| image: nginx | |
| deploy: | |
| replicas: 3 | |
| resources: | |
| limits: | |
| cpus: "0.1" | |
| memory: 50M |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure("2") do |config| | |
| # Plugins | |
| config.hostmanager.enabled = true |