Commit Graph

458 Commits

Author SHA1 Message Date
Alexander Sanchez
0e50ae1383 Merge branch 'master' of https://github.com/mawww/kakoune 2017-08-28 16:26:31 -04:00
Alexander Sanchez
77ccb714ce Adding Ubuntu Tip 2017-08-28 16:20:46 -04:00
Maxime Coste
17a29ab3da Merge remote-tracking branch 'lenormf/fix-doc-debug' 2017-08-28 19:09:46 +07:00
Maxime Coste
e80b36b495 Expose client pid as $kak_client_pid
As requested in #1414
2017-08-28 13:12:45 +07:00
Frank LENORMAND
cc5edd099d doc: Add missing flags to the debug option 2017-08-27 20:30:26 +03:00
Maxime Coste
f7bed9eb18 Support specifying an exit status on quit commands
The current client exit status can be specified as an optional
parameter, is nothing is given the exit status will be 0.

Fixes #1230
2017-08-23 13:33:13 +07:00
Maxime Coste
9c44077002 Require clang >= 3.6 as 3.5 is failing on debug symbol generation 2017-07-19 17:59:01 +02:00
Maxime Coste
9c4448ac41 Remove echo -color support, superseeded by echo -markup
`echo -color Error "blah"` is the same as `echo -markup '{Error}blah'`
Fixes #1512
2017-07-19 17:18:52 +02:00
Maxime Coste
15a3d39b79 Update README for C++14 requirement 2017-07-19 11:44:00 +02:00
Maxime Coste
bed8d9c48e Merge remote-tracking branch 'Delapouite/extra_word' 2017-07-18 17:30:33 +02:00
Delapouite
c30aac0080 Docs: update completions_extra_word_chars → extra_word_chars 2017-07-12 19:18:24 +02:00
Maxime Coste
81b5de6fd8 Add <a-c> and <a-d> for changing/deleting without yanking
As asked for in #1175
2017-07-11 22:25:15 +09:00
Maxime Coste
ebc1e054fc Merge remote-tracking branch 'Delapouite/last-command-reg' 2017-07-11 09:11:10 +09:00
Maxime Coste
b575067317 Add <a-o> and <a-O> to add lines below/above selections
Fixes #1480
2017-07-11 09:03:45 +09:00
Delapouite
0d2b303f62 Docs: add missing colon register (last entered command) 2017-07-10 22:05:21 +02:00
Delapouite
f917402f89 Docs: add missing <a-R> key and fix info message 2017-07-09 12:00:28 +02:00
Maxime Coste
7a28e4c5c0 Fix trailing whitespaces in README 2017-07-08 13:34:30 +09:00
Delapouite
8ed29dbd7a Docs: add missing PromptIdle hook mentions 2017-07-05 13:45:45 +02:00
Maxime Coste
d7806249d9 Fix asciidoc formatting in README 2017-06-16 10:35:31 +01:00
Dan Skorupski
f8c9aeff3d Update Homebrew install tip in README
Homebrew advises not using homebrew/dupes anymore:

% brew install homebrew/dupes/ncurses
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
...
Warning: Use ncurses instead of deprecated homebrew/dupes/ncurses

John Doe 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.
2017-06-15 00:10:55 -05:00
Maxime Coste
eadf8930fb Add -width <max_width> support in the wrap highlighter
Will always wrap at the minimum between max_width and actual window
width.

Fixes #1424
2017-06-08 07:05:44 +01:00
Delapouite
09daaa8b3a Expose kak_buf_line_count 2017-06-06 14:29:06 +02:00
Delapouite
eb8ab7a081 docs: add missing angle brackets around keys in README and manpages 2017-05-31 19:22:01 +02:00
Maxime Coste
df4eadd2f5 Merge remote-tracking branch 'danr/Add-modified-value-if-buffer-has-modifications-not-saved' 2017-05-21 06:43:19 +01:00
Maxime Coste
b440d9f537 Change <a-z>/<a-Z> to combine selections instead of appending 2017-05-20 10:31:49 +01:00
Maxime Coste
8c62b670fd Merge remote-tracking branch 'danr/Document-that-markup-is-possible-in-completion-menu-entries' 2017-05-19 21:43:17 +01:00
Dan Rosén
625e7f8249 Add modified value if buffer has modifications not saved
Closes #1386
2017-05-18 17:39:30 +02:00
Maxime Coste
dfaafcd49a Rename range-faces to range-specs
range-faces are now used to replace-range highlighters, where the string
part is not interpretted as a face but as a display line, so the name was
not relevant anymore.
2017-05-17 19:40:52 +01:00
Dan Rosén
2ec360a178 Document that markup is possible in completion menu entries.
Closes #1373
2017-05-17 10:31:46 +02:00
Maxime Coste
a9deb7fbc8 Merge remote-tracking branch 'occivink/wrap-doc' 2017-05-12 09:51:30 +01:00
Olivier Perret
ec636ce04b update line-flags and flag_lines doc to reflect current status 2017-05-11 20:45:28 +02:00
Olivier Perret
120bf94ed9 fix new face documentation 2017-05-11 19:38:27 +02:00
Maxime Coste
b109c7be02 Fix a few spelling errors detected by spell.kak in the README 2017-05-08 12:36:24 +01:00
Maxime Coste
ff15f6bbaf Document the wrap highlighter 2017-05-07 16:26:14 +01:00
Maxime Coste
23e38a254f Introduce a LineNumberWrapped face 2017-05-07 16:26:14 +01:00
Frank LENORMAND
4e3f89972d doc: Remove Debian from the list of distributions 2017-05-06 19:00:13 +03:00
Frank LENORMAND
0b8937a459 doc: document the X key 2017-04-25 11:39:50 +03:00
Frank LENORMAND
41822f630c doc: Fix some issues in spelling, grammar and punctuation 2017-04-21 13:59:38 +03:00
Frank LENORMAND
51ab59cd36 src: Implement a write! command
This commit allows "forced" writes to a write-protected file, by
attempting to temporarily grant the current user write permissions on
it. After the buffer has been written, the previous permissions are
restored if the file existed, or set to 0644 otherwise.
2017-04-20 17:13:42 +03:00
Frank LENORMAND
1c53822068 doc: Fix the name of a now unexisting face
Closes #1317
2017-04-09 09:30:35 +03:00
Maxime Coste
055ed5ff7e Expose hook params regex captures in hook_param_capture_N 2017-03-30 11:31:07 +01:00
Maxime Coste
2cfe3cae36 Add an InsertDelete hook 2017-03-30 10:38:56 +01:00
Dan Rosén
5a403a9611 Increase modelinefmt configuration power 2017-03-11 21:43:51 +01:00
Maxime Coste
564da076a6 Merge remote-tracking branch 'lenormf/assistant-dilbert' 2017-03-10 12:06:35 +00:00
Frank LENORMAND
59b65bb9fb ncurses: Add a Dilbert assistant
Drawn by myself.
2017-03-08 20:03:29 +03:00
Frank LENORMAND
5156547de0 doc: Add an IRC badge linking to Freenode
Fixes #1266
2017-03-08 10:00:00 +03:00
Maxime Coste
58bde719e1 Document the -docstring switch of the :map command 2017-03-05 22:47:16 +00:00
Maxime Coste
2adbbb4129 Document backslash disabling hooks
Fixes #1223
2017-02-19 13:18:00 +00:00
Maxime Coste
edc2a88643 Rename BufNew and BufOpen hooks to BufNewFile and BufOpenFile
Fixes #1225
2017-02-19 13:08:06 +00:00
Frank LENORMAND
5d86b58a38 Allow modifying the characters used when highlighting whitespace
This commit adds the following flags to the `show_whitespaces`
highlighter, with a one character long parameter:

 * `-lf`: character replacing line feeds
 * `-spc`: character replacing spaces
 * `-nbsp`: character replacing non breakable spaces
 * `-tab`: character replacing a tabulation
 * `-tabpad`: character used as padding after a tabulation to satisfy
              the `tabstop` option
2017-02-04 10:21:13 +03:00
Maxime Coste
fc05b13fe9 Merge remote-tracking branch 'ekie/fix_doc' 2017-02-03 13:47:50 +00:00
Maxime Coste
4aa1ff1fc7 Merge remote-tracking branch 'ekie/document_whitespace' 2017-02-03 13:44:52 +00:00
Eike Plack
34e36e6bfb Fix doc ui options and manpage
* the ncurses_buffer_padding implementation was not merged
  see #593
2017-02-02 18:26:05 +01:00
Eike Plack
ad48535a25 Document whitespace highlighter 2017-02-02 00:05:48 +01:00
Maxime Coste
bc0dfa9e8f Use <a-'> for backward rotate selection and move rotate content to <a-"> 2017-02-01 22:53:42 +00:00
Maxime Coste
30d8641e78 Fix on-key command name in README 2017-01-31 22:48:24 +00:00
Maxime Coste
2475ffa612 Merge remote-tracking branch 'ekie/tiny_tweaks' 2017-01-25 00:38:59 +00:00
Maxime Coste
ebcfba12f6 Add a RawKey hook for raw user input hooking
Fixes #1132
2017-01-24 23:57:36 +00:00
Maxime Coste
7ba24c043a Add gi to go to first non-blank character on line
Fixes #407
2017-01-22 23:53:08 +00:00
Eike Plack
8ff2d0ba41 Document +line[:column] 2017-01-19 22:56:27 +01:00
Eike Plack
fea555d0e7 Fix escaping
* for reference: https://github.com/asciidoctor/asciidoctor/issues/1208
2017-01-19 22:52:42 +01:00
Delapouite
c61aae0722 fix(README): remove <register> from prompt and onkey commands 2017-01-17 18:08:10 +01:00
Maxime Coste
343df600cb Merge remote-tracking branch 'alexherbo2/command-names' 2017-01-10 13:44:11 +00:00
Maxime Coste
f9f11aa762 Make the currently sourced file path available through $kak_source
The :source command sets an 'source' value to the real path of the
file getting sourced while its commands are executed.

Fixes #1112
2017-01-06 19:46:47 +00:00
Maxime Coste
7fabda2e45 Quick wording tweak as suggested on github 2017-01-05 19:30:38 +00:00
Maxime Coste
930001c626 Rework Kakoune configuration loading documentation
Fixes #1063
2017-01-05 11:33:23 +00:00
Maxime Coste
306243e8d9 Remove the runtime command 2017-01-05 11:13:57 +00:00
Alex Leferry 2
671b50bb52 update command names 2017-01-04 13:04:27 +01:00
Maxime Coste
952bf8988f Update session doc and remove references to removed socket value 2017-01-02 11:11:13 +00:00
Aristid Breitkreuz
7fdcc98cd7 Fix session socket filename in README
It seems like the /tmp/kak-<session> reference is outdated.
2016-12-31 14:25:10 +01:00
Maxime Coste
190a04d6c8 Add a ncurses_change_colors option that can disable color palette change
Closes #1057
2016-12-30 07:01:13 +00:00
Maxime Coste
f41478e788 Document that < is <lt> and > is <gt> 2016-12-27 18:50:55 +00:00
Kartik K. Agaram
cebdba33a8 Consistent notation for key chords in Readme.
Fixes #1075.
2016-12-26 23:07:21 -08:00
Maxime Coste
5e2c47a7fd Merge branch 'akkartik-doc-1' of git://github.com/akkartik/kakoune 2016-12-20 03:57:23 +00:00
Maxime Coste
81a4207e06 Merge remote-tracking branch 'kballard/readme_selections_escaped' 2016-12-20 03:54:36 +00:00
Kartik Agaram
3c265cd449 clarify documentation on creating documentation
On Mac OS X El Capitan at least :doc needs an extra explicit build step to be useful.
2016-12-19 19:30:39 -08:00
Kevin Ballard
feb58ab9e2 Update description of kak_selections 2016-12-19 17:41:16 -08:00
Matt Schick
0a2428c448 Fixed a typo in the documentation - "test" -> "text" 2016-12-17 08:43:45 -08:00
Matt Schick
9fb6650140 Correct typos 'red' -> 'read' 2016-12-15 17:36:11 -08:00
Maxime Coste
ad511e5577 Merge branch 'patch-1' of git://github.com/lingceng/kakoune 2016-12-16 00:21:40 +00:00
Maxime Coste
4dd17e26b4 Merge branch 'master' of git://github.com/ewollesen/kakoune 2016-12-16 00:15:18 +00:00
Maxime Coste
414808ccf6 Formatting tweak in the README 2016-12-15 22:12:28 +00:00
Maxime Coste
b7a8aad37f Specify more clearly that we need an up to date C++ stdlib as well 2016-12-15 22:11:50 +00:00
Eric Wollesen
e8b3f28ab7 Updates command names in README
A few command names were out of date, this simply updates them.
2016-12-15 12:04:18 -07:00
Kevin Ballard
d06df635c6 Update README for better Homebrew upgrade instructions 2016-12-14 16:41:04 -08:00
Maxime Coste
2969c376a1 Document the <a-.> normal command
Fixes #986
2016-12-14 20:45:15 +00:00
lingceng
cfe30bf5c9 No need to do brew tap 2016-12-14 21:04:35 +08:00
Maxime Coste
53267a926b Merge remote-tracking branch 'Phlogistique/doc-doc' 2016-12-14 00:06:37 +00:00
Noé Rubinstein
be917f7b32 README, doc: mention :doc 2016-12-13 19:11:45 +01:00
Maxime Coste
8490caa0d7 Add support for <a-Z> appending current selections to the given register 2016-11-09 13:57:05 +00:00
Frank LENORMAND
0f8981a9df Document missing options related to mouse support 2016-10-29 10:55:06 +03:00
Maxime Coste
be8b8a740d Merge remote-tracking branch 'lenormf/fix-doc-count' 2016-10-26 23:23:55 +01:00
Maxime Coste
7c6c6871ce BufferRange option syntax support <line>.<column>+<len> and is inclusive
Fixes #864
2016-10-26 22:58:12 +01:00
Frank LENORMAND
11733bc5a8 Document count parameters for commands
Closes #895
2016-10-26 13:34:09 +03:00
Maxime Coste
dc18963875 Make o/O open multiple lines when a count is given
Fixes #873
2016-10-24 20:45:12 +01:00
Frank LENORMAND
8b133e32d6 Add a dedicated documentation page about scopes
Information related to scopes have also been modified in other documentation
pages.
2016-10-13 11:55:09 +03:00
Frank LENORMAND
f7e2bfd76f Document the optional parameter of the cd command 2016-10-11 10:39:20 +03:00
Maxime Coste
0d2bb4756b Fix register alternate name doc and dash -> hash for '#' 2016-10-10 23:19:57 +01:00
Maxime Coste
314108e539 Document register alternate names and add some missing ones
Fixes #853
2016-10-09 23:27:52 +01:00
Frank LENORMAND
a28f8f9577 Update the minimum version of gcc required to build 2016-10-02 07:52:21 +03:00