# barfing-slurping-raising.txt -rw-r--r-- 378 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
_ is the cursor position

Slurping (4 keystrokes)

Bound to xf)p

(begin) (foo) (bar) -> (begin (foo)) (bar)
      _                            _


Barfing (5 keystrokes)

Bound to x2gEp

(begin (foo)) (bar) -> (begin) (foo) (bar)
            _                _

Raising (5 keystrokes)

Bound to d%Vkp

(let ((foo 1)) -> (+ bar baz)
  (+ bar baz))
  _                         _