Commit Graph

7644 Commits

Author SHA1 Message Date
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
Maxime Coste
36b82c42e5 Refactor command parsing, maintain coordinates while reading the string 2015-08-27 21:32:04 +01:00
Maxime Coste
b5bdae8271 Update README 2015-08-27 21:32:03 +01:00
Maxime Coste
b529288176 Small code cleanup in command_manager.cc 2015-08-27 13:57:56 +01:00
Maxime Coste
04536657d1 Add a kill command that kills the current session
Fixes #331
A given session can be killed with 'echo kill | kak -p <session>'
2015-08-26 19:34:19 +01:00
Maxime Coste
0c41c14187 Reorganize slightly local client creation 2015-08-26 19:33:52 +01:00
Viktor Palmkvist
b53d9e282e Fix segfault in edge case when jumping backwards in jumplist
Closes #380
2015-08-26 11:54:51 +02:00
Maxime Coste
3552152b34 Merge remote-tracking branch 'elegios/master' 2015-08-25 19:23:01 +01:00
Maxime Coste
60f2067c91 Merge remote-tracking branch 'lenormf/rc/markdown.kak-trailing-whitespaces' 2015-08-25 19:22:30 +01:00
Viktor Palmkvist
1bdaf0675d Argument text object no longer handles <> 2015-08-25 15:56:49 +02:00
Frank LENORMAND
c65c0b394a Remove the hooks that take care of trailing whitespaces 2015-08-25 16:23:47 +03:00
Maxime Coste
c7aca37633 Do not cd into the buffer directory when running clang 2015-08-24 20:10:38 +01:00
Maxime Coste
1bc333a028 Highlight diffs in git-log highlighter, to handle the -p switch 2015-08-24 20:10:07 +01:00
Maxime Coste
c143d6d203 Use a reusable diff highlighting group in diff.kak 2015-08-24 19:17:50 +01:00
Maxime Coste
608cc3265e Fix clang.kak diagnostics now that tuple separator is back to '|' 2015-08-24 18:58:34 +01:00
Kylie McClain
8ad79e1e86 Kylie McClain 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
present and future rights to this software under copyright law.

Signed-off-by: Kylie McClain <somasis@exherbo.org>
2015-08-23 19:42:02 -04:00
Kylie McClain
f63d012fad rc/exherbo: various improvements 2015-08-23 19:34:37 -04:00
Maxime Coste
0755366cb1 Rework resize handling
Fixes #383
2015-08-23 15:18:18 +01:00
Maxime Coste
a2e90c2c25 Add support for listing existing sessions with kak -l
Fixes #381
2015-08-23 14:22:23 +01:00
Maxime Coste
71e362e2f9 Move session socket to /tmp/kakoune/<user name>/<session> 2015-08-23 14:13:46 +01:00
Maxime Coste
ae839fc471 Remove Client::window() method, use a force_redraw() one
We cannot assume Client::m_window is always non-null, as when
changing current buffer its temporarily null, at the point
where WinCreate hook might get called.

Fixes #382
2015-08-23 13:29:24 +01:00