Giter Site home page Giter Site logo

It looks not as nice as the demo about vim-one HOT 13 CLOSED

rakr avatar rakr commented on August 25, 2024
It looks not as nice as the demo

from vim-one.

Comments (13)

rakr avatar rakr commented on August 25, 2024

Would you mind providing the following information:

  • Terminal you are using and the version
  • Vim or NeoVim and the version
  • Are you using tmux?

from vim-one.

rakr avatar rakr commented on August 25, 2024

Actually, i think I know the reason. Italic is not supported by your terminal. Will post a fix soon that would require a configuration setting.

from vim-one.

rakr avatar rakr commented on August 25, 2024

@kaiyulee, thanks for opening this issue. It seems like your terminal does not support italic,

This update should fix your problem. Please make sure to have the following lines in your ~/.vimrc

set background=dark
set g:one_allow_italics=1
colorscheme one

from vim-one.

kaiyulee avatar kaiyulee commented on August 25, 2024

iTerm2 Build 3.0.1 + vim 7.4.1345, iTerm2 has the tmux integration.

And still has the clear & beautiful problem.

It seems like not the plugin's problem. I had tried the material colorscheme mounthes before, It also has the display issue - it not as clear & beautiful as yours, but both the material and the one display well with MacVim. So the key maybe is the vim.

from vim-one.

rakr avatar rakr commented on August 25, 2024

Sorry to hear that, to support True Colors in Terminal you would need

from vim-one.

rakr avatar rakr commented on August 25, 2024

Your version of Vim does not support true colours. Try to upgrade it.

from vim-one.

kepbod avatar kepbod commented on August 25, 2024

It only works for vim, but not neovim.
My information:

  • Iterm2 Build 3.0.10
  • Vim 8.0
  • Neovim 0.1.5

from vim-one.

rakr avatar rakr commented on August 25, 2024

@kepbod, Sorry but I can't help you fix this issue on Neovim if you don't provide more information, your ~/.vimrc or /.config/nvim/init.vim would be a great start.
also don't forget that you must set termguicolors for this to work.

from vim-one.

kepbod avatar kepbod commented on August 25, 2024

Sorry that I forgot to attach my configuration.
My ~/.config/nvim/init.vim is https://github.com/kepbod/ivim/blob/master/vimrc_nvim, and I set iterm using https://gist.github.com/kepbod/2ea79ee2ada4c22591dc043c1ed4364c.
Thanks a lot for your helps.

from vim-one.

rakr avatar rakr commented on August 25, 2024

try removing the set t_Co line

from vim-one.

kepbod avatar kepbod commented on August 25, 2024

It did not work after I removed the set t_Co line.

from vim-one.

kepbod avatar kepbod commented on August 25, 2024

I fixed it by add below gist in .vimrc according to https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/?st=iux2r3zl&sh=87e1d8bf.

set t_ZH=^[[3m
set t_ZR=^[[23m

But I doesn't know why.

from vim-one.

b-fuze avatar b-fuze commented on August 25, 2024

If kepbod's snippet above doesn't work for you like it didn't for me, then it's likely because it requires actually typing the Esc character—which won't look as nice in other editors or display properly in a browser. A nicer way that looks the same across editors and in a browser is:

let &t_ZH = "\<Esc>[3m"
let &t_ZR = "\<Esc>[23m"

from vim-one.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.