Code Monkey home page Code Monkey logo

Comments (5)

adelarsq avatar adelarsq commented on May 27, 2024 2

I am not familiar with this syntax fterm:open():close() but I tried this an works nicely:

augroup prestart_terminal
    au!
    au VimEnter * lua require('FTerm').open();require('FTerm').close(); 
augroup END

The reason is that I still use both Neovim and Vim.

...will definitely see flickers

I notice only one, that It stays on insert mode after Neovim starts. But can be a conflict with another plugin. I can live with that 😄

I would recommend to make your shell load faster using lazy load and such...

Yes, on Zsh I already using lazy load but my PowerShell still need some work.

Thanks for the help. I will close this issue, since can be solved with the previous config. I notice that you closed a little ago. Thanks @numToStr

from fterm.nvim.

numToStr avatar numToStr commented on May 27, 2024 1

You can add a VimEnter and use fterm:open():close() but you will definitely see flickers.

I would recommend to make your shell load faster using lazy load and such, but I guess you already know it.

from fterm.nvim.

tristone13th avatar tristone13th commented on May 27, 2024 1

require('FTerm').open();require('FTerm').close();

A very nice workaround, thanks!

from fterm.nvim.

numToStr avatar numToStr commented on May 27, 2024

takes some seconds to be able to use

This is never the case for me. In fact, terminal buffer opens instantaneous, the slowness comes from the shell I suppose.

Would be nice a pre start feature, without to show a terminal, starting in background.

What does this actually mean?

from fterm.nvim.

adelarsq avatar adelarsq commented on May 27, 2024

...the slowness comes from the shell I suppose.

Exactly. For me It takes some 5 seconds to start, since I have a huge amount of config on my terminal.

Would be nice a pre start feature, without to show a terminal, starting in background.

Something like a fast show/hide just when Neovim start. It's possible to simulate this behaviour with an autocmd on VimEnter that toggles FTerm.nvim, but this a bit of a workaround, no? 😄

from fterm.nvim.

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.