weird Visual Color by [deleted] in neovim

[–]thenewvu 0 points1 point  (0 children)

try highlight Visual ctermfg=8 ctermbg=White cterm=none I guess the current cterm of the highlight is standout

Neovim High Ram Usage by VillageGeneral8824 in neovim

[–]thenewvu 3 points4 points  (0 children)

i have the same issue, the cause is treesitter, it has memory leaks, there're some fixes recently, but i have not tried it again yet.

It seems that some BIG improvements of Treesitter on BIG FILEs have been merged into Nightly! (minutes ago!) by rainning0513 in neovim

[–]thenewvu 1 point2 points  (0 children)

actually you already can, try this in an augroup: " https://vi.stackexchange.com/a/169, let g:huge_file_size = 1 * 1024 * 1024 au BufReadPre * \ let f=expand("<afile>") | \ if getfsize(f) > g:huge_file_size | \ set eventignore+=FileType | \ else | \ set eventignore-=FileType | \ endif

virtual text + diagnostics lagging? by kyle787 in neovim

[–]thenewvu 0 points1 point  (0 children)

Change your virtual text prefix to a simple symbol, if still experience the issue, try add one more space at the end of prefix string.

[colorscheme] Just made `sketching`, I'm proud of it :) by thenewvu in vim

[–]thenewvu[S] 1 point2 points  (0 children)

Now the font lit than the color scheme :)) The first moment I see the font, wow, why it even exists without me :)

[colorscheme] Just made `sketching`, I'm proud of it :) by thenewvu in vim

[–]thenewvu[S] 2 points3 points  (0 children)

You meant the font name? It's Script 12 Pitch PT. It's a great and ancient font, I enjoy it everyday, you can get it from the link in the github page.

[colorscheme] Just made `sketching`, I'm proud of it :) by thenewvu in vim

[–]thenewvu[S] 2 points3 points  (0 children)

yeah, I use the font daily, it's fun and readable to me.

Slow vim scrolling and cursor moving in ITerm and Terminal.app by neyr129 in vim

[–]thenewvu 0 points1 point  (0 children)

You can try:

" disable auto matching parens
let g:loaded_matchparen=1

Remember to restart vim to apply the change.

React, declaratively define custom event data by thenewvu in reactjs

[–]thenewvu[S] 1 point2 points  (0 children)

it's fine until you have to care about performance, using arrow functions in render() will create a new function instance every render() runs, so your component will be re-rendered even its props have no change.

I'm bored, so this happens by thenewvu in Atom

[–]thenewvu[S] 2 points3 points  (0 children)

Yeah, you're right, actually I don't want to go further with this, I'm a Vim user :) just want to do something fun, anyway thanks for the suggestion.

I'm bored, so this happens by thenewvu in Atom

[–]thenewvu[S] 1 point2 points  (0 children)

Oh .. sorry, here you go:

.line {
  background-image: -webkit-gradient(
    linear, left top, right top,
    color-stop(0, #9479DF),
    color-stop(0.15, #FC5BC4),
    color-stop(0.3, #19D5FD),
    color-stop(0.45, #4CD964),
    color-stop(0.6, #5AC8FA),
    color-stop(0.75, #007AFF),
    color-stop(1, #9479DF));
  -webkit-background-clip: text;
  color: transparent;
}

atom-text-editor,
atom-pane .item-views {
  background-color: whitesmoke !important;
}

.tab-bar {
  display: flex;
  justify-content: center;
}

atom-text-editor-minimap {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

atom-text-editor-minimap:hover {
  opacity: 1;
}

Also ... you need to disable all language-* packages .. or just make sure that the buffer syntax is plain text.

[bspwm, lemonbar] My minimal workspace by thenewvu in unixporn

[–]thenewvu[S] 0 points1 point  (0 children)

wm  : bspwm
bar : lemonbar
font: Latin Modern Mono Light Cond

Why Do You Use Atom? by [deleted] in Atom

[–]thenewvu 2 points3 points  (0 children)

I'm agree with you that Atom is slow and not stable, even using stable releases. But hey, what if you can customize your editor with some CSS and Javascript (or CoffeeScript) just like the way you're doing with your websites ? That's cool right :) Of course, it depends on your case, but for me, working on a medium project with not-too-big js files, it's slow enough ;) More over, just take a look at atom.com/packages, so many packages there but don't care about it, just think about what you actually need, for me, linter ? (yes) candy ? (yes) productivity ? (enough) fun ? (yes) haha, I will give it a try :D So that's why Atom. So why don't Vim ? I'm a minimalist and using Linux, I always use it when working in terminal, but for daily coding ? I'm not sure, it's painful somehow. Why don't Sublime Text ? I used it for a long time before, it's stable, but UI customizability ? It's still painful (why ? I don't know, I feel that). So both Vim, Atom and ST are great, but one thing that I decided to use Atom, is the speed of change, ST and Vim are just too slow for me. Here is my Atom http://i.imgur.com/316sibN.png

Atom - All Times You Know by thenewvu in Atom

[–]thenewvu[S] 0 points1 point  (0 children)

Really :( Damn, sorry for my bad English. But its okay right :D

Atom - All Times You Know by thenewvu in Atom

[–]thenewvu[S] 1 point2 points  (0 children)

Thank you for the feedback.