1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-26 13:02:01 +03:00
Commit Graph

473 Commits

Author SHA1 Message Date
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
Maxime Coste
532e3758fe Add InsertCompletionShow/InsertCompletionHide hooks 2016-09-21 13:43:06 +01:00
Maxime Coste
396b71ecc2 Add an unmap command to remove key mappings 2016-09-19 09:10:41 +01:00
Maxime Coste
c152fbe3b6 Make idle timeout and filesystem check timeout configurable 2016-09-18 13:47:22 +01:00
Frank LENORMAND
a0e72a57a2 Document the <a-m> shortcut to merge selections 2016-08-29 11:48:40 +03:00
Maxime Coste
0c444c3f4b Fix documentation of completions and range-faces options
Fixes #771
2016-08-27 11:05:37 +01:00
Maxime Coste
3f0415c765 Introduce the 'completion_extra_word_chars' option
This string option is used to get all the additional characters
that should be considered as "word" character for the purpose of
insert mode completion.

Fixes #758
2016-08-24 23:47:09 +01:00
Maxime Coste
e0c1f33427 Improve documentation for completions options 2016-08-17 19:52:53 +01:00
Maxime Coste
213888da74 Document namesession command 2016-07-28 00:17:55 +01:00
Frank LENORMAND
6ab238bfa8 Add dummy documentation of the alternative undo bindings 2016-07-26 09:26:13 +03:00
Maxime Coste
003cb8dfea Merge remote-tracking branch 'lenormf/readonly-mode' 2016-07-24 21:21:49 +01:00
Frank LENORMAND
7558994149 Document the readonly variable and -ro command line option 2016-07-23 10:03:25 +03:00
Maxime Coste
bbab4001de Document ranges highlighters
They were not, as pointed out in #736
2016-07-19 10:20:42 +01:00
Matteo Bertini
fa9169fe97 Fix typo: make_bash.bash -> make_deb.bash 2016-07-07 13:06:05 +02:00
Maxime Coste
6e0279856f Document InsertChar hook 2016-06-20 19:30:28 +01:00
Maxime Coste
c73e64882c Check session valididty on kak -l and support kak -clear for clearing the dead ones
Fixes #689
2016-06-06 19:28:56 +01:00
Matthew J. Berger
98b0560335 Update README.asciidoc with debian installation instructions. 2016-06-02 17:14:56 -07:00
Jiri Konecny
c5a5227da5 Fix example in documentation
Escaping the ` and removing what does not make sense to me.
2016-05-11 08:39:32 +02:00
Maxime Coste
6731e5fe2d Add gentoo doc in README 2016-05-10 23:08:56 +01:00
Jiri Konecny
c3883bdee0 Update supported versions for Fedora 2016-05-10 17:01:04 +02:00
Maxime Coste
a132eb6b5b Expose a WinResize hook when a window changes size
Fixes #661
2016-05-04 23:27:28 +01:00
Maxime Coste
da40828801 Check all buffer are saved in :kill, and add :kill! to avoid that 2016-04-29 21:58:04 +01:00
Maxime Coste
199ccb4021 Add a -password switch to :prompt to allow for more secure password entering
Fixes #660
2016-04-19 09:51:09 +01:00
Maxime Coste
7316d93022 Merge remote-tracking branch 'Delapouite/docs' 2016-04-13 09:50:14 +01:00
Maxime Coste
815924e4da Merge remote-tracking branch 'lenormf/buffer-padding' 2016-04-11 13:44:10 +01:00
Delapouite
d869e5829f Add missing text objects to README: u, Q, q and g 2016-04-09 18:44:21 +02:00
Maxime Coste
a12475d88c Merge branch 'expose-cursor-byte-offset' of git://github.com/pauldub/kakoune 2016-04-09 01:05:18 +01:00
Delapouite
f7e3ec03c2 Fix various typos in docs/ 2016-04-08 18:00:24 +02:00
Paul d'Hubert
eb8ad56c87 expose cursor_byte_offset env variable
Update README.asciidoc
2016-04-08 13:29:31 +02:00
Maxime Coste
d1732673ce Document the null register 2016-03-31 09:21:09 +01:00
Maxime Coste
c8490c4e86 Try to load an eventual kakrc.local next to the common kakrc 2016-03-27 19:34:59 +01:00
Frank LENORMAND
f32fe6c4cd Document missing commands, fix rendering issues 2016-03-12 11:30:10 +02:00
Robert J. Ennis
5180c06906 Ncurses 6.0 install on OS X
The mouse doesn't work properly in Kakoune on OSX without installing the latest version of ncurses. This shows the user how to do that.
2016-03-10 15:05:03 +01:00
Maxime Coste
52525a156f Remove complete_prefix option and behaviour
Now that we use subsequence based completion almost everywhere,
completing the common prefix does not make sense anymore.
2016-03-07 20:17:41 +00:00
Maxime Coste
7202ff373e Tips should not be in the readme 2016-03-06 15:20:49 +00:00
Maxime Coste
7ec90f3afd Merge remote-tracking branch 'benoit-intrw/regex_doc' 2016-03-06 15:20:13 +00:00
Delapouite
ac3d76da9f Fix various typos in README 2016-03-05 19:21:29 +01:00
Benoît Laurent
f1b48d0b3c Add some info about regex syntax 2016-02-22 22:22:05 +01:00
Frank LENORMAND
c90dafcbfb Document the | register, as well as default registers saved by exec/eval 2016-02-18 14:57:23 +02:00
Frank LENORMAND
72cfa65448 Document the BufferPadding face 2016-02-17 15:55:19 +02:00
Frank LENORMAND
3a8b856a9e Document the asciidoc dependency 2016-02-04 16:46:23 +02:00
Gokcehan Kara
ecfd22ad80 add f and t keybinds to the README file 2016-02-02 22:15:47 +02:00
Maxime Coste
f3ec218a1c Support user given text objects 2016-01-28 19:30:34 +00:00
Maxime Coste
1e8ea9e5bd Improve autoload behaviour documentation in README.asciidoc
Fixes #554
2016-01-13 10:40:15 +00:00
Maxime Coste
f3ed9c14d7 Document multiple command support in command prompt
Fixes #547
2016-01-03 21:48:55 +00:00
Maxime Coste
c39a4d5879 Add a static_words str-list option always considered for word completion
Fixes #313
2015-12-27 08:53:31 +00:00
Enrico Lumetti
e89de54549 Update VIMTOKAK and README.asciidoc 2015-12-10 16:10:05 +01:00
Maxime Coste
937bef69d9 Add support for adding saved selections to current ones with <a-z> 2015-12-07 13:43:09 +00:00
Maxime Coste
cd965dc5fe Document debug option and fix eolformat/BOM option types 2015-12-06 13:46:31 +00:00
Maxime Coste
7d4c0a9d83 Merge branch 'pr-missing-doc' of git://github.com/doppioandante/kakoune 2015-12-05 10:04:25 +00:00
Enrico Lumetti
9954da6010 Add missing environment variables in README 2015-12-05 02:31:46 +01:00
Maxime Coste
2a8a329b83 Remove support for %arg{#}, can be added back if we got a use case
It is very unlikely we need %arg{#} without needing a %sh anyway.
2015-12-02 01:08:41 +00:00
Maxime Coste
63d9218fbe Fix :def documentation in README.asciidoc 2015-12-02 00:58:15 +00:00
Maxime Coste
b2648053f9 Add argument expansion support 2015-12-01 20:07:14 +00:00
Maxime Coste
001da44e11 Add -save-regs <regs> option to exec and eval to preserve registers
Fixes #279
2015-11-25 23:40:38 +00:00
Maxime Coste
9656f088e7 Change autoinfo option to be a flags option, document flags options
Support the value1|value2|value3 syntax for flag options.
2015-11-18 23:47:28 +00:00
Maxime Coste
8834d8ba7d Merge branch 'opensusereadme' of git://github.com/jubalh/kakoune 2015-11-15 13:30:34 +00:00
Maxime Coste
929c209c01 Document keys recognized in insert and prompt mode 2015-11-15 13:25:02 +00:00
Michael Vetter
84da2ca78c Add install instructions for openSUSE 2015-11-13 16:42:58 +01:00
Maxime Coste
a0bcdd83df Document default registers 2015-11-10 20:39:17 +00:00
Maxime Coste
9b8e2526f9 Merge search hihglighter and regex option highlighter in dynregex 2015-11-09 09:34:03 +00:00
Maxime Coste
33253a8fd5 Support 'V' for locked view control
Fixes #343
2015-11-05 13:40:40 +00:00
Tim Heaney
ba8fbb6718 Typo: referred has another r 2015-11-01 08:03:19 -05:00
Maxime Coste
40c6edf243 Document exclusive attribute 2015-10-23 13:49:02 +01:00
Maxime Coste
c87b966fb5 Link to the website in the README
Fixes #438
2015-10-18 12:42:52 +01:00
Maxime Coste
8452e9a09f Document -with-maps 2015-10-10 14:18:30 +01:00
Maxime Coste
e4414104e5 Remove reference to long gone -env-params :def option 2015-10-02 13:59:43 +01:00
Maxime Coste
1ff92d2b67 Fix README 2015-09-29 23:59:39 +01:00
Maxime Coste
9fdb822c27 Add support for italic text attribute 2015-09-27 14:24:42 +01:00
Eike Plack
122a799ecb Document the separator 2015-09-25 17:52:35 +02:00
Maxime Coste
d86b98fa7c Document Markup strings and modelinefmt 2015-09-20 17:40:06 +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
Jimmy Thrasher
a2663b0b0e Update OSX homebrew tip to include updating kakoune 2015-09-01 15:42:33 -04:00
Eike Plack
7bc6ecd3f9 Document listing existing sessions 2015-08-28 17:05:08 +02:00
Maxime Coste
b5bdae8271 Update README 2015-08-27 21:32:03 +01:00
Maxime Coste
409931c99e Document change to macros and marks in README 2015-08-19 21:16:26 +01:00
Eike Plack
b6c3127994 Fix README
* typos
* escape "<-"
2015-08-17 00:22:29 +02:00
Maxime Coste
1ea9739ab1 Document special registers 2015-08-11 13:44:07 +01:00
Maxime Coste
548436eaf0 Merge remote-tracking branch 'jkonecny/master-mark-doc-fix' 2015-08-03 11:32:36 +01:00
Jiří Konečný
814a89ca2a Fix mark documentation
In Readme there was still the old way with '^' and 'alt-^'.
Now it's changed to 'z' and 'Z'.
2015-08-02 13:08:30 +02:00
Maxime Coste
15a34be46d Merge branch 'master' into colorscheme 2015-07-03 21:33:08 +01:00
Maxime Coste
742fdc1f7d Recognize colorscheme command in kakrc files and in README 2015-07-03 21:14:08 +01:00
xificurC
fbb216d2ed commands starting with horizontal whitespace don't go into the history 2015-06-30 16:06:49 +02:00
Maxime Coste
05b4d95a56 Run BufReadFifo hook after reading from fifo 2015-06-28 11:06:19 +01:00
Maxime Coste
e1ba2991f5 Initial selection saving/restoring support bound to ^ and alt-^ 2015-06-27 11:02:08 +01:00
Maxime Coste
8020d96474 Document FocusIn/FocusOut hooks 2015-07-22 13:28:51 +01:00