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

New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
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
Why I Teach vim. The why of why people use vim has been covered fairly extensively, so I thought I would spend a little time explaining ...
New
First poster: bot
What you need to know before try Emacs. When it comes to Emacs, every programmer should have heard its name more or less. After all, Ema...
New
New
First poster: davearonson
Welcome to the third part of this series aimed to help you unleash a power never seen on Earth using the Almighty Vim. If you don’t under...
New
First poster: bot
Goodwill Strikes Again A symptom of heavy Vim usage is that your brain begins to re-partition old memories for keyboard shortcuts— trashi...
New
First poster: bot
See full diagram here: https://rawgit.com/darcyparker/1886716/raw/eab57dfe784f016085251771d65a75a471ca22d4/vimModeStateDiagram.svg This...
New
XSukhpreet
I think for now VsCode is getting very much goody at developer side, even thou sublime text 4 is faster . But if Onivim take these two an...
New

Other popular topics Top

PragmaticBookshelf
A PragProg Hero’s Journey with Brian P. Hogan @bphogan Have you ever worried that your only legacy will be in the form of legacy...
New
Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
AstonJ
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: Perhaps if there’s enough peop...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
First poster: joeb
The File System Access API with Origin Private File System. WebKit supports new API that makes it possible for web apps to create, open,...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New