Commit Graph

4238 Commits

Author SHA1 Message Date
Alex Leferry 2
1a3d7e58ab Help Kakoune to better detect /…/ literals 2016-03-17 12:25:40 +01:00
Alex Leferry 2
13e6c34c35 add :alt command to jump to the alternate file (implementation ↔ test) 2016-03-16 15:05:13 +01:00
Maxime Coste
131b0a8298 Use ByteCoords directly for buffer insert/erase/replace 2016-03-16 13:59:30 +00:00
Maxime Coste
ad5da15cfa Use replace in Buffer unit test 2016-03-16 13:52:39 +00:00
Maxime Coste
de1433d30a Avoid the spurious newline insertion when replacing at end of buffer
Add a Buffer::replace method to handle the replacements properly
Fixes #633
2016-03-16 13:48:11 +00:00
Maxime Coste
c5b24e2a8a More cleanups in Buffer::do_insert 2016-03-16 13:22:11 +00:00
Frank LENORMAND
8ae7116237 Document storing of submatches in a selection's regex 2016-03-16 14:29:43 +02:00
Frank LENORMAND
a340eaf0ab Fix the page detection pattern 2016-03-16 14:10:47 +02:00
Maxime Coste
338462e94f Refactor Buffer::do_insert 2016-03-15 23:37:18 +00:00
Maxime Coste
d2dfb9ecb1 Slight cleanup in Buffer::do_insert 2016-03-15 23:15:57 +00:00
Maxime Coste
5fe2872904 Reset line editor display pos when the text is reset 2016-03-15 13:55:01 +00:00
Maxime Coste
e82c3410a5 Redisplay prompt on Prompt mode enabled
Fixes #603
2016-03-15 13:51:47 +00:00
Maxime Coste
6739c5047e Support an optional column param with the +<line>[:<column>] syntax 2016-03-15 13:21:28 +00:00
Maxime Coste
b014093c97 Quit on SIGINT when using a DummyUI 2016-03-15 00:24:42 +00:00
Maxime Coste
09baf73152 Fix various posix shell compliance issues in the rc/ files 2016-03-14 20:59:23 +00:00
Maxime Coste
dca9bccc6a Disable key mapping handling when executing a user mapping
Fixes #629
2016-03-14 20:58:55 +00:00
Frank LENORMAND
3079d2a7e3 Replace non-POSIX inline character replacement in shell scripts 2016-03-14 18:29:11 +02:00
Maxime Coste
b53f1271a2 Support ~/ in insert mode filename completion 2016-03-14 13:59:54 +00:00
Maxime Coste
7ecd65e1af Code cleanups 2016-03-14 13:41:20 +00:00
Maxime Coste
3a699c8ac3 Include tweak 2016-03-14 13:41:20 +00:00
Frank LENORMAND
98594cf6df Add static completion suggestions to several languages, set autopep8 as default python formatter 2016-03-14 14:10:49 +02:00
Maxime Coste
22109ce677 Merge remote-tracking branch 'lenormf/rc/autowrap.kak' 2016-03-14 08:56:23 +00:00
Maxime Coste
bb3674e63e Update TODO 2016-03-14 08:55:46 +00:00
Frank LENORMAND
ea0a9b6e07 Get rid of useless operations 2016-03-14 09:15:47 +02:00
Maxime Coste
fdebdbd6a7 Merge remote-tracking branch 'lenormf/rc/autowrap.kak' 2016-03-13 10:45:23 +00:00
Maxime Coste
416b9d341c Merge remote-tracking branch 'lenormf/manpage' 2016-03-13 10:45:16 +00:00
Frank LENORMAND
2501e95571 Fix bugs and factorize code in the autowrap script 2016-03-13 09:47:17 +02:00
Maxime Coste
06c1c5f28b Do not include the debug buffer in word completion 2016-03-12 16:44:55 +00:00
Maxime Coste
35d3679703 Tweak clang.kak implementation of clang-show-completion-info 2016-03-12 16:44:08 +00:00
Frank LENORMAND
f32fe6c4cd Document missing commands, fix rendering issues 2016-03-12 11:30:10 +02:00
Maxime Coste
92f96f9455 Change custom object syntax, use a single prompt
Take a description of the object, in <open>,<close> format
2016-03-11 00:14:42 +00:00
Maxime Coste
428b18c0c1 Formatting fix 2016-03-11 00:09:13 +00:00
Maxime Coste
d554af7f0e Merge branch 'patch-2' of git://github.com/rennis250/kakoune 2016-03-10 19:43:35 +00:00
Maxime Coste
54c78bf0e5 Merge branch 'patch-1' of git://github.com/rennis250/kakoune 2016-03-10 19:43:12 +00:00
Robert J. Ennis
7f648bcd06 Update Makefile for OSX build with homebrew ncurses
This adds compilation flags to include the homebrew installed ncurses 6.0 library during compilation.
2016-03-10 15:07:50 +01:00
Robert J. Ennis
5180c06906 Ncurses 6.0 install on OS X
The mouse doesn't work properly in Kakoune on OSX without installing the latest version of ncurses. This shows the user how to do that.
2016-03-10 15:05:03 +01:00
Frank LENORMAND
8da2e2a7a8 Restore the filter_around_selections functions to balance indentation copies 2016-03-10 15:48:12 +02:00
Frank LENORMAND
a31d947e1d Give commands that do not indent their own insert hook 2016-03-10 15:12:08 +02:00
Frank LENORMAND
ad06f3f92c Remove hooks that trim trailing whitespaces 2016-03-10 15:08:01 +02:00
Frank LENORMAND
326421c810 Add rubocop as default ruby formatter 2016-03-10 15:07:08 +02:00
Maxime Coste
fcd3437fac Merge branch 'json-ui' 2016-03-09 23:29:46 +00:00
Maxime Coste
517abf5e74 Redisplay info when menu appears so that info adapts its position 2016-03-09 23:28:23 +00:00
Maxime Coste
99ca7ead37 Only select a completion when the menu was visible (or its the only one) 2016-03-09 23:24:20 +00:00
Maxime Coste
90d446b2f4 It can happen during an undo/redo that the buffer be temporarily empty
Fix is_end in that case.
2016-03-09 23:16:14 +00:00
Maxime Coste
79782fb903 Do not use echo -n in test runner, -n is not standard 2016-03-08 23:55:15 +00:00
Maxime Coste
84a1796a48 Try to please gcc 4.8 with parenthesis instead of curly braces 2016-03-08 23:36:54 +00:00
Maxime Coste
2d494ccb8e Merge remote-tracking branch 'alexherbo2/moon-rc' 2016-03-08 23:24:17 +00:00
Maxime Coste
a7f458257f Merge remote-tracking branch 'alexherbo2/lua-rc' 2016-03-08 23:24:11 +00:00
Maxime Coste
eea75c6daf Add missing curly braces in containers helpers 2016-03-08 23:22:32 +00:00
Maxime Coste
9e15181dc9 Rework container helpers, use pipe syntax and cleanup implementation
use 'container | filter(func) | reverse() | transform(func)' instead
of 'transform(reverse(filter(container), func), func)' to express
container transformations.
2016-03-08 21:35:56 +00:00