Re: f39 emacs strange behavior?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 and
> then paste it with my second mouse button (the wheel). Inside nvim, it
> is largely not reliable (with workarounds in many cases, but with key
> combinations) and I can not quite figure out why it is not. In the old
> days before DEs, the idea of highlight and paste (rather than use
> whatever key combination) is something I really got used to.

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 haven't tried
to find any auto-formatting, beyond its basic auto-indenting (which
just starts the next line at the same indent as the current line, no
fancy nesting).

A quick look through google suggests there's some add-on that can do
that.  Though I got the feeling it was a post-processing tool, rather
than an as-you-type thing.

I can cut and paste with the mouse, but if you're not in insert
(typing) mode, the results can take you by surprise.  Also, you need to
put the cursor where you want the paste to be inserted before you paste
the contents of the buffer.

-- 
 
uname -rsvp
Linux 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
--
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux