- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| #! /usr/bin/env python | |
| """ Convert values between RGB hex codes and xterm-256 color codes. | |
| Nice long listing of all 256 colors and their codes. Useful for | |
| developing console color themes, or even script output schemes. | |
| Resources: | |
| * http://en.wikipedia.org/wiki/8-bit_color | |
| * http://en.wikipedia.org/wiki/ANSI_escape_code |
| # Settings courtesy internet | |
| # Bind C-a (Ctrl+a) to default action on tmux | |
| set-option -g prefix C-a | |
| unbind C-b | |
| # Command sequence for nested tmux when running tmux inside another tmux, you | |
| # need to send command to inner tmux | |
| bind-key a send-prefix |
| ;;; runs eslint --fix on the current file after save | |
| ;;; alpha quality -- use at your own risk | |
| (defun eslint-fix-file () | |
| (interactive) | |
| (message "eslint --fixing the file" (buffer-file-name)) | |
| (shell-command (concat "eslint --fix " (buffer-file-name)))) | |
| (defun eslint-fix-file-and-revert () | |
| (interactive) |
| SPC s c remove highlight | |
| **** Files manipulations key bindings | |
| Files manipulation commands (start with ~f~): | |
| | Key Binding | Description | | |
| |-------------+----------------------------------------------------------------| | |
| | ~SPC f c~ | copy current file to a different location | | |
| | ~SPC f C d~ | convert file from unix to dos encoding | | |
| | ~SPC f C u~ | convert file from dos to unix encoding | |
| ;; Esc in TTY | |
| (defvar evil-esc-mode nil | |
| "Non-nil if `evil-esc-mode' is enabled.") | |
| (defcustom evil-intercept-esc 'always | |
| "Whether evil should intercept the ESC key. | |
| In terminal, a plain ESC key and a meta-key-sequence both | |
| generate the same event. In order to distinguish both evil | |
| modifies `input-decode-map'. This is necessary in terminal but |
Hmm... I don't see any docs for 4.0 on https://webpack.js.org. I guess I'll just wing it.
All I need to do is npm i -D webpack@next, right?
+ [email protected]
| # Add to spacemacs-configuration-layers: | |
| # theming | |
| # doom-modeline | |
| # Add to dotspacemacs-excluded-packages | |
| # spaceline | |
| # Set: | |
| # dotspacemacs-mode-line-theme 'vanilla |