Oni: Please provide an option to set tabSize

Created on 3 Jan 2018  路  6Comments  路  Source: onivim/oni

I want to set tabSize directly without having to disable oni.useDefaultConfig.
thanks.

needs information question

All 6 comments

Hi @Dcryfm ,

Does the tabs.height setting accomplish what you're looking for? More info in our wiki

@bryphe I'm sorry, but I didn't make it clear. I mean the number of spaces that tab represents.

@Dcryfm Prepend this to your $MYVIMRC:

set nocompatible              " be iMproved, required
filetype off                  " required

set number
set noswapfile
set smartcase

" Turn off statusbar, because it is externalized
set noshowmode
set noruler
set laststatus=0
set noshowcmd

" Enable GUI mouse behavior
set mouse=a

set list
set listchars=trail:路

Then you can disable oni.useDefaultConfig and set tab size and shift width.

@bryphe Unless this is not a duplicate of https://github.com/onivim/oni/issues/973 I think we can close it.

@badosu @bryphe I can close it, do I need to do it?

Sorry for the late reply! I've been wanting to expose configuration settings for this directly in Oni - using this to track. Added some details in PR #1288

Was this page helpful?
0 / 5 - 0 ratings