Add incremental search
Add autowrite on buffer swap