48 lines
1.4 KiB
Org Mode
48 lines
1.4 KiB
Org Mode
#+TITLE: CSV layer
|
|
|
|
[[file:img/csv.png]]
|
|
|
|
* Table of Contents :TOC_4_gh:noexport:
|
|
- [[#description][Description]]
|
|
- [[#features][Features:]]
|
|
- [[#install][Install]]
|
|
- [[#layer][Layer]]
|
|
- [[#key-bindings][Key Bindings]]
|
|
|
|
* Description
|
|
This layer adds tools for better integration of CSV files in Spacemacs.
|
|
|
|
** Features:
|
|
- Detecting of fields for various separators
|
|
- Aligning of fields
|
|
- Traversal of fields
|
|
- Killing of fields
|
|
- Sorting of rows
|
|
- Transposing of rows/columns
|
|
- Intelligent yanking of fields
|
|
|
|
* Install
|
|
** Layer
|
|
To use this contribution add it to your =~/.spacemacs=
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(setq-default dotspacemacs-configuration-layers '(csv))
|
|
#+END_SRC
|
|
|
|
* Key Bindings
|
|
|
|
| Key Binding | Description |
|
|
|-------------+----------------------------------|
|
|
| ~SPC m a~ | Align fields |
|
|
| ~SPC m d~ | Kill fields |
|
|
| ~SPC m i~ | Toggle delimiter invisibility |
|
|
| ~SPC m n~ | Move forward 1 field |
|
|
| ~SPC m p~ | Move backwards 1 field |
|
|
| ~SPC m r~ | Reverse region |
|
|
| ~SPC m s f~ | Sort fields |
|
|
| ~SPC m s n~ | Sort fields numerically |
|
|
| ~SPC m s o~ | Toggle sort order |
|
|
| ~SPC m t~ | Transpose |
|
|
| ~SPC m v f~ | Paste killed fields |
|
|
| ~SPC m v t~ | Paste killed fields as new table |
|
|
| ~SPC m u~ | Unalign fields |
|