Benno Schulenberg
d9cae81a0e
docs: mention the existence of the toggles in the man page
2016-10-22 17:27:15 +02:00
Benno Schulenberg
83ee1feda4
docs: add 'set linenumbers' and '--linenumbers' to the texinfo document
...
Also mention the corresponding toggle (M-#).
2016-10-22 17:06:50 +02:00
Benno Schulenberg
c7610ba356
docs: add 'linenumbers' and 'numbercolor' to the sample nanorc
2016-10-22 13:49:13 +02:00
Benno Schulenberg
de2aa4f24a
rcfile: add an option to customize the color of line numbers
2016-10-20 16:48:45 +02:00
Faissal Bensefia
de95ca68f7
new feature: the ability to show line numbers before the text
...
It can be activated with --linenumbers on the command line or with
'set linenumbers' in a nanorc file, and it can be toggled with M-#.
Signed-off-by: Faissal Bensefia <faissaloo@gmail.com>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2016-10-20 16:47:52 +02:00
Benno Schulenberg
815b326864
syntax: show another deprecated keyword (replace2) in red
2016-10-11 20:57:57 +02:00
Rishabh Dave
01bf034bb6
rcfile: reject rebindings that have no effect or have side effects
...
Also, show in green only the ^ and M- combinations that are valid.
This fixes https://savannah.gnu.org/bugs/?49097 .
Signed-off-by: Rishabh Dave <rishabhddave@gmail.com>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2016-10-11 19:46:18 +02:00
Benno Schulenberg
add0d698b7
syntax: show deprecated keywords in red, and 'wordchars' in green
2016-09-11 12:22:02 +02:00
Benno Schulenberg
b92d35d1f2
browser: add the option showcursor, to place the cursor on the highlight
...
This lets users of braille displays find the selected item immediately.
This fulfills a request by Enrico Mioso.
See https://lists.gnu.org/archive/html/nano-devel/2016-09/msg00025.html .
2016-09-11 09:41:52 +02:00
Benno Schulenberg
3ddf6ff955
syntax: make the contents of the X-Bugs field in a PO file stand out
2016-09-06 10:58:03 +02:00
Benno Schulenberg
d04c0b7555
docs: refresh some info in the FAQ
2016-09-03 21:46:22 +02:00
Benno Schulenberg
f13707fd1d
history: slate the search-history migration for removal
2016-09-03 21:04:17 +02:00
Benno Schulenberg
ed9e5d7183
docs: mark some rebindable function names as deprecated
2016-09-03 20:12:29 +02:00
Benno Schulenberg
002652d263
bump version numbers and add a news item for 2.7.0
2016-09-01 12:38:35 +02:00
Benno Schulenberg
49fc528d88
restore the GNU marker in nano's name
2016-08-14 21:42:37 +02:00
Benno Schulenberg
b2e2c89b62
bump version numbers and add a news item for 2.6.3
2016-08-10 11:48:32 +02:00
Benno Schulenberg
b40520b574
bump version numbers and add a news item for 2.6.2
2016-07-28 09:21:27 +02:00
Benno Schulenberg
c6dbcf91c3
new feature: functions to jump to previous or following block of text
...
And hard-bind the keys Ctrl+Up and Ctrl+Down to these functions.
Unlike the paragraph-jumping code, these new functions disregard
any indentation, treating only blank lines as separators. They
also do an automatic smart home when that option is set.
This fulfills https://savannah.gnu.org/bugs/?48291 .
2016-07-24 12:00:00 +02:00
Dirkjan Ochtman
1349c1d02c
syntax: allow capital letters in Rust struct/trait names
...
Per https://doc.rust-lang.org/reference.html#fn2 , non-ASCII characters are
currently not allowed in stable Rust, so keep it ASCII-only for now.
Signed-off-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
2016-07-21 10:21:19 +02:00
Benno Schulenberg
6f12992cea
new feature: add the option --wordchars, to set extra word characters
...
This allows the user to specify which other characters, besides the
default alphanumeric ones, should be considered as part of a word, so
that word operations like Ctrl+Left and Ctrl+Right will pass them by.
Using this option overrides the option --wordbounds.
This fulfills https://savannah.gnu.org/bugs/?47283 .
2016-07-13 20:49:30 +02:00
Benno Schulenberg
bfcb4cd415
bump version numbers and add a news item for 2.6.1
2016-06-27 11:01:54 +02:00
Benno Schulenberg
61d7ca4c41
docs: adjust the description of the verbatim function
2016-06-27 09:35:05 +02:00
Luke Francl
ba9214c689
syntaxes: add highlighting rules for Rust
...
With tweaks from Andrea Canciani, Ben Young, Tennix, and Dirkjan Ochtman.
This fulfills https://savannah.gnu.org/bugs/?48163 .
2016-06-25 09:56:11 +02:00
Benno Schulenberg
1a4ec6c2d3
moving: allow specifying negative numbers in "Go To Line"
...
The negatives are taken to mean: from the end of the file,
and: from the end of the line.
This fulfills https://savannah.gnu.org/bugs/?48248 .
2016-06-24 14:47:02 +02:00
Jordi Mallach
49eaa7c465
docs: bump pointers to the newest version available
...
Fix references to an old dist dir in FAQ and RPM spec file.
2016-06-23 19:53:58 +02:00
Jordi Mallach
c2b199e926
docs: use https for nano-editor.org, and drop the www
...
Switch to https and drop the www. prefix for all occurrences of the
website URL.
2016-06-23 19:51:01 +02:00
Benno Schulenberg
f26e88bb52
tweaks: a few last tiny adjustments before release
2016-06-17 15:04:44 +02:00
Benno Schulenberg
efa42e4a88
docs: update the version number for the upcoming release
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2016-06-13 12:27:26 +02:00
Benno Schulenberg
3e5fcec76c
remove the GNU marker from nano's name
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2016-06-13 12:22:33 +02:00
Mike Scalora
6a2032f5b0
new feature: comment/uncomment current line or selected lines
...
This allows for commenting or uncommenting a line or a bunch of lines
with a single keystroke (default binding: M-3). The characters used
for commenting/uncommenting are specified by the active syntax file.
Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Mike Scalora <mike@scalora.org>
2016-05-25 22:29:50 +02:00
Mike Frysinger
8aeb8434d6
more svn->git updates
2016-04-17 23:39:07 -04:00
Mike Frysinger
111b30008a
syntax: changelog: support more bug/issue styles
...
These are formats used by binutils/glibc/gdb/gcc.
2016-04-12 15:20:30 -04:00
Benno Schulenberg
d92eb4fee3
all: eradicate SVN's $Id$ tags
2016-04-05 14:59:12 +02:00
Benno Schulenberg
2146942248
Correcting the description of 'justifytrim', adding it to the Info document,
...
sorting it, and tweaking a wording.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5682 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-26 09:04:54 +00:00
Chris Allegretta
162d534ff6
GNU nano 2.5.3 release
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5680 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-25 21:46:09 +00:00
Chris Allegretta
9f98333dce
Call kill_spaces_on_justify justifytrim, to match the rest of rcfile naming conventions.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5679 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-25 21:04:45 +00:00
Chris Allegretta
0dec394303
Make that kill_spaces_on_justify, add hilighting.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5665 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-22 15:23:57 +00:00
Benno Schulenberg
8d005c8743
Saying that the 2.5 branch is a "rolling" release, that lock files are done,
...
and preparing for 2.5.3.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5645 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-14 12:17:17 +00:00
Benno Schulenberg
6f352038da
Making the formatter command more visible in the Go syntax file.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5634 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-11 17:30:16 +00:00
Benno Schulenberg
0dbc867a16
Adjusting the version number in the docs before release.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5622 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-09 20:57:37 +00:00
Benno Schulenberg
836fa7066a
Using a character class instead of a literal tab and space.
...
The change was inspired by David Niklas.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5618 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-07 13:14:23 +00:00
Benno Schulenberg
6829241433
Removing the --nofollow option that hasn't been working for a dozen years.
...
With this option, nano would simply refuse to write to any symlinked file;
if anyone really used this option, they would certainly have complained.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5608 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-06 10:59:31 +00:00
Benno Schulenberg
2a2e012064
Condensing the descriptions of command-key sequences and of the screen layout;
...
mentioning how to enter Unicode and that regular expressions are line oriented.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5605 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-02-05 11:55:55 +00:00
Benno Schulenberg
7b74fedc05
Showing ^^ and M-^ as valid key names.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5603 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-01-31 13:20:40 +00:00
Benno Schulenberg
3331828696
Mentioning that the position history is limited to the 200 most recent files.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5591 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-01-25 20:51:00 +00:00
Benno Schulenberg
2b72f1d1f1
Documenting the --enable-altrcname configure option.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5590 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-01-25 20:38:10 +00:00
Benno Schulenberg
13ba5432cd
Removing a mistaken '+': only one menu name is allowed in key bindings.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5570 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-01-17 16:47:20 +00:00
Benno Schulenberg
ffae582aab
Allowing inline comments with key bindings.
...
Patch by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5568 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-01-17 16:15:08 +00:00
Benno Schulenberg
ba7ac78e36
Removing a reference to an obsolete file.
...
Bug was reported by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5557 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-01-14 13:14:16 +00:00
Benno Schulenberg
1b293ff34c
Adjusting dates and version number.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5542 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2016-01-10 16:18:43 +00:00