Code Monkey home page Code Monkey logo

Comments (8)

rerrabolu avatar rerrabolu commented on May 20, 2024

Just to add results of my experiment:

  • Make sure nvim config file "init.vim" does not define the parameter "title"
  • Define the parameter "title" for nvim-qt in its config file "ginit.vim"
  • e.g. set title

Once I did I was able to see nvim-qt window show filename in its title bar. Don't know how all of these things are inter-related. Happy to have it working.

from nvim-config.

jdhao avatar jdhao commented on May 20, 2024

hi, @rerrabolu, once you open a file, this config will show the file path and last-modified time on the title bar. For example, if i open my init.vim, I see the following text on the title bar:

~\AppData\Local\nvim\init.vim 2022-01-21 10:40 - Neovim

Is this what you are seeing?

Edit: title related options are set here.

The function to get title string is define here.

If you want to show a fixed title string, just change the titlestring optiont to a fixed string, something like the following:

set titlestring="fixed string"

from nvim-config.

rerrabolu avatar rerrabolu commented on May 20, 2024

I am on linux ubuntu system. I see the file name followed by the folder in which it exists.

e.g. temp.c (~/Downloads) - NVIM -- Neovim

I am satisfied with my current setup i.e. it shows me the filename. What I would like is passing a cmdline arg to bind as the title for the window.

from nvim-config.

jdhao avatar jdhao commented on May 20, 2024

Are you using this config? The title format seems wrong if you are using this config.

When you are inside nvim-qt, run comamnd set titlestring?, what is the output?

from nvim-config.

rerrabolu avatar rerrabolu commented on May 20, 2024

It seems the variable is not defined. When I run "set titlestring?" I get "titlestring=". However as I said earlier I see the filename and the folder it is in.

I am not well versed in the various options/commands of vim neovim. I rely on a few basic things to get my work done. In this regard it is fair to say that the time and effort it takes to get a good and powerful work env in vim/neovim is terrible. If it were a product charging me they will be out of business :-)

I don't know when and how long it will be before simple tools such as vim/neovim can mature. The alternative is going to vscode and other IDE's.

from nvim-config.

jdhao avatar jdhao commented on May 20, 2024

Are you using this config? It is weird that titlestring is not set if that is the case.

In this regard it is fair to say that the time and effort it takes to get a good and powerful work env in vim/neovim is terrible.

Indeed, Vim/Neovim may not be for everyone. It requires patience and craftsmanship to really tune it to your own need. The polishing process is long and ever-lasting. But that is also the fun points of using neovim that no other IDE can compare. What you can do with your IDE is limited.

from nvim-config.

rerrabolu avatar rerrabolu commented on May 20, 2024

Could you explain as to what you mean by this "config?" Are you referring to ginit.vim from your repo. If so I am not using it. I could give it a shot for testing and let you know

from nvim-config.

jdhao avatar jdhao commented on May 20, 2024

Could you explain as to what you mean by this "config?" Are you referring to ginit.vim from your repo.

I mean if you are using the whole repo? Otherwise, I am not sure why do you open an issue here...

from nvim-config.

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.