... | ... | @@ -147,6 +147,17 @@ You need to install [ cycle-buffer](http://www.emacswiki.org/emacs/cycle-buffer. |
|
|
(autoload'cycle-buffer"cycle-buffer""Cycle forward."t)(autoload'cycle-buffer-backward"cycle-buffer""Cycle backward."t)(autoload'cycle-buffer-permissive"cycle-buffer""Cycle forward allowing *buffers*."t)(autoload'cycle-buffer-backward-permissive"cycle-buffer""Cycle backward allowing *buffers*."t)(autoload'cycle-buffer-toggle-interesting"cycle-buffer""Toggle if this buffer will be considered."t)(global-set-key[(f9)]'cycle-buffer-backward)(global-set-key[(f10)]'cycle-buffer)(global-set-key[(shiftf9)]'cycle-buffer-backward-permissive)(global-set-key[(shiftf10)]'cycle-buffer-permissive)
|
|
|
```
|
|
|
|
|
|
## Untabifying a buffer.
|
|
|
|
|
|
**Description**: Slowly, GHC is moving away from tabs. After modifying a file and committing the changes, we tend to detab the file completely, and set `-fwarn-tabs` to make sure they don't slip in again. Normally it's convenient to immediately detab the file and commit that afterwords, while the buffer is open
|
|
|
|
|
|
**How to enable**:
|
|
|
Add this to your configuration, and afterwords you can run `M-x untabify-buffer` to nuke all the tabs:
|
|
|
|
|
|
```
|
|
|
(defununtabify-buffer()"Untabify current buffer."(interactive)(save-excursion(untabify(point-min)(point-max))))
|
|
|
```
|
|
|
|
|
|
# Haskell-specific
|
|
|
|
|
|
## Haskell mode
|
... | ... | |