Commit Graph

468 Commits

Author SHA1 Message Date
Maxime Coste
622919bafd Add C and alt-C for 'copy selection to next/previous line' 2015-02-05 21:25:04 +00:00
Maxime Coste
16b916056f Add link to the golf challenges in the README 2015-01-23 19:14:12 +00:00
Eike Plack
9f81093411 Expose buffer list to shell over $kak_buflist 2014-12-23 02:49:53 +01:00
Maxime Coste
eee2cb3a6e Revert "Add support for BufInsert/BufErase hooks"
This is potentially quite slow, and not used, reintroduce
later if we have a use case for it.

This reverts commit 5f3a477277.
2014-12-18 23:13:45 +00:00
Maxime Coste
5f3a477277 Add support for BufInsert/BufErase hooks 2014-12-17 13:56:45 +00:00
Maxime Coste
f1aaca303b Update README 2014-12-15 13:16:32 +00:00
Maxime Coste
54e5d479bd Update doc 2014-12-13 13:17:05 +00:00
Maxime Coste
669b955bac Add travis badge in README 2014-11-21 13:59:40 +00:00
Maxime Coste
43cfc48efc Update README, document %val{...} 2014-11-21 13:17:00 +00:00
Maxime Coste
e8b0a98a78 Remove %rec{...} strings, now "..." strings expand their content 2014-11-11 13:53:57 +00:00
Maxime Coste
327b8b90ae Document ui_options in README 2014-11-10 23:35:45 +00:00
Maxime Coste
185b980718 Add scoped aliases
aliases are now stored in window, buffer, or globally.
2014-10-30 14:02:13 +00:00
Maxime Coste
f3fb299359 update README 2014-10-07 09:16:19 +01:00
Maxime Coste
8fc230e40d Add a 'disabled_hooks' regex option
Hooks whose group matches this regex wont get executed.
2014-08-21 14:37:59 +01:00
Maxime Coste
0cdcdb8b03 Document filter mode 2014-08-17 18:06:06 +01:00
Maxime Coste
bcb0dd451b Tweak README 2014-07-31 00:08:00 +01:00
Maxime Coste
568dc3a37c Add a small TL;DR section at the start of the README 2014-07-30 19:14:37 +01:00
Maxime Coste
6c581b7054 Update README since removal of single region highlighter 2014-07-19 00:17:42 +01:00
Maxime Coste
d0d4108085 Rename :colalias to :face and update documentation 2014-07-12 10:55:50 +01:00
Maxime Coste
a61db7ef5e Merge remote-tracking branch 'alexherbo2/previous-match' 2014-07-05 12:36:35 +01:00
Maxime Coste
63b2326906 Document space and ';' changes in README 2014-07-05 12:10:06 +01:00
Maxime Coste
d181a40a91 Add support for paste all (on <a-[pP]>)
Paste all pastes all yanked text at all selections, selecting each
pasted text.

Replace paste moves to R, and concat yank/concat delete (Y and D)
are removed.

Fixes #161
2014-07-05 12:10:06 +01:00
Maxime Coste
12ecffd361 Improve colalias documentation in README 2014-07-05 12:10:06 +01:00
Alex Leferry 2
581dc59fb8 add alt-n commands to (replace|append) previous match
Note: alt-n command were used to replace main selection with next match
      (preserving the others)
2014-07-03 15:27:07 +02:00
Maxime Coste
e51223e8e5 Merge pull request #172 from alexherbo2/document-writeall-command
document :writeall command in README
2014-07-01 20:35:35 +01:00
Alex Leferry 2
a292a23de1 fix goto commands documention in README 2014-06-30 10:14:27 +02:00
Alex Leferry 2
243edcd37d document :writeall command in README 2014-06-29 22:48:15 +02:00
Maxime Coste
1c69764774 Merge branch 'master' into hierarchical-highlighters 2014-06-18 20:20:58 +01:00
Maxime Coste
cbcc05396b Complete hook documentation in README 2014-06-16 20:46:27 +01:00
Maxime Coste
3ef5bf53d5 Add BufCloseFifo hook and use that to remove fifo directories 2014-06-16 19:50:20 +01:00
Maxime Coste
5dcddaeb5c Add more feature description for syntax highlighting in README 2014-06-16 01:18:11 +01:00
Maxime Coste
51da452dc4 Merge branch 'master' into hierarchical-highlighters 2014-06-16 01:06:09 +01:00
Maxime Coste
b963d0b11c update the readme for highlighters doc 2014-06-14 12:46:26 +01:00
Alex Leferry 2
d5b1605df5 add ' ' for whitespaces object 2014-06-11 20:48:38 +01:00
Maxime Coste
72d6ed3575 Add 'n' for number object (inner number does not recognise '.') 2014-05-27 09:50:12 +01:00
Maxime Coste
1bb8fc3dad Add client server as a kakoune feature in README 2014-05-12 19:03:13 +01:00
Maxime Coste
71f5b61942 Document the '.' command in README 2014-05-05 18:09:16 +01:00
Maxime Coste
24f6471431 Add '$' for keeping selections that passes a shell command
'$' pipes each selections through a given shell command, and
only keeps the one that have an exit code of 0

Fixes #36
2014-05-05 18:09:03 +01:00
Maxime Coste
919f121cef Document :prompt in README 2014-04-27 12:37:58 +01:00
Maxime Coste
33de42610d Add g. command to go to the last buffer modification position 2014-04-07 23:47:50 +01:00
Maxime Coste
2be90ce30a update README 2014-04-07 21:25:14 +01:00
Maxime Coste
c458e5f129 update readme 2014-03-31 20:05:29 +01:00
Maxime Coste
a1d40f4c17 minor tweak README 2014-03-30 11:13:13 +01:00
Maxime Coste
159e0d049d rotate selection content count parameter groups selections
the count parameter does not specify the rotation count, but
the size of the rotation groups. with 2 for exemple, selection
contents will be swapped for each pair (1 and 2, 3 and 4, ...)
2014-03-27 00:11:30 +00:00
Maxime Coste
764e450fdd Remove the shell option, always use /bin/sh 2014-03-25 09:28:44 +00:00
Maxime Coste
c9b72e1d32 Remove bash dependency, we only need posix tools now for bundled scripts 2014-03-25 09:26:26 +00:00
Maxime Coste
b5de5c4429 Update README 2014-03-23 20:35:11 +00:00
Maxime Coste
36b016226c Insert mode completion execute completers in order, and supports multiple option
The 'completions' option is gone, just add option=completion_option_name
in the completers list.
2014-03-15 03:17:17 +00:00
Maxime Coste
4ba99f7d6f Update documentation 2014-03-02 02:08:17 +00:00
Maxime Coste
aab390ab92 Add -docstring option to the 'def' command
used defined commands can have their own documentation strings
2014-03-02 01:08:11 +00:00
Maxime Coste
4b9d49d7ab Add support for -buffer <comma separated names> to eval and exec commands
fixes #47
2014-03-02 01:08:11 +00:00
Maxime Coste
bd331742d2 Add @ command for tabs to spaces and alt-@ for spaces to tabs 2014-03-02 01:06:13 +00:00
Maxime Coste
0cd82d0ebe Rename align indent to more correct copy indent 2014-03-02 01:06:05 +00:00
Maxime Coste
daeefe2f33 Add support for strings
fixes #53
2014-02-15 00:36:00 +00:00
Maxime Coste
ea4cb2cc3e update README 2014-02-12 00:03:01 +00:00
nojhan
c8156429c4 More precises requirements in the README
boost (>= 1.50)
ncurses with wide-characters support (>= 5.3, generally refered as libncursesw)
2014-02-07 15:15:14 +01:00
Maxime Coste
5b3233184e update README 2014-01-28 19:06:52 +00:00
Maxime Coste
bfac1f70c3 Kakoune does not compile on gcc 4.7 anymore 2014-01-27 20:29:49 +00:00
Maxime Coste
f6e5deae5a Add 'a' alias to angle brackets text object
fixes #39
2014-01-23 19:45:09 +00:00
Maxime Coste
2cbb0bb27f Add a show_matching highlighter 2014-01-20 21:02:43 +00:00
Maxime Coste
7a23f5f444 update README 2014-01-07 20:30:21 +00:00
Maxime Coste
39bc83c8c1 Remove reference to global.kak in README 2014-01-04 17:55:58 +00:00
Maxime Coste
25e6c1cc39 Document the IRC Channel 2014-01-03 20:17:33 +00:00
Maxime Coste
57329a6f41 update README 2013-12-31 19:40:09 +00:00
Maxime Coste
8538358fa3 Add a vimeo video link in README 2013-12-26 12:33:06 +00:00
Maxime Coste
5c04764a36 Update README 2013-12-26 10:40:46 +00:00
Maxime Coste
983abefc30 Add alt-| for piping and appending rather than replacing 2013-12-24 16:48:52 +00:00
Maxime Coste
c8d3e1d32a Document installation 2013-12-23 21:52:59 +00:00
Maxime Coste
e369b60258 Remove insert_hide_sel option 2013-12-15 14:57:55 +00:00
Maxime Coste
39512914ad Add BufWritePre and BufWritePost hooks 2013-12-11 13:58:38 +00:00
Maxime Coste
91cc8dd8bf Add cursor_char_column env variable 2013-12-11 13:46:33 +00:00
Maxime Coste
4a53d11e49 README: document shared highlighters 2013-12-03 22:20:33 +00:00
Maxime Coste
fe55d51e9f Use Q for macro recording and q for replay, document macros in README 2013-11-14 13:59:32 +00:00
Maxime Coste
9a1d50d9a2 deindent now deindent non completely indented lines
If indent is 4 spaces, and a line has only 3 leading spaces, they
will get removed. a-< can be used to avoid this behaviour.
2013-11-14 13:44:54 +00:00
Maxime Coste
cc7b4f815f Update TODO, README 2013-11-12 20:41:14 +00:00
Maxime Coste
0244112af4 Add support for hidden commands, that will not show on completion 2013-11-12 19:38:19 +00:00
Maxime Coste
5a4650aecc Add support for hidden options, not showed by completion
the decl command can take a -hidden parameter to hide an option
2013-11-12 19:21:07 +00:00
Maxime Coste
378bb978d8 cleanups and tweaks in README 2013-11-08 19:03:30 +00:00
Maxime Coste
16d261aa29 update README, document exec and eval more precisely 2013-11-07 23:23:33 +00:00
Maxime Coste
79883f6a51 make align tab-aware 2013-11-06 19:13:06 +00:00
Maxime Coste
7495d04a47 Add support for -itersel option in exec/eval
-itersel makes a -draft eval/exec run once for each selections
separately rather than with all selections at a time.
2013-11-05 23:50:44 +00:00
Maxime Coste
02312fe5ff Allow to ommit the catch part in the try command 2013-11-04 22:02:44 +00:00
Maxime Coste
471aeaab9a remove filters, use hooks instead 2013-11-04 22:02:44 +00:00
Maxime Coste
3e1bb777ce Add automatic completion display in prompt mode
Controlled by the autoshowcompl option
Completers now take a CompletionFlag parameter, used to specify
we want fast completion (tag completion can be slow, we do not
want to run it if not explicitely wanted by the user).
2013-11-04 21:59:28 +00:00
Maxime Coste
feff965ac6 Remove setg/setb/setw and use set <scope>
(with scope a prefix of global,buffer or window)
2013-10-30 09:38:40 +00:00
Maxime Coste
90d499b94d Add a WinClose hook 2013-10-26 18:51:25 +01:00
Maxime Coste
6093c43e40 update README, TODO and keymap 2013-10-26 00:51:19 +01:00
Maxime Coste
608196f526 Fix indent code, support indentwidth=0 for using tabs 2013-10-14 13:47:43 +01:00
Maxime Coste
d1159be19c Use { and } for extending selection to object start/end 2013-10-11 09:58:35 +01:00
Maxime Coste
6e5ff644f2 add <a-R> for rotating selections content 2013-10-02 19:10:43 +01:00
Maxime Coste
6331fb5a61 Add <c-s> for saving current selection in the jump list 2013-10-02 18:49:06 +01:00
Maxime Coste
b1d62a307d Add a -d command line option for running Kakoune as a headless server 2013-09-19 20:09:53 +01:00
Maxime Coste
03fed5f6e2 update README 2013-09-19 19:54:17 +01:00
Maxime Coste
c05f9f31dd add support for explicit insert mode completion using C-x prefix 2013-08-04 19:34:08 +02:00
Maxime Coste
ca7744e71b update README 2013-07-27 03:06:23 +02:00
Maxime Coste
8fa6f653a3 document options in the README 2013-07-24 23:16:32 +02:00
Maxime Coste
62fdacb757 Add scroll left/right support 2013-07-24 01:38:30 +02:00
Maxime Coste
c58bab0f66 Add indent object type (bound to i) 2013-07-23 19:12:53 +01:00
Maxime Coste
90b92aed3c add support for tolower (), toupper (~), and swap case become alt- 2013-07-12 13:55:48 +01:00
Maxime Coste
b1f31d2e12 change string parsing behaviour in command manager
* single and doubly quoted strings correctly remove the \ when their
delimiter is quoted ('\'' is interpreted as ', not \')

* %{} strings do not support quoting when using matching pairs, so
  %{\} is interpreted as \, however when using same ending character
  as delimiter quoting still works: %~\~~ is interpreted as ~.
2013-06-27 19:07:26 +01:00
Maxime Coste
3e9439ac9f restore compilation with gcc 4.7 2013-06-18 21:44:00 +02:00
Maxime Coste
f4633c11da README: gcc 4.8 is needed 2013-05-24 18:42:43 +02:00
Maxime Coste
7054dcea8e update README 2013-05-15 18:47:58 +02:00
Maxime Coste
b69c9ea753 add paragraph (p) object 2013-04-30 14:29:18 +02:00
Maxime Coste
4bb3863f95 add sentence (s) object 2013-04-30 14:21:48 +02:00
Maxime Coste
6913510e67 use alt-J for joining and selecting the spaces replacing line breaks 2013-04-23 18:54:31 +02:00
Maxime Coste
681f30dd28 support renaming buffers
Changing buffer name allows to save a *make* or *grep* buffer when
launching another one for exemple.
2013-04-22 13:49:07 +02:00
Maxime Coste
38bd8c243f add KakBegin and KakEnd hooks 2013-04-19 13:45:44 +02:00
Maxime Coste
d29f44e493 update README 2013-04-18 19:12:41 +02:00
Maxime Coste
d3961768ec add alt-X for trimming non full lines 2013-04-16 14:30:11 +02:00
Maxime Coste
5b50b32e68 move view commands to v prefix instead of z 2013-04-16 13:54:04 +02:00
Maxime Coste
46deca4f3f Add zj and zk command for scrolling the window 2013-04-12 01:31:21 +02:00
Maxime Coste
2468a119fe update README 2013-04-11 21:15:54 +02:00
Maxime Coste
1398641d22 Add gt, gb and gc to goto the first/last/middle displayed line 2013-04-10 19:02:28 +02:00
Maxime Coste
6e2fa38c15 InputHandler::prompt takes a color pair to use 2013-04-04 19:09:19 +02:00
Maxime Coste
f540566b1b UserInterface: status line messages are now DisplayLines
This add color support for the status line
2013-04-04 18:50:00 +02:00
Maxime Coste
1822b81d58 pass a color pair when displaying an information window 2013-04-04 14:04:38 +02:00
Maxime Coste
b58f614f40 Pass a fg and bg color when displaying a menu 2013-04-04 14:04:38 +02:00
Maxime Coste
d56f6444b5 Add alt-[kK] for keeping only selections matching/not matching a given regex 2013-04-03 19:07:43 +02:00
Maxime Coste
07f3bbe523 add alt-* for not smart set search pattern to selection 2013-04-02 18:46:33 +02:00
Maxime Coste
136f1a6284 README: document color aliases 2013-04-01 15:55:33 +02:00
Maxime Coste
38a46a6682 add WinDisplay hook 2013-03-22 13:41:48 +01:00
Maxime Coste
60599917cc add a kak_selections env var, which contains all selections separated by a comma 2013-03-21 19:10:18 +01:00
Maxime Coste
bb3ae4ed04 Update README, add hooks list 2013-03-20 19:11:58 +01:00
Maxime Coste
2de0d0fccf add a reg command to set a register 2013-03-18 22:44:39 +01:00
Maxime Coste
5fe7315df9 add 'r' object alias for [] (range) 2013-03-18 22:31:05 +01:00
Maxime Coste
c800a91692 README: add clang.kak doc 2013-03-15 00:52:07 +01:00
Maxime Coste
5dc2ba9267 update README 2013-03-14 14:11:06 +01:00
Maxime Coste
5c74f98757 Use S for regex splitting, and alt-s for line splitting 2013-02-22 18:37:34 +01:00
Maxime Coste
18aac3d4e8 Add '*' binding, which (smart) copy current selection to search pattern 2013-02-19 19:04:09 +01:00
Maxime Coste
8c8d46ae5f update README 2013-02-07 13:35:51 +01:00
Maxime Coste
84ea452ed2 info command take a -anchor <pos> instead of -inline params 2013-01-29 18:56:14 +01:00
Maxime Coste
4fc598cd48 README: add info on command line switches and update env vars docs 2013-01-07 14:25:19 +01:00
Maxime Coste
b5418c94ca README: document 'make userconfig' 2013-01-04 18:32:26 +01:00
Maxime Coste
5939eb219f add client.kak providing 'new' command for opening a new client
Autodetect tmux, use tmux if we are in a tmux session, else fallback to
urxvt.
2013-01-04 18:31:37 +01:00
Maxime Coste
feef062344 fix asciidoc markup in README 2013-01-03 18:58:41 +01:00
Maxime Coste
08fd946c07 Add a nop command to avoid accidental shell output evaluation 2013-01-03 18:52:07 +01:00
Maxime Coste
af90db8330 Update README 2013-01-03 14:01:48 +01:00
Maxime Coste
437255bcbc update README and VIMTOKAK 2012-11-12 19:41:50 +01:00
Maxime Coste
478581cc46 update README 2012-11-09 18:30:24 +01:00
Maxime Coste
878a377673 update README 2012-10-16 18:53:05 +02:00
Maxime Coste
f6d2533cae rework fifo handling, use real fifos in {make,grep}.kak, update README 2012-09-12 19:54:46 +02:00
Maxime Coste
a7e807f773 README: better use of asciidoc features 2012-09-12 19:28:38 +02:00
Maxime Coste
7c039585a4 add -file-completion option to def command and document in README 2012-09-12 14:21:42 +02:00
Maxime Coste
f89636a182 README: document kakrc and ~/.config/kak 2012-09-12 14:21:08 +02:00
Maxime Coste
9664ce5f89 update README 2012-09-11 13:54:43 +02:00
Maxime Coste
25899f33cd README: document register and option expansion 2012-08-11 12:22:21 +02:00
Maxime Coste
46b8964bbb Update README
* Document commands, string syntax, shell expansion.
 * Style cleanup
2012-08-08 00:11:36 +02:00
Maxime Coste
83f948592b README: gcc-4.7 is requiered now 2012-08-05 13:09:08 +02:00
Maxime Coste
77d3f4d5b1 update README 2012-06-15 14:24:09 +02:00
Maxime Coste
bffff5c518 Update README 2012-05-29 11:32:29 +00:00
Maxime Coste
ebe945f344 update README 2012-05-04 04:34:48 +00:00
Maxime Coste
1ef476ed4d update README 2012-02-10 14:18:17 +00:00
Maxime Coste
e386c49868 README: update 2012-01-25 21:26:41 +00:00
Maxime Coste
ee7bc9ddc0 README: update 2011-12-28 19:09:54 +00:00
Maxime Coste
f93d3d59e8 README: fix whitespaces 2011-12-28 19:04:57 +00:00
Maxime Coste
5821995054 README: document filters 2011-12-02 14:30:10 +00:00
Maxime Coste
0859b20bcf Rename Filter to Highlighter to be more explicit 2011-11-29 22:37:20 +00:00
Maxime Coste
a2dfcc232c README: document hooks 2011-11-26 19:19:08 +00:00
Maxime Coste
2f8f71db67 README: various updates 2011-11-22 14:32:05 +00:00
Maxime Coste
e34c5ef15f README: document spliting 2011-11-21 19:35:02 +00:00
Maxime Coste
e7cf55c965 README: document captures 2011-11-16 20:05:51 +00:00
Maxime Coste
b82631aa3d README: document multiselection 2011-11-16 14:15:40 +00:00
Maxime Coste
9bba47bd30 README: update filter section 2011-11-10 14:30:10 +00:00
Maxime Coste
f9c11c9544 README: document filters 2011-11-08 14:30:10 +00:00
Maxime Coste
06fdacf1c8 README: fix formatting 2011-11-04 14:28:29 +00:00
Maxime Coste
2eb008b6ca README: added building instructions 2011-11-04 14:05:05 +00:00
Maxime Coste
34dea5ebcd Add a README.asciidoc 2011-11-04 09:09:27 +00:00