Commit Graph

3498 Commits

Author SHA1 Message Date
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
Maxime Coste
dc504284c3 Change flag lines highlighter to use faces instead of colors
Fixes #130
2015-08-23 12:13:14 +01:00
Maxime Coste
504862fce7 Avoid double session closing 2015-08-22 11:27:48 +01:00
Maxime Coste
47ab4038ec Format session socket name in place into the sockaddr_un 2015-08-22 11:27:04 +01:00
Maxime Coste
564ab7d942 Merge remote-tracking branch 'zakgreant/reference-sheet-scripts' 2015-08-20 20:13:48 +01:00
Maxime Coste
307943fcf7 Merge remote-tracking branch 'lenormf/rc/python.kak-bool' 2015-08-20 20:12:39 +01:00
Maxime Coste
689494fb2f Fix reentrency in Normal::handle_key 2015-08-20 19:16:14 +01:00
Maxime Coste
ec88e394b0 Fix tests after macros/marks syntax change 2015-08-20 19:15:44 +01:00
Maxime Coste
3834a967f8 No reason for NestedBool operator bool to be explicit 2015-08-19 21:20:34 +01:00
Maxime Coste
8af3b52bfa Add alternative names to ^ (caret) and @ (arobase) registers 2015-08-19 21:20:01 +01:00
Maxime Coste
409931c99e Document change to macros and marks in README 2015-08-19 21:16:26 +01:00
Maxime Coste
7ee027b125 Use the "<reg> syntax along with a default register for marks and macros
Marks use the '^' register by default, macros the '@' register.
2015-08-19 13:58:37 +01:00
Maxime Coste
baf0203b9d Default register is not handled by the Normal input mode.
Normal input mode will just pass 0 as the reg if it was not specified
by the user, its yank/paste functions that should determine 0 means
use '"' register.
2015-08-19 13:41:16 +01:00
Maxime Coste
3f493fa186 Rename Disableable to more general NestedBool
A NestedBool can be set multiple times, and will be considered false
only when unset the same number.
2015-08-18 23:17:56 +01:00
Maxime Coste
a33c8d9677 Smaller sizeof for in place strings 2015-08-18 21:06:53 +01:00
Maxime Coste
386f41e1c5 Be more explicit about paramater parsing error 2015-08-18 00:28:04 +01:00
Maxime Coste
6c8c346311 Merge remote-tracking branch 'ekie/fix_typo' 2015-08-18 00:21:14 +01:00
Maxime Coste
f2580a366d Cleanup key to codepoint conversion
Fixes #378
Fixes #365
2015-08-18 00:19:14 +01:00
Eike Plack
b6c3127994 Fix README
* typos
* escape "<-"
2015-08-17 00:22:29 +02:00
Maxime Coste
043ca99983 Cleanup mouse handling a little 2015-08-16 14:06:07 +01:00
Zak Greant
dc2d12a124 Fixing minor typo
s/prevous/previous/
2015-08-15 16:46:57 +02:00
Zak Greant
b2cff3f420 Generate normal mode reference
Parse entries out of the cmds array in normal.cc, then generate a
sorted list of key bindings as an HTML table.
2015-08-15 12:45:10 +02:00
Zak Greant
8211439685 J.A. (Zak) Greant 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.
2015-08-15 12:41:24 +02:00
Maxime Coste
97b871d49e Tweak notify_fatal_error message box title, might not be an assert failed 2015-08-14 13:16:06 +01:00
Maxime Coste
92d3178305 Clamp m_anchor in mouse handler, nothing garantees that it is still valid
Fixes #350
2015-08-14 13:12:44 +01:00
Frank LENORMAND
953ca06c1f Add bool to the list of highlighted types 2015-08-14 11:41:07 +03:00
Maxime Coste
5f115c90ff Merge remote-tracking branch 'somasis/master' 2015-08-13 22:08:47 +01:00
Maxime Coste
d2b82f507f More performant escape/unescape 2015-08-13 22:04:21 +01:00
Kylie McClain
6325950758 rc/markdown: add another markdown extension (.mkd) 2015-08-13 15:07:17 -04:00
Maxime Coste
7a36a4644e Detect face being aliased to itself
Fixes #374
2015-08-12 21:49:29 +01:00
Maxime Coste
e7e414c46d travis: we need boost 1.55 2015-08-12 19:26:26 +01:00
Maxime Coste
0efb41ce42 Migrate to container based travis 2015-08-12 19:17:17 +01:00
Maxime Coste
d2762e6a1a Try to fix compilation on travis 2015-08-12 19:16:52 +01:00
Maxime Coste
7086135fa6 Display auto info on register insertion/explicit insert completion 2015-08-11 20:36:07 +01:00
Maxime Coste
dac4fdaa54 Merge remote-tracking branch 'jkonecny/master-ini-highlight' 2015-08-11 20:35:24 +01:00
Maxime Coste
34a933a747 Merge remote-tracking branch 'jkonecny/master-fix-python' 2015-08-11 20:35:17 +01:00
Jiří Konečný
6c92444545 Fix python types highlighter 2015-08-11 20:32:07 +02:00
Jiří Konečný
cd8d81d0df Add ini files highlighter
Now it's used for .repo, .socket, .target, .service and .ini files
2015-08-11 20:14:40 +02:00
Maxime Coste
8d9c402f52 Handle registers insert/explicit completion with a nested on_next_key mode 2015-08-11 13:55:56 +01:00
Maxime Coste
1ea9739ab1 Document special registers 2015-08-11 13:44:07 +01:00
Maxime Coste
d7744308f6 Ensure the command exist before adding an alias
Fixes #371
2015-08-11 13:37:38 +01:00
Maxime Coste
2a72ca6f63 Merge remote-tracking branch 'somasis/master' 2015-08-11 13:33:06 +01:00
Maxime Coste
6916b65dfe Merge remote-tracking branch 'lenormf/rc/autorestore.kak' 2015-08-11 13:30:48 +01:00
Maxime Coste
c7fa2f858f Merge remote-tracking branch 'lenormf/rc/c-family.kak-double' 2015-08-11 13:30:21 +01:00
Maxime Coste
4d39657b9a Add unit tests for <a-x> and <a-X> 2015-08-11 13:28:50 +01:00
Frank LENORMAND
ac98699cf9 Add a comment-selection function 2015-08-11 14:04:24 +03:00
Frank LENORMAND
8c4d6b1861 Add quotes around the messages to be displayed in :echo calls 2015-08-11 09:25:58 +03:00