Maxime Coste
112bd156e4
Merge remote-tracking branch 'lenormf/fix-filter-backup-suffix'
2017-04-10 21:39:24 +01:00
Maxime Coste
c1c40a4b56
Remove some now unneeded uses of const String& params
...
HashMap supports finding String from StringView.
2017-04-10 21:33:20 +01:00
Maxime Coste
a4b82131e5
Add support for parsing multiple modifiers in keys
...
<ca-key> means control+alt key, <ac-key> works as well.
Fixes #1311
2017-04-10 21:19:56 +01:00
Maxime Coste
f6eea456d4
Merge remote-tracking branch 'lenormf/fix-help-flag'
2017-04-10 20:28:55 +01:00
Maxime Coste
1f74ca1a4f
Merge remote-tracking branch 'lenormf/fix-iterm2'
2017-04-10 20:24:48 +01:00
Frank LENORMAND
16068321c1
src: Support the -help
flag
...
This commit allows a help message to be printed when a `-help` flag is
passed to the editor, which will subsequently quit after a summary and a
description of all the flags available have been displayed.
The GNU convention (passing a single `--help` argument to the program)
is also supported, although undocumented.
The man page also now documents the `+:` argument, although unrelated to
the original changeset.
2017-04-10 22:23:30 +03:00
Frank LENORMAND
a244c10167
rc: Forward $TMPDIR to iterm
subprocesses
2017-04-10 22:17:59 +03:00
Maxime Coste
3d91313867
Merge remote-tracking branch 'lenormf/fix-readme'
2017-04-09 09:59:24 +01:00
Frank LENORMAND
1c53822068
doc: Fix the name of a now unexisting face
...
Closes #1317
2017-04-09 09:30:35 +03:00
Frank LENORMAND
b6d055a87b
rc: Export $TMPDIR to new tmux
processes
...
`tmux` will start new processes (e.g. when creating panes or windows)
with the same environment it was started with, which means that if the
$TMPDIR variable was overriden for the kakoune server from within
`tmux`, newly created panes/windows won't have access to the server
socket to sustain a session.
This commit fixes the issue by always exporting the $TMPDIR variable
from the parent `tmux` environment to the new processes.
Fixes #1319
2017-04-09 09:20:25 +03:00
Maxime Coste
79faae8546
Merge remote-tracking branch 'lenormf/remove-makedeb'
2017-04-06 15:46:42 +01:00
Maxime Coste
b84f2610ea
Merge remote-tracking branch 'alexherbo2/rc-ranger'
2017-04-06 15:46:32 +01:00
Maxime Coste
94145f2a89
ncurses: When hiding the menu, recompute the info position
2017-04-04 08:36:21 +01:00
Maxime Coste
6ad2f721dd
Do not disable autoinfo and autoshowcompl in non interactive context
...
Fixes #1303
Fixes #1152
2017-04-03 18:16:32 +01:00
Maxime Coste
f31e898f13
Change prompt completion to only update when idle
2017-04-03 18:11:09 +01:00
Alex Leferry 2
08c4fac07f
rc/ranger: use $kak_hook_param_capture_N
2017-04-01 22:46:31 +02: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
Frank LENORMAND
1b215bbcf7
contrib: Remove make_deb.bash
...
The `make_deb.bash` script has outlived its purpose, as package
maintainers start generating proper nightly package releases.
2017-03-28 23:19:53 +03:00
Maxime Coste
fa7f29a120
spell.kak: preserve spelling language from :spell in :spell-replace
2017-03-28 08:32:21 +01:00
Maxime Coste
ea156d95c8
Merge remote-tracking branch 'laelath/master'
2017-03-27 16:11:57 +01:00
Maxime Coste
5f4f8991e5
Merge remote-tracking branch 'lenormf/fix-makefile-distclean'
2017-03-27 15:51:05 +01:00
Frank LENORMAND
ce7673b7b7
src: Fix the distclean
Makefile target
...
Have the Makefile remove the actual binaries and generated documentation
when called with the `distclean` target
2017-03-26 10:49:17 +03:00
laelath
828e76fbea
Added gruvbox colorscheme
...
Based on the vim gruvbox colorscheme. I made it as close as possible to the
original vim colors, but had to make some changes due to kakoune's highlighting
scheme being different than vim's.
2017-03-24 14:11:05 -07:00
laelath
62444c0cfb
Justin Frank 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-03-24 14:09:35 -07:00
Maxime Coste
95e020ed77
Remove some unneeded type declarations in AliasRegistry
2017-03-24 20:13:18 +00:00
Frank LENORMAND
6b8587000b
src: Introduce a -i
suffix flag for filter backups
...
This commit allows the user to chose to backup the files on which a
filter has been run, by specifying a suffix for the backup file. The
former implementation always backed up the files with a hardcoded
".kak-bak" suffix.
When no suffix is specified on the command line, the files are not
saved.
Fixes #1288
2017-03-23 08:50:43 +03:00
Maxime Coste
ca17572301
Try to fix clang 3.5 compilation
2017-03-22 21:08:52 +00:00
Maxime Coste
777ba287e1
Merge faces in show_whitespaces highlighter instead of replacing it
2017-03-21 18:17:43 +00:00
Maxime Coste
8b1078e510
Use a HashMap to store the normal mode keymap
2017-03-16 23:40:38 +00:00
Maxime Coste
e44f95820e
Fixes some clang-tidy warning and add a few missing meta.hh include
2017-03-16 23:34:02 +00:00
Maxime Coste
5f7464d90d
Try to clean up option include a bit
2017-03-16 09:57:39 +00:00
Maxime Coste
7eaa058450
Move enum/flags option functions to option_types.hh
2017-03-15 18:28:32 +00:00
Maxime Coste
7d9f1df73a
Small code tweaks regarding flags handling
2017-03-15 18:25:59 +00:00
Maxime Coste
458dd2e9fa
Remove unneeded 'valid' helper template
2017-03-15 18:02:36 +00:00
Maxime Coste
db9b863222
Migrate WithBitOps template specialization to with_bit_ops function
...
This way we dont depend on knowing the base template to enable bit ops
on an enum type.
2017-03-15 18:00:58 +00:00
Maxime Coste
a49e175727
Migrate to a more value based meta programming model
...
Introduce Meta::Type<T> to store a type as value, and pass it
around, migrate enum_desc and option_type_name to this.
2017-03-15 17:42:02 +00:00
Maxime Coste
a88e58763b
Move SelectionList::set implementation out of the header
2017-03-15 16:51:55 +00:00
Maxime Coste
5705b6c6f9
The canonical name for the documentation command is :doc, not :help
2017-03-15 11:49:00 +00:00
Maxime Coste
2cc1333f6b
Add regression test for #1105
...
Fixes #1105
2017-03-15 11:47:10 +00:00
Frank LENORMAND
0acb350619
src: Make the cursor character an opening delimiter
...
This commit allows the editor to consider the character under the cursor
as an opening delimiter when using an object selector, instead of
ignoring it and looking for one before the cursor.
2017-03-15 14:39:40 +03:00
Frank LENORMAND
2aa5d3b016
src: Align the assistant in the middle of the popup
2017-03-14 19:06:09 +03:00
Dan Rosén
5a403a9611
Increase modelinefmt configuration power
2017-03-11 21:43:51 +01:00
Maxime Coste
b9317ba38c
Change lint.kak column display to put it at the end
2017-03-10 12:41:01 +00:00
Maxime Coste
e888dae787
Merge remote-tracking branch 'kurkale6ka/lint_cols'
2017-03-10 12:28:17 +00:00
Maxime Coste
b6b8f0dbc5
Merge remote-tracking branch 'kurkale6ka/colo_desertex'
2017-03-10 12:23:52 +00:00
Maxime Coste
34da4bf08b
Add dilbert in the ui_options doctring
2017-03-10 12:09:09 +00:00
Maxime Coste
564da076a6
Merge remote-tracking branch 'lenormf/assistant-dilbert'
2017-03-10 12:06:35 +00:00
Maxime Coste
3fb05ada86
Merge remote-tracking branch 'lenormf/doc-irc-badge'
2017-03-10 12:06:12 +00:00
Maxime Coste
0faa5567ca
Fix crash on non utf8 files trigering highlighting of backward ranges
...
Fixes #1274
2017-03-09 23:40:34 +00:00