selected icon indicating copy to clipboard operation
selected copied to clipboard

Can it be highlighted, when cursor under a word?

Open Hecatoncheir opened this issue 9 years ago • 13 comments

It would be better for vim mode. Is it possible to do that?

Hecatoncheir avatar Jul 19 '15 16:07 Hecatoncheir

+1

I think this would be great and would bring Atom closer to expected behaviour in IDEs. Could there be an option to highlight on click or double click?

cortopy avatar Aug 12 '15 18:08 cortopy

+1

davesnx avatar Aug 24 '15 07:08 davesnx

Could you please given me an example?

richrace avatar Aug 25 '15 08:08 richrace

The possibility of change the event that fire the highlight. (right now: double-click) Can be possible use one-click or simple mouse over. Example, vim.

davesnx avatar Aug 25 '15 10:08 davesnx

As I don't use Vim, is this the correct behaviour?

In Vim:

  • I use command :set hlsearch
  • I have a line this is te|st, test test (where | is my cursor)
  • I press * (by default) and all tree test then become highlighted.

And then within Atom, the binding (*) would be changeable via the user's keymap file. Note: Using * or # wouldn't move the cursor.

richrace avatar Aug 25 '15 11:08 richrace

It would be great, if this would work for a simple click, not just double click.

donaldpipowitch avatar Oct 30 '15 09:10 donaldpipowitch

+1 for this

yakiang avatar Dec 30 '15 09:12 yakiang

I don't know if it is a good idea to register a cursor move event. I change the code slightly then it will highlight the word under the cursor. This also works for mouse one click. highlight 2

toxu avatar Jan 05 '16 09:01 toxu

Yeah, would be nice if it highlighted on a single click - something I've grown used to in sublime

jasonmadigan avatar Jan 07 '16 14:01 jasonmadigan

@toxu can you share this?

pvorona avatar Jan 09 '16 12:01 pvorona

This is a much needed setting. Proposed look using radio selection buttons:

Highlight behavior:
- On word selection
- On single-clicking a word
- Both

vadim-on-github avatar Aug 27 '18 22:08 vadim-on-github

+1

michaelkonecny avatar Sep 07 '18 17:09 michaelkonecny

Any updates on this issue?

nsa avatar May 21 '19 12:05 nsa