Commit Graph

9968 Commits

Author SHA1 Message Date
Alex Leferry 2
207bb7e389 string and comment do not require white space before 2014-07-07 22:35:32 +02:00
Alex Leferry 2
0b16ca3e5e add rc/json.kak 2014-07-07 16:24:14 +01:00
Maxime Coste
7726db0799 NCurses: change scroll bar characters 2014-07-05 19:18:59 +01:00
Maxime Coste
fc7f017372 Remove 'ReplaceMain' select mode 2014-07-05 12:37:49 +01:00
Maxime Coste
a61db7ef5e Merge remote-tracking branch 'alexherbo2/previous-match' 2014-07-05 12:36:35 +01:00
Maxime Coste
f69df6560d Merge remote-tracking branch 'alexherbo2/termite-termcmd-option' 2014-07-05 12:30:57 +01:00
Maxime Coste
63b2326906 Document space and ';' changes in README 2014-07-05 12:10:06 +01:00
Maxime Coste
9439d28028 More consistent <space> and <a-space> behaviour
<space> and <a-space> without count now remove all except/keep
main selection. Without reducing main selection to cursor.

Reduce to cursor is moved to ';' and flip selections to <a-;>
2014-07-05 12:10:06 +01:00
Maxime Coste
60bf540ee6 NCurses: better support for 256 color terminals that cannot change colors 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
8795efdf19 Minor style cleanup 2014-07-05 12:10:06 +01:00
Maxime Coste
12ecffd361 Improve colalias documentation in README 2014-07-05 12:10:06 +01:00
Maxime Coste
ed68d1ff28 utf8: use end of sequence iterators for more security 2014-07-05 12:10:06 +01:00
Maxime Coste
3f70d91f8c Use unsigned char rather than char in utf8 decoding to avoid sign extension 2014-07-05 12:10:06 +01:00
Maxime Coste
70db72b175 Merge pull request #183 from alexherbo2/fish-rc
fish.kak: do not use shell expansion for highlighting
2014-07-05 11:37:55 +01:00
Alex Leferry 2
83592f5285 fish.kak: do not use shell expansion for highlighting 2014-07-05 01:00:43 +02:00
Alex Leferry 2
a8ae1d7250 client.kak: add termite in termcmd option 2014-07-04 15:43:54 +02:00
Alex Leferry 2
a73bb330ea client.kak: allow granular terminal ordering in termcmd option 2014-07-04 15:41:49 +02:00
Maxime Coste
6a1c98d04a Merge pull request #179 from alexherbo2/fish-rc
fish.kak: code maintenance
2014-07-04 00:45:07 +01:00
Alex Leferry 2
0fcdbfbdd9 indent_on_char: deindent on (else|end) command insertion 2014-07-03 17:51:35 +02:00
Alex Leferry 2
1a84ca46f6 indent_on_new_line: indent after (case|else) commands 2014-07-03 17:47:11 +02:00
Alex Leferry 2
1bcec582d3 indent_on_new_line: handle 'else if' command 2014-07-03 17:20:20 +02: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
Alex Leferry 2
46d086fbbc rename clean_around_selections command to filter_around_selections 2014-07-03 01:33:06 +02:00
Alex Leferry 2
e621814a78 clean_around_selections: select full lines before filtering 2014-07-03 01:17:37 +02:00
Maxime Coste
a91a277fba Merge pull request #178 from alexherbo2/fish-rc
add rc/fish.kak
2014-07-02 23:51:38 +01:00
Alex Leferry 2
9c9d56abf7 add rc/fish.kak 2014-07-03 00:31:55 +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
Maxime Coste
d69664f401 Add :waq for write all an quit, with slight refactoring
Fixes #175
2014-07-01 20:38:55 +01:00
Maxime Coste
1b12c38dc1 Merge pull request #176 from alexherbo2/fix-goto-commands-documentation
fix goto commands documention in README
2014-07-01 09:44:46 +01:00
Maxime Coste
ffe8143cc7 Accept upper case macro names, convert them to lower case 2014-07-01 08:48:52 +01:00
Maxime Coste
b18db68c8a Fix spurious eol appearing in non scrolling fifo buffers 2014-06-30 18:56:18 +01:00
Alex Leferry 2
d20d43bf36 add testing framework 2014-06-30 12:22:50 +02:00
Alex Leferry 2
a292a23de1 fix goto commands documention in README 2014-06-30 10:14:27 +02:00
Maxime Coste
d6bb5b5a4b Canonicalize filenames when checking if a buffer was written to its file 2014-06-29 22:03:59 +01:00
Alex Leferry 2
243edcd37d document :writeall command in README 2014-06-29 22:48:15 +02:00
Maxime Coste
7aa78d726a fix potential infinite loop in show_matching highlighter 2014-06-27 21:10:09 +01:00
Maxime Coste
df3bf7445d Replace boost::optional with our own implementation 2014-06-27 21:10:09 +01:00
Maxime Coste
a8148d496f Add :next and :prev for cycling though grep results 2014-06-26 19:02:03 +01:00
Maxime Coste
63878b03c5 Style fixes 2014-06-26 19:01:39 +01:00
Maxime Coste
047488a8da Fix recursive string parsing, correct handling of escapes 2014-06-26 18:59:41 +01:00
Maxime Coste
5b27b956ad Rename utf8::utf8_iterator to utf8::iterator 2014-06-24 19:10:57 +01:00
Maxime Coste
b934c8ede5 Fix crash in Context::main_sel_register_value 2014-06-23 13:16:51 +01:00
Maxime Coste
352228c3b0 update keymap 2014-06-22 12:07:51 +01:00
Maxime Coste
261e3880d2 Add a CONTRIBUTING document 2014-06-22 11:26:38 +01:00
Maxime Coste
df4983b6d4 Do not try to reload buffer if the buffer was deleted
Fixes #121
2014-06-22 11:09:44 +01:00
Maxime Coste
b89b7c754f Add \ in normal mode to disable user hooks on next normal command
Fixes #112
2014-06-21 22:06:02 +01:00
Maxime Coste
edd883ad18 Only user hooks can be disabled 2014-06-21 12:08:19 +01:00
Maxime Coste
7235180614 Use main selection index as default when accessing only one register value
Fixes #117
2014-06-21 11:31:08 +01:00
Maxime Coste
e202b7af50 Add a line_option highlighter that highlight the line stored in an int option
Use it to highlight the current error in the *make* buffer
2014-06-18 20:50:39 +01:00