nirg

nirg

New user to Onivim, getting started is not easy

So, I actually got my Onivim License Key a while back.
Am a Vim user for about 4 years.
For me it was never ready enough for getting actual work done.

I have now decided to try and give it a try again.

I am struggling with some very basic stuff.
And the biggest issue is that I cant find anything in the documentation to help me with that.

Setup:
fresh installation on windows.
trying to work on current projects in C++, and some files in Lua.

Issues I have:

  1. gt and gT dose not work.
    how the @#$ do I move around the tabs?
    also :ls dose not do anything and :tabNext dose not seems to work.

  2. I have set “ignorecase” and “smartcase”. however, when in the file browser, It has no effect.
    must use case sensitive search when looking for files.

  3. I cant install ctags/Exuberant ctags.
    searching in the Extention tabs shows no results

  4. language/project tools:
    gd dose not work.

CTRL-] work if the definition is on the same line.
if the symbol is defined on a different file, the file will be opened, but I will be taken to the beginning of the file and not to the actual definition of the symbol.

  1. the outline in the file browser is empty.

  2. no smart auto complete or anything like that.
    should I install an extension for this to work?

If anyone has any tips for me to overcome these issues I will be very greatfull.

Thanks!

Most Liked

nirg

nirg

Hi bryphe,
Thanks for the fast and detailed replay!
You helped me getting to a place I can try and do some work with Onivim2,

Here is some more feedback:
I would love to see gt and gT do the same work as CTRL+PageUp and CTRL+PageDown.
its just closer to the Vim experiance that I/users expect ( I think?)

I am trying to work with clangd.
So far, it seems to work OK.
interesting fact, CTRL-] dose not jump to the exact location, also CTRL-T dose not return to the exact location.
However, gd dose work well, and CTRL-O dose return to the correct position.

last question, when using auto complete and there are several options, is there a key to navigate up and down the list? I don’t want to use the arrow keys because I don’t want to leave the Home row.
In VsCode there is a way to use CTRL-J/K to navigate the list.

Thanks again.

AstonJ

AstonJ

Welcome Nir! :smiley:

Hopefully @bryphe or @zbaylin will spot this and be able to offer you some help :blush:

bryphe

bryphe

Creator of Onivim

Hi Nir,

Developer on Onivim here. Thanks for trying it out and reporting your feedback! Still have work to do to be able to check that ‘Easy to use’ bullet point.

gt and gT dose not work.

Actually another user just posted feedback here too: Feature Request: Add gt and gT as default keybindings · Issue #3673 · onivim/oni2 · GitHub

The confusing part is the concept of ‘tabs’ - editors like VSCode/Sublime have a concept of tabs that are per split, whereas Vim’s ‘tabs’ are actually containing a set of splits.

Right now - gt and gT only work on ‘Vim-style’ tabs: tabs created via :tabnew. To cycle the ‘editor tabs’, you can use Control+PageUp/Control+PageDown.

I’m exploring some improvements though - I’m working on the following:

  • A diagram to show the difference between the ‘editor tabs’ and ‘vim tabs’
  • Change the default, such that if there aren’t any vim tabs created, gt and gT will cycle the editor tabs.

Control+Tab is another quick way to jump between buffers that’s worth trying out.

I have set “ignorecase” and “smartcase”. however, when in the file browser, It has no effect.
must use case sensitive search when looking for files.

Ah, I just saw an issue logged for this today - must’ve been from you? Thank you for taking the time to log it, it’s indeed a bug that the search isn’t taking those values into account!

cant install ctags/Exuberant ctags. searching in the Extention tabs shows no results

Unfortunately looks like Exuberant ctags isn’t in the Open VSX marketplace.

I recommend using the clangd extension for C & C++ - it works pretty well out of the box, and even better if there is a compile-commands.json to give it some info about include paths.

Some more instructions here in our docs.

For gd support, outline, and auto-complete - clangd or another extension is needed to give that language functionality.

If clangd doesn’t work for you, we could look at forking + publishing the exuberant-ctags extension on open-vsx. I’ve had a few users tell me they prefer the ctags flow. Let me know how it goes!

Cheers,
Bryan

Where Next?

Popular General Dev topics Top

AstonJ
If you would prefer your file tree to be on the right hand side in Onivim, just: CTRL (or CMD) + SHIFT + P Then start to type config th...
New
First poster: bot
Batteries included with Emacs. Emacs has a reputation for being borderline unusable out of the box, of being bloated but somehow surpris...
New
AstonJ
Please share your favourite Vim tips here :nerd_face:
New
CommunityNews
https://vimgifs-544mvq4w0-mraza007.vercel.app/ This thread was posted by one of our members via one of our news source trackers.
New
First poster: bot
Feature Packed Everything you need to get started without any configuration. A completely usable editor, right out of the box. Text-base...
New
OvermindDL1
You want VSCodium from my understanding then, it is VSCode with the telemetry removed. :slight_smile:
New
First poster: bot
At Replit, we want to give our users the most powerful, flexible, and easy-to-get-started coding environment. However, it has been limiti...
New
CommunityNews
Neorg is a tool designed to reimagine organization as you know it. Neo - new, org - organization. Grab some coffee, start writing some no...
New
First poster: bot
Modal editor · Faster as in fewer keystrokes · Multiple selections · Orthogonal design
New
First poster: bot
Here’s my (current) minimal setup: set ai nocp digraph ek hid ru sc vb wmnu noeb noet nosol set bs=2 fo=cqrt ls=2 shm=at tw=72 ww=&l...
New

Other popular topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
malloryerik
Any thoughts on Svelte? Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New
wolf4earth
@AstonJ prompted me to open this topic after I mentioned in the lockdown thread how I started to do a lot more for my fitness. https://f...
New
Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New