300 Commits

Author SHA1 Message Date
Kovid Goyal
23ee6b3109
More work on the diff kitten 2018-05-06 16:25:04 +05:30
Kovid Goyal
d133ffac25
Make using tui.operations more convenient 2018-05-06 15:34:11 +05:30
Kovid Goyal
ffc6e65392
Implement scrolling for the diff kitten 2018-05-06 14:41:10 +05:30
Kovid Goyal
d61086907d
Add a global debug function to the kittens 2018-05-06 13:48:40 +05:30
Kovid Goyal
5b58c2892d
Rename module 2018-05-06 10:35:01 +05:30
Kovid Goyal
67379c67cc
More work on the diff kitten 2018-05-05 13:38:28 +05:30
Kovid Goyal
f5c713b118
More work on the diff kitten 2018-05-05 09:45:35 +05:30
Kovid Goyal
5efa26a98d
Micro-optimization 2018-05-04 15:48:58 +05:30
Kovid Goyal
51d2c01bc1
Highlight changed in individual lines in chunks that have the same number of adds/removes 2018-05-04 15:35:11 +05:30
Kovid Goyal
be9d876997
find common prefix and suffix of two strings 2018-05-03 20:15:28 +05:30
Kovid Goyal
866b53f384
More work on the diff kitten 2018-05-03 18:05:55 +05:30
Kovid Goyal
93ff651d9e
... 2018-05-02 15:52:10 +05:30
Kovid Goyal
bec0f02b11
More work on the diff kitten 2018-05-02 15:26:47 +05:30
Kovid Goyal
0721951c79
Add hunk title lines 2018-05-02 09:47:24 +05:30
Kovid Goyal
0b93b85cf2
Dont use case range in names.h as it prevents compilation with Visual Studio 2018-05-01 11:27:10 +05:30
Kovid Goyal
f7001ea068
Fix character names for control characters not being read from unicode database
Also allow unicode_names.c to be compiled with python 2 so I can re-use
it in calibre.
2018-05-01 10:13:58 +05:30
Kovid Goyal
4760580d1c
More work on the diff kitten 2018-04-29 08:07:03 +05:30
Kovid Goyal
8fa492e0ee
More work on the diff kitten 2018-04-28 14:07:24 +05:30
Kovid Goyal
f68f8bf9c9
macOS: Fix changing tab title and kitty shell not working
I forgot that Apple has its own special snowflake readline variant.
Fixes #494
2018-04-27 15:16:26 +05:30
Kovid Goyal
84ab0f5062
More work on the diff kitten 2018-04-26 08:01:12 +05:30
Kovid Goyal
d54b58d2f3
... 2018-04-25 19:50:40 +05:30
Kovid Goyal
0be0963dc7
Utility method to truncate formatted lines to specified width 2018-04-25 19:34:04 +05:30
Kovid Goyal
61a2360df5
hints kitten: Detect bracketed URLs and dont include the closing bracket in the URL. 2018-04-25 14:33:37 +05:30
Kovid Goyal
316e7cb9f5
Also use cwd of child when opening programs via the hints kitten 2018-04-25 09:07:35 +05:30
Kovid Goyal
7a543fac86
Wire up color handling in the diff kitten 2018-04-24 10:58:15 +05:30
Kovid Goyal
5c4b14468c
Apply default colors in diff kitten 2018-04-24 10:33:18 +05:30
Kovid Goyal
0b99bb534f
Unicode input: When searching by name search for prefix matches as well as whole word matches
So now hori matches both "hori" and "horizontal". Switched to a
prefix-trie internally.
2018-04-24 07:45:20 +05:30
Kovid Goyal
92ca8ab9cc
Fix #482 2018-04-23 07:19:40 +05:30
Kovid Goyal
b5da109e7f
Wire up config infrastructure for diff kitten 2018-04-22 21:44:47 +05:30
Kovid Goyal
20c42ab519
tui: Allow handlers to finalize() as well as initialize() 2018-04-22 13:14:25 +05:30
Kovid Goyal
8bbc2b82d4
More work on the diff kitten 2018-04-22 13:05:58 +05:30
Kovid Goyal
6929358976
More work on the diff kitten 2018-04-21 15:45:16 +05:30
Kovid Goyal
cd25abc49f
... 2018-04-20 22:06:42 +05:30
Kovid Goyal
92bb6e293a
Add threaded job infrastructure to tui 2018-04-20 21:12:10 +05:30
Kovid Goyal
d5907a1bf9
More work on the diff kitten 2018-04-19 10:26:14 +05:30
Kovid Goyal
0a8dc4be0a
Start work on the diff kitten 2018-04-17 17:43:56 +05:30
Kovid Goyal
ba177c61bc
... 2018-04-16 16:46:42 +05:30
Kovid Goyal
52f4e81d59
hints kitten: Reverse order of hints
Gives hints at the bottom of the screen smaller numbers. In
non-fullscreen usage matches closer to the bottom are more likely to be
the ones the user is looking for. Fixes #460
2018-04-14 23:07:53 +05:30
Kovid Goyal
1056ab1b81
Store marks in the index map 2018-04-14 23:01:49 +05:30
Kovid Goyal
339a2e0800
Add a word select type to the hints kitten 2018-04-12 13:49:12 +05:30
Kovid Goyal
c95d1393cc
Add some more default keybindings for the hints kitten 2018-04-12 13:01:16 +05:30
Kovid Goyal
6a090ac740
Add a --type argument to hints kitten
Allows addition of more sophisticated types of matches later.
2018-04-12 10:30:32 +05:30
Kovid Goyal
3c7236557c
hints: Use --program=@ to copy to clipboard 2018-04-12 10:16:48 +05:30
Kovid Goyal
83a3d99824
Make --help work for all kittens 2018-04-12 09:33:50 +05:30
Kovid Goyal
808750a76a
Rename url_hints to just hints 2018-04-12 09:23:48 +05:30
Kovid Goyal
038248f55d
Remove unnecessary handling of passed in files to url_hints 2018-04-12 09:04:54 +05:30
Kovid Goyal
21b7bf6009
url_hints: Allow using a group to ignore prefix/suffix when matching via regex 2018-04-12 08:54:36 +05:30
Kovid Goyal
805baad9cd
More appropriate message when URLs not found 2018-04-12 07:27:40 +05:30
Kovid Goyal
56dd442e2c
Flush output streams on kitten end 2018-04-11 20:24:39 +05:30
Kovid Goyal
cb7fff6986
Refactor the ask kitten to use the new API 2018-04-11 14:40:58 +05:30