Commit Graph

5923 Commits

Author SHA1 Message Date
Maxime Coste
ff6eacffa3 dont intern SharedStrings but StringDataPtr 2016-02-05 00:20:45 +00:00
Maxime Coste
a8eddd03f0 String usage cleanups 2016-02-04 23:54:22 +00:00
Frank LENORMAND
3a8b856a9e Document the asciidoc dependency 2016-02-04 16:46:23 +02:00
Frank LENORMAND
8d0988d541 Prevent unconditional generation of the man pages, fix the executable name for a2x on Mac OS X 2016-02-04 15:10:04 +02:00
Frank LENORMAND
4280831e7a Prevent a2x from changing the generated man page name to 'kakoune' 2016-02-04 14:54:53 +02:00
Frank LENORMAND
eb62327a4c Rename the man page to kak 2016-02-04 12:58:59 +02:00
Frank LENORMAND
9d6d2b767f Properly install the man page when using a custom prefix 2016-02-04 11:58:18 +02:00
Frank LENORMAND
80f7a350e4 Fix the installation of documentation pages 2016-02-04 11:46:12 +02:00
Maxime Coste
eb99c0f39e Merge remote-tracking branch 'occivink/master' 2016-02-04 09:30:25 +00:00
Maxime Coste
d92c241fe7 Make doc command work without requiring installation 2016-02-03 23:46:01 +00:00
O. Perret
92ddbac1e8 Adapt 'make install' to rc/ reorganization 2016-02-03 23:31:35 +01:00
Maxime Coste
b59714bf2a Merge remote-tracking branch 'lenormf/manpage' 2016-02-03 22:16:40 +00:00
Frank LENORMAND
985b7a188a Generate the documentation pages in the troff format
This commit introduces the `doc` target in the Makefile, which
generates man pages from the `asciidoc`-formatted documentation in the
`doc/manpages` directory.

Before being installed into the `$(sharedir)/doc` directory, the
generated raw man pages have to be striped of a few sections without
which `a2x` won't convert the `asciidoc` data: the shady block of shell
script in the `doc` target does just that, along with compressing the
resulting man page.

New dependency hereby introduced: `asciidoc`.
2016-02-03 21:09:41 +02:00
Frank LENORMAND
79abe58599 Fix the pattern detection regex, take compression into account when suggesting doc pages 2016-02-03 21:09:17 +02:00
Frank LENORMAND
77beeaf9b9 Rewrote the documentation pages in asciidoc format 2016-02-03 19:15:35 +02:00
Frank LENORMAND
6951f3f2d9 Wrap long lines 2016-02-03 17:04:20 +02:00
Frank LENORMAND
b6e930a57d Migrate the raw troff kakoune man page to the asciidoc format 2016-02-03 14:51:32 +02:00
Maxime Coste
dc3c7d593c Do not use a hash to determine if a window must be redrawn
Collision happens
Fixes #569
2016-02-03 09:51:56 +00:00
Frank LENORMAND
caa87608d4 Document the t and f bindings 2016-02-03 11:39:58 +02:00
Maxime Coste
3e0e32cfbb Merge remote-tracking branch 'alexherbo2/coffee-rc' 2016-02-03 09:29:01 +00:00
Alex Leferry 2
dccaaa12d5 support commenting 2016-02-03 09:30:11 +01:00
Alex Leferry 2
f54ba102ad indent after lines ending with '=' 2016-02-03 09:30:11 +01:00
Alex Leferry 2
1aed03aaf9 make auto-indenting after start structure more robust 2016-02-03 09:30:11 +01:00
Alex Leferry 2
85383e7083 do not clear multiple selections when preserving previous line indent 2016-02-03 09:30:11 +01:00
Alex Leferry 2
d4d19c2590 clean up 2016-02-03 09:29:40 +01:00
Maxime Coste
14256e4979 Merge remote-tracking branch 'lenormf/rc/man.kak' 2016-02-02 23:38:49 +00:00
Maxime Coste
6ce6b1bd9b Merge git://github.com/gokcehan/kakoune 2016-02-02 22:17:14 +00:00
Maxime Coste
ac601889df Remove grench.kak
Closes #571
2016-02-02 22:14:54 +00:00
Gokcehan Kara
ecfd22ad80 add f and t keybinds to the README file 2016-02-02 22:15:47 +02:00
Frank LENORMAND
33008f9ea7 Add a doc command, as well as several themed documentation pages 2016-02-02 21:15:12 +02:00
Frank LENORMAND
043f742ec3 Add a basic man page 2016-02-02 21:13:25 +02:00
Frank LENORMAND
7dbbdca953 Get rid of tabs in the man pages to simplify highlighting, improve and document highlighting, get rid of the arbitrary binding 2016-02-02 08:34:02 +02:00
Maxime Coste
fef0277998 Reorganise rc/ into subdirectories
* core: set of tools to work on kakoune source code
 * base: very common languages and tools
 * extra: less common languages and tools
2016-01-29 09:03:23 +00:00
Maxime Coste
c27778497e Avoid spurious error on empty autoload folders 2016-01-29 08:48:26 +00:00
Maxime Coste
f2dac6ca15 Small cleanup 2016-01-28 20:29:10 +00:00
Maxime Coste
3349bcd277 Rename 'ini-file' filetype to just 'ini' 2016-01-28 19:33:21 +00:00
Maxime Coste
5388a538ef Avoid interpretting eventual output in send-text implementations 2016-01-28 19:30:49 +00:00
Maxime Coste
d3bbab313b Merge git://github.com/gokcehan/kakoune 2016-01-28 19:30:38 +00:00
Maxime Coste
f3ec218a1c Support user given text objects 2016-01-28 19:30:34 +00:00
Maxime Coste
b7530b021a StringView based surround selection 2016-01-27 19:36:31 +00:00
Maxime Coste
f8106690b1 Make BufferIterator::operator* return a const ref to be more compatible 2016-01-27 08:27:23 +00:00
Gokcehan Kara
31b4c5c4c8 split x11 repl functionality to x11-repl.kak 2016-01-26 15:05:35 +02:00
Gokcehan Kara
e25490dc7f split tmux repl functionality to tmux-repl.kak 2016-01-26 15:04:48 +02:00
Frank LENORMAND
94674b63e0 Add a modeline support script (vim + kakoune options) 2016-01-26 09:56:13 +02:00
Maxime Coste
04119d6207 Make find_surrounding more reusable and add unit tests 2016-01-26 07:23:18 +00:00
Maxime Coste
4f07632ac0 Add missing quoting in clang.kak 2016-01-26 06:32:23 +00:00
Maxime Coste
3d8e9a298c Merge remote-tracking branch 'lenormf/rc/spell.kak' 2016-01-26 05:09:50 +00:00
Maxime Coste
d566de4930 Merge remote-tracking branch 'alexherbo2/ruby-rc' 2016-01-26 04:57:41 +00:00
Gokcehan Kara
0df6be4992 add basic support for repl interaction in x11
Define x11-repl command that optionally takes the name of an interpreter
to start it on a new window. Users then can select some text in the
editor and use [x11-]send-text command to send it to the interpreter.
Ideally the latter command should be bound to a key for easier
interaction. Requires xsel and xdotool to work.
2016-01-24 15:18:14 +02:00
Gokcehan Kara
830c9b237a add basic support for repl interaction in tmux
Define tmux-repl-vertical/horizontal/window commands that optionally
takes the name of an interpreter to start it on a new pane/window. Users
then can select some text in the editor and use [tmux-]send-text command
to send it to the interpreter. Ideally the latter command should be
bound to a key for easier interaction.
2016-01-24 15:14:33 +02:00