Commit Graph

7484 Commits

Author SHA1 Message Date
Maxime Coste
11c62e583c Add -p <session> option to kak, which forward commands on stdin to session
This allows using directly the kak binary in place of socat for piping commands
to a foreing session.
2014-03-02 02:01:09 +00:00
Maxime Coste
e9442ea307 Rename connect_to's pid parameter to session 2014-03-02 02:00:13 +00:00
Maxime Coste
1764ce0bdc Add docstrings to some commands 2014-03-02 01:08:12 +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
15223cba1e tweak docstring 2014-03-02 01:08:11 +00:00
Maxime Coste
8aaeaa3187 Declare commands in a CommandDesc structure 2014-03-02 01:08:11 +00:00
Maxime Coste
8ac19edf67 Add a docstring to commands 2014-03-02 01:08:11 +00:00
Maxime Coste
e6f5b3c038 Display command info only when the autoinfo option is true 2014-03-02 01:08:11 +00:00
Maxime Coste
486d1269e0 Consistently name -foo things 'switches' 2014-03-02 01:08:11 +00:00
Maxime Coste
9451782648 Add command switches information, and automatically display it 2014-03-02 01:08:11 +00:00
Maxime Coste
7f9f887b4a All commands now take directly a parameter parser
The command parameters description are now stored in a ParameterDesc
structure.
2014-03-02 01:08:11 +00:00
Maxime Coste
92c425ad52 Replace remaining $kak_bufname with more correct $kak_buffile 2014-03-02 01:07:29 +00:00
Maxime Coste
02760394ba update keymap 2014-03-02 01:06:27 +00:00
Maxime Coste
ffe4ea4722 git-tools.kak uses $kak_buffile rather than $kak_bufname 2014-03-02 01:06:20 +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
6585000b66 Use proper buffer filename rather than name in mime.kak 2014-02-27 06:44:28 +00:00
Maxime Coste
c49e79c9e8 Add buffile env var for getting the buffer filename 2014-02-27 06:44:22 +00:00
Maxime Coste
aceee75ed9 Tolerate invalid %...{} when completing 2014-02-27 06:44:14 +00:00
Maxime Coste
b0c2906890 kakrc highlighting: strings closing delimiters do not need to be followed by a whitespace 2014-02-25 01:10:47 +00:00
Maxime Coste
6d651c59d0 regionref highlighter just ignore invalid references
fixes #68
2014-02-25 00:19:31 +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
Maxime Coste
14f91e7132 Use a scoped edition when pasting 2014-02-12 00:03:01 +00:00
Maxime Coste
410932330c EventManager now wakes up for next timer rather than running a 10Hz 2014-02-12 00:03:01 +00:00
Maxime Coste
938f66badd Check for buffer external change when entering insert mode 2014-02-12 00:03:00 +00:00
Maxime Coste
d2a1c5ce46 Prompt handles scrolling in the line being edited 2014-02-12 00:03:00 +00:00
Maxime Coste
209a4a3ddf ClientManager: use lifo behaviour for free windows 2014-02-12 00:03:00 +00:00
Maxime Coste
cdcdd41328 Merge pull request #57 from nojhan/master
More precises requirements in the README
2014-02-10 08:10:21 +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
22f2f68d58 Fix LineChangeWatcher behaviour when inserting at buffer end 2014-01-28 19:07:36 +00:00
Maxime Coste
5b3233184e update README 2014-01-28 19:06:52 +00:00
Maxime Coste
2159fc9563 Rename selections first,last to more explicit anchor,cursor 2014-01-28 19:06:52 +00:00
Maxime Coste
dbd194cea8 Fix autoinfo for angle bracket object 2014-01-27 21:11:45 +00:00
Maxime Coste
bfac1f70c3 Kakoune does not compile on gcc 4.7 anymore 2014-01-27 20:29:49 +00:00
Maxime Coste
e364137196 Fix compilation with clang 3.4 2014-01-27 20:28:38 +00:00
Maxime Coste
2dd4761f89 remove unused Singleton::delete_instance 2014-01-27 19:53:33 +00:00
Maxime Coste
a6d14cecbe Remove session socket on error signal 2014-01-27 19:53:17 +00:00
Maxime Coste
bbf48e1d39 Honor incsearch option for select/split/keep
fixes #37
2014-01-27 19:51:58 +00:00
Maxime Coste
37b4eacdc8 Rework command completion to allow partial token completion
Implement hook completion.

fixes #44
2014-01-27 19:51:58 +00:00
Maxime Coste
00c1523c6e fix clang auto completion at eol 2014-01-27 19:51:58 +00:00
Maxime Coste
a32cac2f66 update gdbinit 2014-01-27 19:51:58 +00:00
Maxime Coste
a55e152eee cpp.kak: re-enable region highliting for comments and strings 2014-01-27 19:51:58 +00:00
Maxime Coste
ad818853a2 WordDB now uses a LineChangeWatcher based implementation 2014-01-27 19:51:58 +00:00
Maxime Coste
a96b2d3cd2 Rework regions highlighter, refactor and extract line tracking 2014-01-27 19:51:58 +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
cccb07c7cd Catch parameter errors on startup and display option informations 2014-01-23 19:36:07 +00:00
Maxime Coste
c0bc7b6644 write_debug: fallback to stderr if the BufferManager does not exists yet
fixes #40
2014-01-23 19:21:00 +00:00
Maxime Coste
a2ecca8d8b Region highlighters are still bugged, disable regions for cpp highlight 2014-01-22 23:32:56 +00:00