I'd like to change the behavior of :sp. In Vim I usually type :sp
<filename> to start editing a file right away in the new buffer, but
in Yi :sp does not accept a filename as an arguement.

I changed this line in src/Yi/Keymap/Vim.hs

fn('s':'p':_) = withEditor splitE

to this:

fn('s':'p':' ':f) = withEditor splitE >> viFnewE f

but the behavior has not changed. Any advice on how to achieve this?

Thanks,
-Tony

-- 
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel

Reply via email to