[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] Thoughts
From: |
markweston |
Subject: |
[Nano-devel] Thoughts |
Date: |
Fri, 27 Apr 2018 16:27:19 +0300 |
User-agent: |
Roundcube Webmail/1.3.6 |
Some random thoughts I had when using nano. They are what they are:
thoughts. No need to take them into any consideration.
1. In soft-wrap mode nano inserts physical newlines when typing in the
soft (wrapped) part of line.
2. Smart home does not seem to work. When on a word, pressing home moves
cursor to the start of the line, not to the start of the word.
3. File browser does not work. You can't invoke it, so I don't even know
what it is.
4. Some nanorc rebinds do not work: for example, M-V is "verbatim
output" even when you have "bind M-V browser all" in your nanorc.
5. Not all keys are rebindable - like arrow keys for example.
6. ~/.nanorc is kind of useless because when you do `sudo nano` ~
becomes /root and in the end /etc/nanorc is the only rc that matters.
7. Ctrl+Left should also stop at the end of the word.
8. Ctrl+Right should also stop at the end of the word.
9. Shift+Ctrl+Left should also stop at the end of the word.
10. Shift+Ctrl+Left should also stop at the end of the word.
11. Ctrl+Up should also stop at the end of the paragraph.
12. Ctrl+Down should also stop at the end of the paragraph.
13. Shift+Ctrl+Up should also stop at the end of the paragraph.
14. Shift+Ctrl+Up should also stop at the end of the paragraph.
15. Delete/backspace should delete the selection if there is one.
16. Lua syntax file should be updated for Lua 5.3.
17. Autocomplete segfaults at the end of the word list (fixed in later
version?)
18. Not all keys are rebindable. All keys should be rebindable.
19. When you select with mouse, selection also includes the line
numbers. It should not.
20. Cutting/copying/pasting maybe should utilize the X clipboard if
xclip/xsel is installed.
21. When pasting from X clipboard autoindent should be disabled while
pasting and restored to initial paste after the operation.
22. There should be a "colorlink" command in the nanorc files. Then all
the syntax files should set their color to the colorlinked names (like
"comment", "keyword", "string", "shebang") and colorschemes could be
made.
23. Trailing whitespace highlighting should be global.
24. There should be a feature of stripping trailing whitespace on save.
25. There could be a syntax file command that overrides the
"tabstospaces" setting. I'm thinking specifically about Makefiles.
26. There should be a keystroke to delete a word and whitespace around
it to the right. Maybe alt+del.
27. There should be a keystroke to delete a word and whitespace around
it to the left. Maybe alt+backspace.
28. The titlebar maybe should be replaced with file tabs.
29. When saving .c files, there could be an automatic gcc/clang syntax
check performed, the output grepped, and nano should automatically move
to offending line and display the warning/error.
30. There could be an automatic "", '', {}, [] and so on pair-completion
feature. When you delete the left member of the pair, the right one is
deleted as well. When you type the closing member of the pair and the
closing member is next to the cursor, the cursor should only advance.
When you delete the right pair-member, only the right pair-member should
be deleted.
31. There should be an option to highlight {}, [], "" and so on pairs.
32. There should be an option to highlight {}, {}, "" and so on pairs
when cursor is just one position to the right of them.
33. Maybe show file tabs instead of current title bar.
34. There could be a way to enter an advanced command with arguments,
and with that plugins could be easily written.
35. There could be a way to execute a script in predefined script
directory with an argument list.
36. There could be a way to execute a shell command.
Attaching my /etc/nanorc file as well because it's quite heavily
customized and maybe that kind of customization was not thought of
before.
nanorc
Description: Text document
- [Nano-devel] Thoughts,
markweston <=