From: Michael D. Lowis Date: Wed, 30 Nov 2016 00:24:21 +0000 (-0500) Subject: Added logic to allow extending the selection to the right with arrow keys X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=4dfd30d661f92f3075b6c312c86d69661db18812;p=projs%2Ftide.git Added logic to allow extending the selection to the right with arrow keys --- diff --git a/.gitignore b/.gitignore index 9b5f6dc..51995e0 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ tags *.gcda *.gcov xedit +xpick diff --git a/xedit.c b/xedit.c index ad998ae..6f402e5 100644 --- a/xedit.c +++ b/xedit.c @@ -389,7 +389,8 @@ static void cursor_left(void) { } static void cursor_right(void) { - view_byrune(currview(), +1, false); + bool extsel = x11_keymodsset(ModShift); + view_byrune(currview(), +1, true); } static void page_up(void) {