Maxime Coste
21da24235a
Small style tweak
2017-06-07 11:40:13 +01:00
Maxime Coste
5a5d2ad7cb
noexcept-ify utf8::iterator methods
2017-06-07 10:58:49 +01:00
Maxime Coste
cb6ef4afb6
noexept-ify BufferIterator methods
2017-06-07 10:58:01 +01:00
Maxime Coste
502c5da0e9
Fix useles copy of hook_func in HookManager::add_hook parameter
2017-06-07 09:54:58 +01:00
Maxime Coste
295fa5b27d
Use String default ctor instead of empty string
2017-06-07 09:54:11 +01:00
Maxime Coste
a5e7b6a22f
Use a vector instead of a hash map to store hooks
2017-06-07 09:46:05 +01:00
Maxime Coste
fd00e1f9ae
Merge remote-tracking branch 'Delapouite/underscore'
2017-06-07 07:48:57 +01:00
Maxime Coste
d214969d5b
Merge remote-tracking branch 'Delapouite/buf_line_count'
2017-06-07 07:48:32 +01:00
Maxime Coste
9cb9e77dc2
Merge remote-tracking branch 'Delapouite/view-count'
2017-06-07 07:45:53 +01:00
Delapouite
09daaa8b3a
Expose kak_buf_line_count
2017-06-06 14:29:06 +02:00
Delapouite
2f84051efb
Add underscore char as a valid punctuation for text-object pairs
2017-06-06 12:04:53 +02:00
Delapouite
b4af4994fb
Remember previous NormalParams::count in view-lock mode
2017-06-06 09:52:02 +02:00
Maxime Coste
36364d5f6b
Fix spurious copies being made when using the format function
...
We were not correctly forwarding the arguments, leading to copies of
'const String&' parameters.
2017-06-06 08:50:51 +01:00
Maxime Coste
73ecbdbc97
Log errors written to the status line inside the debug buffer as well
...
Fixes #1410
2017-06-04 08:48:23 +01:00
Maxime Coste
261e0fabcc
Improve readability of command docstrings by changing formatting
...
Fixes #1378
2017-06-04 08:37:51 +01:00
Maxime Coste
6101138606
Change RankedMatch ordering to favor /
characters
...
This will improve matching of filenames, as 'foo/' will be sorted
before 'foo-bar' due to `/` coming before `-` in the new ordering
(it comes after in ascii/unicode order).
Fixes #1395
2017-06-04 08:27:53 +01:00
Maxime Coste
96813ee824
Document the *
behaviour change in the startup message
2017-06-03 18:17:44 +01:00
Maxime Coste
c1e4b4ff79
Strip surrounding whitespaces in *
...
Fixes #1406
2017-06-03 18:16:40 +01:00
Maxime Coste
8dc9f8cc22
Support option_add for HashMap options
...
Fixes #1407
2017-06-03 18:01:38 +01:00
Maxime Coste
6906e6924b
Merge remote-tracking branch 'occivink/ignore-debug'
2017-06-03 15:26:51 +01:00
Maxime Coste
a313dab90f
Merge remote-tracking branch 'Delapouite/include'
2017-06-03 14:46:03 +01:00
Maxime Coste
c440bbde81
Merge remote-tracking branch 'Delapouite/shift-modes'
2017-06-03 14:45:48 +01:00
Maxime Coste
58dfd76dca
Small formatting fix
2017-06-03 14:02:43 +01:00
Maxime Coste
0e88a9695a
Add support for more selection combining operations
...
Change append to 'a', add select longest/shortest, union and
intersection.
2017-06-03 13:45:59 +01:00
Delapouite
e8707298c1
Refine info titles to distinguish G and V modes
2017-05-31 19:57:56 +02:00
Delapouite
ccecc2b7cf
fix: remove duplicate include to containers.hh in face_registry.cc
2017-05-30 20:01:31 +02:00
Maxime Coste
f6e00ff00f
Merge remote-tracking branch 'Delapouite/typo'
2017-05-29 10:20:21 +01:00
Maxime Coste
b030088d60
Re-hide hardware cursor, seems its causing troubles with various terminal emulator
2017-05-29 10:02:18 +01:00
Maxime Coste
62def0f4df
Tweak alias command docstring not to end up with an eol
2017-05-28 19:58:24 +01:00
Maxime Coste
76d3425bf9
Change ncurses_ui info box generation logic to use a Vector<String>
...
We were generating a string, then splitting it into lines, there is
no need for that, we can directly generate a vector of lines and
simplify the code.
2017-05-28 19:58:18 +01:00
Olivier Perret
9697f61b0d
Exclude debug from eval/exec over all buffers
2017-05-27 23:44:53 +02:00
Delapouite
c9c868d4de
Fix typos in info-box: availabe, encodngs, highglighters…
2017-05-27 22:37:25 +02:00
Maxime Coste
e97f23f2be
Use more precise wording for object selection info box
2017-05-27 09:29:51 +01:00
Maxime Coste
bc92633ddd
Put the doc/manpages/ pages in the 'k' section
2017-05-27 07:35:13 +01:00
Maxime Coste
72acb0177d
Parse meta as 8 bit in Normal mode to fix the terminals using that
...
The solution is a bit hackish, as we only consider the 8th bit to
mean alt in normal mode, because its unlikely accentuated characters
are going to be mapped there. It fixes using Alt on xterm, and
probably on iterm2 as well (not requiring the meta-sends-esc config
change anymore)
2017-05-27 06:18:39 +01:00
Maxime Coste
b9080d8b2c
Document line-flags -> line-specs and update-option in breaking changes
2017-05-27 06:18:02 +01:00
Maxime Coste
f57e72ab4a
Small code tweak
2017-05-27 06:17:44 +01:00
Maxime Coste
f2c0ee62ce
Remove unneeded explicit conversion
2017-05-26 09:51:32 +01:00
Maxime Coste
57ef592f57
Remove unused and potentially error prone constructor from ArrayView
...
Add as well a SFINAE check to the vector constructor to avoid constructing
an array_view from derived types with a different size.
2017-05-26 09:25:25 +01:00
Maxime Coste
2307cf500c
Small formatting tweak
2017-05-26 08:38:12 +01:00
Maxime Coste
11f924c528
Use a ScopedSetBool instead of manual set/unset for InputModes::Normal::m_in_on_key
2017-05-26 08:28:34 +01:00
Maxime Coste
5a93159012
Small code style tweak
2017-05-26 08:19:35 +01:00
Maxime Coste
b1bb9d0cb2
Small documentation tweak in display_buffer.hh
2017-05-26 08:00:15 +01:00
Maxime Coste
6e389512f5
Modernize the way we compute memory domains from type
...
Use a constexpr function instead of a template type
2017-05-26 07:59:18 +01:00
Maxime Coste
83d85df26e
Add an update-option command to update range-descs/line-descs options
...
update-option will make the range-descs and line-descs option up to
date with the latest buffer modfications, changing the ranges/lines
to where they moved according the modifications since the timestamp
on the option.
2017-05-25 19:54:08 +01:00
Maxime Coste
f014eb7052
Fix command parsing bug when commenting after a command
...
When a comment was present directly on the same line after a command,
we did not correctly see the command as terminated and would join
continue parsing the next line.
2017-05-25 08:30:49 +01:00
Maxime Coste
c4db46b58b
Rename line-flags option type to line-specs
...
Generalize this option type, which is a timestamped list of
<line number>|<arbitrary string>. That way this type is not strongly
coupled with the flag-lines highlighter, and can be reused for other
use cases.
2017-05-24 15:41:43 +01:00
Maxime Coste
074666d298
Small code tweak
2017-05-24 15:40:16 +01:00
Maxime Coste
119a5b8442
Fix hardware cursor positioning in prompt when status bar is on bottom
2017-05-24 15:20:23 +01:00
Maxime Coste
720e567ac2
Remove unneeded forward declaration
2017-05-23 19:11:13 +01:00