On 11/18/23 01:09, Tim via users wrote:
On Fri, 2023-11-17 at 19:49 -0600, Ranjan Maitra via users wrote:
I am more or less finding my way around nvim, but I have not yet
figured out two things yet.
I loved the autoformatting feature of C, etc in emacs. Basically
as I typed, things would get formatted. And I have not really been
able to figure out if that is possible here (automagically,
without pressing any key combination).
The other thing I will look at more carefully this weekend is to
figure out a way to reliably highlight a area with my mouse left
button [...]
I use gvim (graphical vim), so this may or may not be applicable:
It can recognise various coding formats and highlight the sections in
colours, so there's potential for further automation.
I have no particular experience with neovim, but if you've abandoned
hope of getting back to Emacs, I'm fairly sure that vim (and gvim) can
do a decent job of autoformatting with some configuration -- or at
least, as Tim notes, basic auto-indentation out of the box. With C, your
mileage may vary depending on your coding style.
You can also use the mouse with vim in most terminals. Try
:set mouse=a
For more info, do :help mouse
Lastly, I'd be remiss not to mention the `joe` editor, which has an
emacs-compatibility mode that can be started with `jmacs`.
dnf info joe
Cheers,
Ben
PS. Re-sent due to an error - apologies for any duplication
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue