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

Popular General Dev topics Top

Dusty
Thanks to @AstonJ for encouraging me to post this here: An introduction to alternative keyboard layouts Feel free to post your own expe...
New
foxtrottwist
Here’s our thread for the Keyboardio Atreus. It is a mechanical keyboard based on and a slight update of the original Atreus (Keyboardio ...
New
AstonJ
Perhaps we can add some vids on sound differences, those I’ve seen so far are giving the plastic cases a nice stock sound (you could do s...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
New
wmnnd
Here’s the story how one of the world’s first production deployments of LiveView came to be - and how trying to improve it almost caused ...
New
AstonJ
I love my Kindle Oasis for reading, but unfortunately it’s not great for technical books as you often need to click on a link or do a qui...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
First poster: bot
The overengineered Solution to my Pigeon Problem. TL;DR: I built a wifi-equipped water gun to shoot the pigeons on my balcony, controlle...
New
New

Other popular topics Top

siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
Exadra37
I am a Linux user since 2012, more or less, and I always use Ubuntu on my computers, and my last 2 laptops have been used Thinkpads, wher...
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New
PragmaticBookshelf
A Hero’s Journey with Chris Pine @chrispine Chris Pine, author of Learn to Program, Third Edition, discusses his journey to beco...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
PragmaticBookshelf
Author Spotlight: Sophie DeBenedetto @SophieDeBenedetto The days of the traditional request-response web application are long gone, b...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New