Commit Graph

3313 Commits

Author SHA1 Message Date
Maxime Coste
34d0f63fd9 Use wgetch rather than getch to avoid unwanted redraws 2015-09-11 00:05:31 +01:00
Maxime Coste
80726a789b Refactor NCursesUI implementation, use pads instead of windows 2015-09-10 23:39:19 +01:00
Maxime Coste
a685a928f7 Try to restore colors to hard coded xterm palette on ncurses quit
Fixes #327
2015-09-10 23:38:05 +01:00
Maxime Coste
182cc368a0 Tweak BufferManager::delete_buffer implementation 2015-09-08 13:10:22 +01:00
Maxime Coste
fede8da14b Delete all existig window before resizing 2015-09-07 23:52:34 +01:00
Maxime Coste
29b508a894 Avoid wrapping lines with negative max width 2015-09-07 23:29:01 +01:00
Maxime Coste
53b65401f8 Small info box handling in cleanup in ncurses 2015-09-07 23:15:21 +01:00
Maxime Coste
3b4bb8674c Merge remote-tracking branch 'lenormf/rc/dlang.kak' 2015-09-07 13:35:32 +01:00
Maxime Coste
3ed0675be2 Merge remote-tracking branch 'lenormf/rc/golang.kak' 2015-09-07 13:33:19 +01:00
Kylie McClain
673eeea466 rc/markdown: Fix list formatting; multiple indented bullets, unindented bullets 2015-09-06 21:24:08 -04:00
Maxime Coste
3d7be57de7 Merge remote-tracking branch 'lenormf/rc/golang.kak' 2015-09-06 20:09:59 +01:00
Frank LENORMAND
e5da5aca23 Take the formatting function out of the hook 2015-09-06 21:07:55 +03:00
Frank LENORMAND
88775a91b3 Take the formatting function out of the hook 2015-09-06 21:06:28 +03:00
Maxime Coste
30ad9a0475 Complete aliases in command prompt 2015-09-06 18:09:32 +01:00
Frank LENORMAND
0d348f880c Take the formatting function out of the hook 2015-09-06 18:14:17 +03:00
Maxime Coste
a45876124b Avoid restoring selections in regex_prompt when they cannot have been modified 2015-09-04 19:00:42 +01:00
Maxime Coste
3e9fcf828f Merge remote-tracking branch 'lenormf/rc/golang.kak-mimetype' 2015-09-04 18:52:08 +01:00
Maxime Coste
3064bd8d90 Merge remote-tracking branch 'lenormf/rc/dlang.kak' 2015-09-04 18:51:49 +01:00
Maxime Coste
ae720b90b1 Small code tweak in show_whitespaces highlighter 2015-09-04 13:47:16 +01:00
Frank LENORMAND
1b649ae294 Fix the number literals regex, empty the mimetype to have proper highlighting syntax 2015-09-04 14:51:36 +03:00
Frank LENORMAND
b1598f9542 Work around a parsing error with regular C strings 2015-09-04 14:01:53 +03:00
Frank LENORMAND
2513495fd0 Highlight escape sequences in strings only, empty the mimetype to have proper syntax highlighting 2015-09-04 13:55:25 +03:00
Frank LENORMAND
e43a080f32 Add D support, with syntax highlighting and auto-formatting using dfmt 2015-09-04 11:31:19 +03:00
Maxime Coste
ededc84c8c Remove some useless code in remote.cc 2015-09-03 23:17:57 +01:00
Maxime Coste
f81e5593db Tweak headers in shell_manager.hh, no need for regex.hh 2015-09-03 13:54:21 +01:00
Maxime Coste
e69db0f671 Regex are overkill for shell manager env vars, we just need exact match or prefix match 2015-09-03 13:21:35 +01:00
Maxime Coste
ea7f76f7f2 Change ncurses title logic, use hard coded \033]2;<title>\007 sequence
And add a ncurses_set_title ui option defaulting to true.
2015-09-03 00:03:07 +01:00
Maxime Coste
995a094471 Fallback on /usr/share/kak if the relative runtime path does not exists 2015-09-02 22:28:41 +01:00
Maxime Coste
a7d93fa11e std::accumulate is in <numeric> not <algorithm> 2015-09-02 21:15:16 +01:00
Maxime Coste
da5e662cf8 Add missing include 2015-09-02 20:59:45 +01:00
Maxime Coste
64a5948e1c comparison ops for MatchAndBuffer should be const 2015-09-02 13:54:17 +01:00
Maxime Coste
455cca19db Add support for a separate menu text in insert completions
Display buffer of origin in word completion menu
2015-09-02 13:43:07 +01:00
Maxime Coste
1295bc95cc Fix clang compilation 2015-09-02 13:35:50 +01:00
Maxime Coste
adcd0a03b1 Fix forward declare struct/class mismatch 2015-09-02 13:34:18 +01:00
Maxime Coste
f14f87d2d8 javascript.kak: Fix indent functions
"..." strings do expand the %{...} strings in them, so
"eval -opt %{haha haha}" is the same as 'eval -opt haha haha'.
2015-09-02 13:30:34 +01:00
Maxime Coste
52c2214391 Merge remote-tracking branch 'jjthrash/master' 2015-09-01 20:50:32 +01:00
Maxime Coste
e9d7d70e47 Cache buffer display name 2015-09-01 20:49:47 +01:00
Jimmy Thrasher
a2663b0b0e Update OSX homebrew tip to include updating kakoune 2015-09-01 15:42:33 -04:00
Maxime Coste
ae7dc3c576 Simplify runtime_directory 2015-09-01 13:51:57 +01:00
Maxime Coste
b512f3220f Detect normal mode count overflow 2015-08-31 20:34:45 +01:00
Maxime Coste
c603d39a20 Merge remote-tracking branch 'elegios/master' 2015-08-31 00:02:59 +01:00
Maxime Coste
a8b5fc3d97 Merge remote-tracking branch 'ekie/fix_Readme' 2015-08-31 00:02:25 +01:00
Maxime Coste
6071e636a2 Use a named struct for insert completion candidates 2015-08-30 23:02:20 +01:00
Maxime Coste
f666cd9c69 Merge remote-tracking branch 'Maroniemann/master' 2015-08-30 15:48:45 +01:00
Clemens Stadlbauer
3db95ce50c Prevented incorrect softlink from being created
If the "autoload" directory softlink has already been created,
"make install" would place a recursive softlink inside it on the
next install, which made future installs fail.
2015-08-30 13:30:15 +02:00
Maxime Coste
64c21b93a5 Additional code tweak in command_manager.cc 2015-08-29 21:39:23 +01:00
Clemens Stadlbauer
64f8bfdd28 Clemens Stadlbauer Copyright Waiver
I dedicate any and all copyright interest in this software to the
public domain.  I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors.  I intend this
dedication to be an overt act of relinquishment in perpetuity of all
resent and future rights to this software under copyright law.
2015-08-29 22:19:35 +02:00
Eike Plack
7bc6ecd3f9 Document listing existing sessions 2015-08-28 17:05:08 +02:00
Maxime Coste
ac78cfa11c Add missing std::move, avoid a needless string copy 2015-08-28 13:54:12 +01:00
Maxime Coste
1249df9c76 Avoid using an UnorderedMap for 4 elements... 2015-08-27 21:36:49 +01:00