Commit Graph

767 Commits

Author SHA1 Message Date
Daniel Micay 458087627d add some polish to visual mode switching
* switching between visual modes should not reset the begin row/col
* selection should be updated as soon as the mode is switched
2012-07-09 03:19:48 -04:00
Daniel Micay 131cb20584 keyboard-select with scrollback support
note: currently doesn't draw a visible selection cursor
2012-07-09 03:10:08 -04:00
Daniel Micay eefb56f24c put code for moving cursor to EOL in a function 2012-07-08 05:39:37 -04:00
Daniel Micay 97c4c2749c Makefile: minor cleanup for install target 2012-07-08 03:56:43 -04:00
Daniel Micay 34f209634a wrap vte_terminal_feed for null-terminated strings 2012-07-08 03:37:45 -04:00
Daniel Micay a5b0e77c99 use const in more places 2012-07-08 01:48:39 -04:00
Daniel Micay 1e2114aa57 minor reorganization in cursor_moved_cb 2012-07-08 01:32:30 -04:00
Daniel Micay 5045c6beb0 reduce scope of begin/end to normal visual mode 2012-07-08 01:16:09 -04:00
Daniel Micay 1a21165a48 simplify visual line mode selection 2012-07-08 01:15:00 -04:00
Daniel Micay 711fc059e4 simplify visual block mode selection 2012-07-08 01:14:46 -04:00
Daniel Micay 7d5229d6c8 another README update 2012-07-08 01:08:21 -04:00
Daniel Micay 87f90d93f6 update README 2012-07-07 00:11:48 -04:00
Daniel Micay ac2585297c add $ (EOL) and ^ (BOL) bindings to selection mode 2012-07-07 00:11:46 -04:00
Daniel Micay 07b88a9cfb update README 2012-07-06 23:03:06 -04:00
Daniel Micay 62c62ab254 clear selection when leaving selection mode 2012-07-06 22:56:47 -04:00
Daniel Micay 115e466615 support visual block mode 2012-07-06 22:46:00 -04:00
Daniel Micay 7443b8fb8b add visual line mode 2012-07-06 20:38:46 -04:00
Daniel Micay 603c99acc7 pick the right selection starting point 2012-07-06 20:16:48 -04:00
Daniel Micay 8bb2c476df AtkText -> vte_terminal_select_text
vte requires a patch to expose this for now, but it's the only way to do
this since AtkText is completely broken
2012-07-06 20:05:20 -04:00
Daniel Micay 4ed94191a9 update README 2012-07-05 23:13:26 -04:00
Daniel Micay 7b1760d1ad use the cursor-moved event to fix visual mode 2012-07-05 22:59:14 -04:00
Daniel Micay 124979d812 move #define to the top 2012-07-05 22:59:14 -04:00
Daniel Micay 284e170321 sizeof -> strlen 2012-07-05 22:59:14 -04:00
Daniel Micay 41b39d8d71 remove_selection -> vte_terminal_select_none 2012-07-05 22:59:14 -04:00
Daniel Micay 7c76a8fc01 rm unused include 2012-07-05 22:59:14 -04:00
Daniel Micay a66ea07f7b update README 2012-07-05 22:59:13 -04:00
Daniel Micay ad3f6b3144 use the actual cursor for selection mode 2012-07-05 22:59:13 -04:00
Daniel Micay c55ac0f5ae update README 2012-07-05 22:59:13 -04:00
Daniel Micay d2e627e10a add arrow key bindings for selection 2012-07-05 22:59:13 -04:00
Daniel Micay e667bb9d9d begin is set when entering visual mode 2012-07-05 22:59:13 -04:00
Daniel Micay ca7cb0c3ed set the begin point when entering visual mode 2012-07-05 22:59:13 -04:00
Daniel Micay 6e6a255c7e implement toggling visual mode 2012-07-05 22:59:13 -04:00
Daniel Micay f8c8c748f0 initial implementation of keyboard selection 2012-07-05 22:59:13 -04:00
Daniel Micay 5fe6721f2f update README 2012-07-05 03:11:22 -04:00
Daniel Micay 64cb7e85a7 README.rst: missing word 2012-07-05 01:23:08 -04:00
Daniel Micay 9c8d7c3490 expose option for wrapping scrollback search 2012-07-04 23:41:53 -04:00
Daniel Micay 7a3e1991c5 set WINDOWID in the child's environment 2012-07-01 13:44:30 -04:00
Daniel Micay 1f49d01439 termite.cfg: vim no longer an issue 2012-06-29 22:16:01 -04:00
Daniel Micay 70b88f7866 Makefile: cleanup 2012-06-27 01:36:39 -04:00
Daniel Micay 4944f231f7 add termite.vim to work around hardcoding in vim 2012-06-27 00:39:17 -04:00
Daniel Micay 88f7d39b5e silence -Wconversion warnings 2012-06-26 21:30:34 -04:00
Daniel Micay e0de1b3254 termite.terminfo: proper support for setting title 2012-06-25 23:19:58 -04:00
Daniel Micay 34c041b6f3 consistent brace style 2012-06-25 16:08:53 -04:00
Daniel Micay f89df13e5a allow configuration of the whole palette 2012-06-25 16:05:23 -04:00
Daniel Micay a1d588981d Makefile: create directory for terminfo file 2012-06-25 15:43:32 -04:00
Daniel Micay cdc4ad4433 expose both the bold and dim foreground colors 2012-06-25 15:37:06 -04:00
Daniel Micay 169d970ad1 use const for filename 2012-06-25 03:13:09 -04:00
Daniel Micay b71dd341b1 make colors array const 2012-06-25 03:04:31 -04:00
Daniel Micay eb5bf78048 make url_regex const 2012-06-25 03:00:18 -04:00
Daniel Micay e39418eaca set_colors before foreground/background/dim 2012-06-25 02:18:12 -04:00