Maxime Coste
cc2affea11
Always allow to delete a buffer, just recreate a scratch buffer if needed
...
Fixes #850
2016-10-13 21:37:44 +01:00
Maxime Coste
5af29b0254
Fix python comment copy logic in python.kak
...
And introduce the first unit test that sources bundled support
scripts.
Fixes #860
2016-10-13 20:13:05 +01:00
Maxime Coste
6bfc68d4f3
Rename DisplayAtom::Types to avoid conflicts with struct BufferRange
2016-10-13 19:55:15 +01:00
Maxime Coste
1f3e424047
Do not expand filenames when doing insert filename completion
...
Fixes #855
2016-10-13 19:46:09 +01:00
Frank LENORMAND
8b133e32d6
Add a dedicated documentation page about scopes
...
Information related to scopes have also been modified in other documentation
pages.
2016-10-13 11:55:09 +03:00
Maxime Coste
ee5c246861
Merge remote-tracking branch 'lenormf/fix-flake8'
2016-10-13 00:20:10 +01:00
Maxime Coste
e7f41b2dda
Merge remote-tracking branch 'casimir/golang-rename'
2016-10-13 00:19:45 +01:00
Maxime Coste
e384e7263c
Use CPPFLAGS instead of CXXFLAGS for the _XOPEN_SOURCE define
2016-10-13 00:19:27 +01:00
Frank LENORMAND
8b5cf3feb0
Add a missing then
keyword to an if
statement
2016-10-12 15:35:25 +03:00
Frank LENORMAND
70fd03679b
Add a warning about setting $TERM
manually, fix some typos
2016-10-12 09:36:42 +03:00
Frank LENORMAND
b0d8e1a230
Answer the pager question in the FAQ document
2016-10-11 14:40:20 +03:00
Frank LENORMAND
f7e2bfd76f
Document the optional parameter of the cd
command
2016-10-11 10:39:20 +03:00
Frank LENORMAND
f6a2925950
Fix, complete and add docstring documentation to builtin commands
...
Level out the builtin commands loaded at startup in terms of format and
expressiveness. The following convention was followed:
* commands that take more than one argument have to be described along
with their parameters prior to the actual documentation, otherwise the
docstring consists in a capitalized sentence
e.g. `command <arg1>: do something`
* optional arguments are enclosed in square brackets, to comply with the
format used for hardcoded commands
e.g. `cd [<directory>]`
* describe the effects of the command in the documentation string and
omit implementation details unless they are relevant. Usually command
names include the name of the tool they use, so they don't need to be
redundantly mentioned
e.g. `tmux-new-pane <arguments>: open a new pane`
* document the format the parameters to the commands, or list them if
they are to be chosen among a list of static values (c.f. `spell.kak`)
2016-10-11 10:26:17 +03:00
Maxime Coste
5440d31f99
Only create a default *scratch* when we dont have any non debug buffers
...
Fixes #852
Closes #856
2016-10-11 00:45:05 +01:00
Maxime Coste
780a4605fa
More transform(...) filter cleanup using mem_fn when possible
2016-10-11 00:32:40 +01:00
Maxime Coste
8b6eba8208
Add support for repeating the last object/char find command
...
This is a potential solution for #794 .
2016-10-11 00:20:36 +01:00
Maxime Coste
f6cdc2eee5
Use std::begin/std::end in containers.hh instead of the method version
2016-10-11 00:17:00 +01:00
Maxime Coste
025b91baca
Convert some uses of lambda to more concise std::mem_fn
2016-10-10 23:44:18 +01:00
Maxime Coste
bc9d1b4dac
Small formatting fixup
2016-10-10 23:20:05 +01:00
Maxime Coste
0d2bb4756b
Fix register alternate name doc and dash -> hash for '#'
2016-10-10 23:19:57 +01:00
Maxime Coste
10681f4809
Merge remote-tracking branch 'Delapouite/typo'
2016-10-09 23:30:00 +01:00
Maxime Coste
314108e539
Document register alternate names and add some missing ones
...
Fixes #853
2016-10-09 23:27:52 +01:00
Martin Chaine
3b6cafd692
Renamed dlang to d
2016-10-09 11:57:55 +02:00
Martin Chaine
e14804fada
Renamed golang to go
2016-10-08 21:42:43 +02:00
Maxime Coste
d89959dfa8
autorestore.kak: more tweaks, a WIP version was pushed by error
2016-10-07 08:57:45 +01:00
Maxime Coste
f904402486
Handle all available keys when a RemoteClient input is available
...
We were just treating the next key. Which led to <esc> byte
remaining after suspend, that led that <esc> being interpretted
as <alt> when the following key got available.
Fixes #739
2016-10-06 23:47:44 +01:00
Maxime Coste
006be63a32
Ensure local client is destroyed before we fork the server to background
...
The recent change that introduced defered client deletion made the local
client destruction happens too late, putting the terminal in a bad state
when we resumed the process as client only.
2016-10-06 23:35:32 +01:00
Maxime Coste
5dd47e9c33
Preserve shell context through eval command
...
Fixes #835
2016-10-06 23:22:39 +01:00
Maxime Coste
1970cb68c9
Refactor autorestore.kak to make it faster
2016-10-06 22:35:07 +01:00
Delapouite
acafe5f0b9
Fix typo horzontally → horizontally
2016-10-06 16:13:40 +02:00
Maxime Coste
35a6d4916e
Fix :doc completion candidates, they do not depend on the current word
...
Fixes #845
2016-10-06 13:38:49 +01:00
Maxime Coste
f67d5076c4
Tweak spell.kak, embrace printf and refactor a bit
2016-10-06 13:32:51 +01:00
Maxime Coste
92b4046ba8
Merge remote-tracking branch 'lenormf/fix-spell'
2016-10-06 09:27:50 +01:00
Maxime Coste
9078039326
Fix select_to_previous_word with spaces at buffer start
...
Fixes #844
2016-10-05 23:42:36 +01:00
Maxime Coste
8579e299da
Fix custom text object
2016-10-05 09:36:39 +01:00
Frank LENORMAND
273455ecc8
Fix non POSIX instructions, print errors when they occur
2016-10-05 07:56:40 +03:00
Maxime Coste
f81b8c137b
Replace non ascii chars with ? in xterm title, and limit to 511 chars
...
Closes #839
2016-10-04 20:13:15 +01:00
Maxime Coste
d2a324d3c4
Treat '\n' as 1 column wide
...
Fixes #842
2016-10-04 19:37:43 +01:00
Maxime Coste
a00e40e151
Fix gdb pretty printers after rename of the coordinate types
2016-10-04 19:37:21 +01:00
Maxime Coste
40fb56c87a
Small code cleanup
2016-10-04 19:37:17 +01:00
Maxime Coste
620fc28ea6
Add "(extend)" to search prompts when we are extending the selection
...
Fixes #832
2016-10-04 13:18:03 +01:00
Maxime Coste
8a4cf85e22
Use eval -no-hooks when writing the buffer in a tmp file for scripting purposes
2016-10-03 20:29:54 +01:00
Maxime Coste
9e12ac327b
Refactor hook disabling in normal mode
...
Normal mode takes care of keeping hooks disabled until nested modes
finishes.
Requiered form #818 , not sufficient yet.
2016-10-03 20:02:37 +01:00
Maxime Coste
a51d5a1046
Do not select the next word for inner word.
2016-10-03 20:01:37 +01:00
Maxime Coste
c7356c8e9c
Close write buffer file descriptor before getting the new fs timestamp
2016-10-03 20:00:36 +01:00
Maxime Coste
4addf65042
Merge remote-tracking branch 'alexherbo2/fish-rc'
2016-10-02 20:38:55 +01:00
Maxime Coste
4d6af15734
Merge remote-tracking branch 'lenormf/fix-autowrap'
2016-10-02 20:26:36 +01:00
Frank LENORMAND
a28f8f9577
Update the minimum version of gcc
required to build
2016-10-02 07:52:21 +03:00
Maxime Coste
ae50b3f089
Fix clojure hook
2016-10-02 00:02:52 +01:00
Maxime Coste
d50087eabe
Change BufWritePre/BufWritePost logic
...
Run them in client context if possible, and give them the target
filename instead of the buffer name.
Fixes #823
2016-10-01 23:51:53 +01:00