README.org (1836 bytes)
1 Spacemacs now has rectangle functions in master! No need for a special layer. 2 #+TITLE: rectangle layer 3 4 [[cc-rectangle.png]] 5 6 * Table of Contents :TOC_4_gh:noexport: 7 - [[#description][Description]] 8 - [[#key-bindings][Key bindings]] 9 - [[#install][Install]] 10 - [[#issues][Issues]] 11 12 * Description 13 This layer provides Spacemacs keybindings to Emacs' brilliant but unkeybound rectangle manipulation functions 14 15 * Key bindings 16 17 | Key Binding | Description | 18 |-------------+-----------------------------------| 19 | SPC [i | string-insert-rectangle | 20 | SPC [s | string-rectangle | 21 | SPC [m | rectangle-mark-mode | 22 | SPC [e | rectangle-exchange-point-and-mark | 23 | SPC [n | rectangle-next-line | 24 | SPC [p | rectangle-previous-line | 25 | SPC [N | rectangle-previous-line | 26 | SPC [r | rectangle-right-char | 27 | SPC [l | rectangle-left-char | 28 | SPC [v | rectangle-preview | 29 | SPC [c | rectangle-number-lines | 30 | SPC [k | kill-rectangle | 31 | SPC [y | yank-rectangle | 32 | SPC [o | open-rectangle | 33 | SPC [! | clear-rectangle | 34 | SPC [c | close-rectangle | 35 | SPC [d | delete-rectangle | 36 37 * Install 38 To use this configuration layer, add it to your =~/.spacemacs=. You will need to 39 add =rectangle= to the existing =dotspacemacs-configuration-layers= list in this 40 file. 41 42 * Issues 43 This code does not play nice with Emacs Lisp or Spacemacs conventions. Pull 44 requests appreciated. If you write your own skeleton, and it is decently 45 conservative for that language/file type, send it!