This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/csv/README.org

49 lines
1.4 KiB
Org Mode
Raw Normal View History

2016-01-18 06:26:06 +00:00
#+TITLE: CSV layer
2015-11-26 22:12:43 +00:00
[[file:img/csv.png]]
2018-09-19 03:54:47 +00:00
* Table of Contents :TOC_4_gh:noexport:
2017-05-22 14:16:12 +00:00
- [[#description][Description]]
- [[#features][Features:]]
2017-05-22 14:16:12 +00:00
- [[#install][Install]]
- [[#layer][Layer]]
- [[#key-bindings][Key Bindings]]
2015-11-26 22:12:43 +00:00
* 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
2015-11-26 22:12:43 +00:00
* 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 |
2016-01-18 06:26:06 +00:00
| ~SPC m d~ | Kill fields |
| ~SPC m i~ | Toggle delimiter invisibility |
2015-11-26 22:12:43 +00:00
| ~SPC m n~ | Move forward 1 field |
| ~SPC m p~ | Move backwards 1 field |
| ~SPC m r~ | Reverse region |
2016-01-18 06:26:06 +00:00
| ~SPC m s f~ | Sort fields |
| ~SPC m s n~ | Sort fields numerically |
| ~SPC m s o~ | Toggle sort order |
2015-11-26 22:12:43 +00:00
| ~SPC m t~ | Transpose |
| ~SPC m v f~ | Paste killed fields |
| ~SPC m v t~ | Paste killed fields as new table |
2016-01-18 06:26:06 +00:00
| ~SPC m u~ | Unalign fields |