Maxime Coste
fafde8655b
Fix select_to_reverse to correctly handle the first character of the buffer
...
Fixes #809
2016-09-19 09:20:55 +01:00
Maxime Coste
396b71ecc2
Add an unmap command to remove key mappings
2016-09-19 09:10:41 +01:00
Maxime Coste
44e9da3bee
More command completer code cleanup
2016-09-18 16:27:34 +01:00
Maxime Coste
d14c39ebdd
Rewrite PerArgumentCommandCompleter to use compile time dispatching
...
No need to store these vectors of std::functions around anymore.
2016-09-18 16:07:00 +01:00
Maxime Coste
8627c93e11
Tweak zenburn theme, rely less on terminal builtin colors
2016-09-18 14:30:16 +01:00
Maxime Coste
c152fbe3b6
Make idle timeout and filesystem check timeout configurable
2016-09-18 13:47:22 +01:00
Alex Leferry 2
e18d145f96
highlight :: operator
2016-09-16 11:12:02 +02:00
Alex Leferry 2
bb911cc229
fixes symbol highlighting
2016-09-16 10:54:53 +02:00
Martin Chaine
a03cc59608
Use POSIX case and BRE
2016-09-09 16:48:49 +02:00
Alex Leferry 2
6e634c680a
fixes 'end' insertion
2016-09-09 15:36:45 +02:00
Alex Leferry 2
5b99ef3197
disable hooks
2016-09-09 15:35:23 +02:00
Dimitar Dimitrov
b9ef5a2f2a
Always use quotes with sh/bash
2016-09-09 12:04:55 +01:00
Martin Chaine
6faed96b68
Highlight diff in git-commit too
2016-09-07 13:50:21 +02:00
Maxime Coste
c63c92cbf7
Support kill session inside init command
2016-09-06 22:46:27 +01:00
Maxime Coste
c1d7f79a52
Do not let boost regex errors propagate, convert them to Kakoune errors.
2016-09-06 13:55:14 +01:00
Maxime Coste
9a19f18bc0
Use shell-candidates for :colorscheme completion
2016-09-05 23:39:13 +01:00
Maxime Coste
da0fe5d0bd
Small code tweak in generate_switches_doc
2016-09-05 23:34:03 +01:00
Maxime Coste
e9c63316f5
Tweak c-family indent logic
2016-09-05 23:33:34 +01:00
Maxime Coste
21a76d135c
Fix handling of remote errors in the accepter
2016-09-05 13:47:56 +01:00
Maxime Coste
a6b55074d6
Merge remote-tracking branch 'lenormf/fix-ctags-tagroot'
2016-09-04 20:40:41 +01:00
Maxime Coste
4fc20b8d7d
Rework client quitting and handling of remote errors
...
Client quitting no longer immediately unwinds, client is just pushed
for deletion until we get back to the main loop, similarly to what
happens for buffer and window deletion.
2016-09-04 17:56:07 +01:00
Maxime Coste
563497ade7
Use proper buffering when reading remote messages
...
Messages now have their size in a header, along with their type
and are only executed once fully received. We dont block anymore
while trying to read a full message.
2016-09-04 11:17:35 +01:00
Maxime Coste
044a6ce860
Rework binary network protocol to be more message based
...
We cannot just write to Kakoune socket from any application anymore,
use of kak -p is mandatory, as we now have an introduction to write.
2016-09-04 11:17:34 +01:00
Maxime Coste
4d13e6fb88
Do not crash whenever S matches the whole selection and hence does not select anything
...
Fixes #787
2016-09-04 11:17:34 +01:00
Frank LENORMAND
12ddf22761
Fix the directory from which the file containing a matching tag will be opened
2016-08-31 14:23:36 +03:00
Maxime Coste
97e36233fb
Remove the to_string(unsigned) (it conflicts with to_string(size_t) on x86)
...
Just cast to int when we pass an unsigned.
2016-08-31 09:07:33 +01:00
Maxime Coste
80298a95a0
clang.kak: Use two sed processes instead of one to avoid extra long pattern space
...
The previous version was ending up with all the completion candidates
in a single, multiline pattern space, regex substitution on it was
extremely slow compared to the two process version where substitution
is always running on a single candidate.
2016-08-30 23:41:27 +01:00
Maxime Coste
3831117bc7
style tweak
2016-08-30 23:23:07 +01:00
Maxime Coste
8b02bb749d
Add a fd_readable(int fd) helper function
...
Use it instead of direct calls to select scatered around the code
base.
2016-08-30 22:56:47 +01:00
Maxime Coste
d0a29511d2
Merge remote-tracking branch 'lenormf/document-merge'
2016-08-30 22:41:42 +01:00
Maxime Coste
7b81131071
Merge remote-tracking branch 'lenormf/fix-doc-completion'
2016-08-30 22:41:31 +01:00
Enrico Lumetti
5ee57f18df
Invoke tmux only after checking its existence
2016-08-30 16:51:33 +02:00
Frank LENORMAND
47d9f4a993
Allow instant completion of doc
pages
...
Closes #750
2016-08-30 17:25:34 +03:00
Maxime Coste
b6cab458ed
Use a heap instead of sorting to gather the best shell-candidates matches
...
O(n + k * log n) (with k = 100 here) instead of O(n log n), much faster
with many candidates.
2016-08-30 13:42:29 +01:00
Alex Leferry 2
d3075c0325
add ranger.kak
2016-08-30 13:20:12 +02:00
Maxime Coste
551263c564
Use shell-candidates for :git command completion
2016-08-30 01:01:18 +01:00
Maxime Coste
f6cb6319d6
Enable shell-candidates update in fast completion mode
2016-08-30 00:55:01 +01:00
Maxime Coste
f52f5f7c53
Only decode utf8 when strictly necessary in RankedMatch::operator<
2016-08-30 00:51:21 +01:00
Maxime Coste
2b631837d8
Tweak RankedMatch, compare max match index instead of match indices sum
2016-08-30 00:30:15 +01:00
Maxime Coste
cbe38b2f96
Use flags and bit operations instead of bools in RankedMatch
...
full match is now the most important flag for comparison.
2016-08-29 23:56:22 +01:00
Frank LENORMAND
a0e72a57a2
Document the <a-m>
shortcut to merge selections
2016-08-29 11:48:40 +03:00
Maxime Coste
95c21a4ebd
Merge remote-tracking branch 'doppioandante/json-fix'
2016-08-28 18:51:19 +01:00
Enrico Lumetti
c6da163cb3
Fix menu_select in the JSON ui
2016-08-27 17:57:48 +02:00
Maxime Coste
b934bcd4e1
Support merging consecutive selections with <a-m>
...
Fixes #773
2016-08-27 11:20:38 +01:00
Maxime Coste
093d3bd0df
Map tab to jump forward until we can distinguish <c-i> from it
...
Fixes #769
2016-08-27 11:07:24 +01:00
Maxime Coste
0c444c3f4b
Fix documentation of completions and range-faces options
...
Fixes #771
2016-08-27 11:05:37 +01:00
Maxime Coste
85f54a77ac
Display the capture used in select/split prompt
...
Fixes #770
2016-08-27 10:55:07 +01:00
Maxime Coste
2bf100bdd0
Add a to_string overload for unsigned int
2016-08-27 10:46:49 +01:00
Maxime Coste
ba7df73b15
Merge remote-tracking branch 'doppioandante/json-doc'
2016-08-27 10:33:03 +01:00
Maxime Coste
7ac54b0b0f
Fix another bug in wrap_lines
2016-08-26 00:08:34 +01:00