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

AstonJ
Please share your favourite Vim tips here :nerd_face:
New
First poster: bot
Download and play .puz crossword puzzles in Emacs. Includes a browser to view puzzles’ detailed metadata, including progress of partially...
New
First poster: bot
Wheel is a navigation plugin for Vim and Neovim. It is buffer group oriented and makes abundant use of special buffers, in which you can ...
New
CommunityNews
adobe/brackets. An open source code editor for the web, written in JavaScript, HTML and CSS. - adobe/brackets This thread was posted...
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
First poster: OvermindDL1
It’s Magit! A Git interface inside Emacs Magit is a text-based Git user interface that puts an unmatched focus on streamlining workflows....
New
CommunityNews
I was a rather puzzled the first time I spotted DWIM in an Emacs interactive command name. Don’t think I remember what the command itself...
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
First poster: malloryerik
A modern open source code editor in Rust Native GUI and Rust powered performance, we as developers know what you need for an essential to...
New

Other popular topics Top

AstonJ
A thread that every forum needs! Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
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
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
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
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
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
First poster: bot
Large Language Models like ChatGPT say The Darnedest Things. The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
New
PragmaticBookshelf
Author Spotlight: Tammy Coron @Paradox927 Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
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