Re: CUA mode Shift + left/right arrow does not extend/reduce selection

2014-12-05 Thread Amy de Buitleir
both vty > and pango to see that behavior is the same? > > On Fri, Dec 5, 2014 at 11:04 PM, Amy de Buitleir > wrote: > >> I've been writing some documentation on the CUA mode for yi, and noticed >> a bug: >> >> Shift + up/down arrow extends/reduces s

CUA mode Shift + left/right arrow does not extend/reduce selection

2014-12-05 Thread Amy de Buitleir
I've been writing some documentation on the CUA mode for yi, and noticed a bug: Shift + up/down arrow extends/reduces selection by one line, as expected. Alt + shift + up/down arrow extends/reduced *rectangular* selection by one line, as expected Shift + left/right arrow does nothing! I would e

Re: Could not find module ‘Yi’

2014-12-05 Thread Amy de Buitleir
I figured out the problem. I had somehow forgotten that because I had build Yi in a sandbox, I needed to launch it with some environment variables. The easiest way is to create a script, like so: #!/usr/bin/env bash YI_DIR=$HOME/programming/yi/yi env CABAL_SANDBOX_CONFIG=$YI_DIR/caba

Could not find module ‘Yi’

2014-12-03 Thread Amy de Buitleir
I'm using the latest version of Yi from GitHub. When I run yi without a custom configuration using *--as=cua*, it works just fine. But when I copy the configuration in *example-configs/yi-cua.hs* to *~/.config/yi/yi.hs* and launch again (without --as=cua), I get an error: /home/amy/.config/yi/

PageUp and PageDown in CUA mode

2014-11-26 Thread Amy de Buitleir
I'm using CUA mode, and I want to make PageUp and PageDown work as expected. There's no TextUnit for "Page", so it seems I can't do it using maybeMoveB. Is there another way to do it? Here's my config: {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_HADDOCK show-extensions #-} -- is this needed?

Re: Need help with Cua configuration

2013-04-02 Thread Amy de Buitleir
On Saturday, 30 March 2013 15:49:53 UTC, Dmitry Ivanov wrote: > We probably should add a function like this: http://hpaste.org/84874 > With such a function available, your config would look like this: > http://hpaste.org/84873 > I've tested and submitted a pull request (https://github.com/yi-e

Re: Need help with Cua configuration

2013-03-30 Thread Amy de Buitleir
On Saturday, 30 March 2013 15:49:53 UTC, Dmitry Ivanov wrote: > > We probably should add a function like this: http://hpaste.org/84874 > With such a function available, your config would look like this: > http://hpaste.org/84873 > > Thank you for that. I'll try it out, and upload the fix to gi

Need help with Cua configuration

2013-03-28 Thread Amy de Buitleir
Now that yi has the workaround for accented characters, I'm ready to start using it in earnest. However, I'm having a little trouble getting the right configuration. I want to use the Cua keybindings, but add macro support. Here are my questions. Thank you in advance for any help. 1. I need a w

FYI: Documented CUA key bindings on Haskell Wiki

2012-08-07 Thread Amy de Buitleir
I added a bit of documentation for Yi on the Haskell wiki. If there's a better place for documentation, let me know and I'll move it. http://www.haskell.org/haskellwiki/Yi#Default_key_bindings -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel