Comments (4)
Note the cursor is on the line just above print(...)
in the attached screenshot
from zenburn.
Hi, this is due to the terminal application. I don't have a Mac Term at hand, but I'd guess your best bet is to use escape sequences accepted by your terminal in your .vimrc. Or, configure the terminal via its GUI if there's such a setting.
Also, test first in the terminal with:
printf '\033]50;CursorShape=2\x7
and
printf '\033]50;CursorShape=0\x7
If those changed the cursor, please try something like this in .vimrc:
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
let &t_SI = "\<Esc>]50;CursorShape=0\x7"
If there was no change, the escape sequences above do not work.
from zenburn.
Thanks, it doesn't look like that changed the cursor... i.e. I tried it from the command line (had to add an extra '
at the end of the printf ...
(hoping that was correct).
I'm not sure why it's MacTerm specific though?
- i.e. can't I just make the cursor yellow or something via a .vimrc file?
Really appreciate the feedback!
from zenburn.
Yes, extra ' was a good addition, I misplaced it, sorry.
Vim uses the terminal escape sequences to change things like the cursor color. If some particular code is not supported by the terminal, nothing happens.
I had a look at some Mac Term screenshots. Are you using Mac Term in Terminals/Emulation/Base Emulator "XTerm" (and xterm-256color) mode? Maybe there is some "Emulation Tweak" which can be enabled?
from zenburn.
Related Issues (20)
- Python formatting broken HOT 1
- New URL for the repo HOT 1
- New Themes for Atom.io HOT 1
- problem with colors in ConEmu HOT 7
- requesting an improved scala theme HOT 1
- underline in YAML files HOT 1
- zenburnpage goes 404 HOT 1
- Terminal field hasn't been set? HOT 1
- Conceal colors HOT 1
- http://kippura.org/zenburnpage returns http error 404 HOT 1
- Make comments italic in terminal HOT 1
- Vim 8 terminal colours HOT 13
- Terminal Ansi Colors twisted? HOT 3
- What's this font family in screenshot? HOT 4
- Error when loading zenburn colorscheme HOT 3
- Does Zenburn work better in terms of syntax highlighting with vim-polyglot? HOT 2
- Cannot install it after updating phpstorm 2023.3.1 HOT 1
- Add `cterm=bold` to `hi TabLineFill` commands HOT 1
- contrast too low for highlighted background of snippet placeholders HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zenburn.