Can someone explain why the cursor does not change in insert mode or visual mode once it is set? #1105
-
On my computer, Contour is the most performance-oriented terminal emulator. However, it has one drawback, and I have also noticed in the configuration file that you can currently only set the cursor style but not the insert mode or visual mode. Can you explain why? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
This is a nice feature request, so you want something to how NVim does things where you can differentiate between modes based on cursor style? |
Beta Was this translation helpful? Give feedback.
-
@HeavenTao Hey, many thanks for your interest. This is actually a great idea. Out of curiosity, are you currently on master branch (manually build / tarballs from CI) or on latest release? If I am not misunderstanding this, that should be a great thing to implement that certainly won't take long to land on master branch :) |
Beta Was this translation helpful? Give feedback.
-
Okay, I am sorry for the confusion, @HeavenTao. I have obviously typed too fast, an hour ago. I've checked the code now, and despite having this functionality already, I've fixed a bug along the way wrt that configuration. Keep watching PR #1106 to be merged and then maybe update to latest master branch (?). Configuration shall work as follows: # ...
profiles:
your_profile:
cursor:
# that's basically the cursor config for insert input mode
shape: "bar"
blinking: false
blinking_interval: 500
normal_mode:
cursor:
shape: block
blinking: false
blinking_interval: 500
visual_mode:
cursor:
shape: rectangle
blinking: false
blinking_interval: 500 That's what I have locally configured, and with the above PR also works reliably. :) For possible values for I hope this helps. |
Beta Was this translation helpful? Give feedback.
Okay, I am sorry for the confusion, @HeavenTao. I have obviously typed too fast, an hour ago. I've checked the code now, and despite having this functionality already, I've fixed a bug along the way wrt that configuration.
Keep watching PR #1106 to be merged and then maybe update to latest master branch (?).
Configuration shall work as follows: