Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Relative Line Numbers in Xcode

Tags:

vim

xcode

I'm just getting started with Xcode. I've installed the XVim plugin to provide Vim keybindings. However, I'm missing the ability to turn on relative line numbers. In vim, this is done with :set relativenumber, and in Visual Studio, there's a plugin for it.

Is there anything like this for Xcode?

like image 229
Isaac Dontje Lindell Avatar asked Sep 19 '25 02:09

Isaac Dontje Lindell


1 Answers

Wowza. It never occurred to me that I could just use Vim syntax for this!

To enable relative line numbers in XCode with XVim:

set relativenumber

like image 149
Isaac Dontje Lindell Avatar answered Sep 21 '25 18:09

Isaac Dontje Lindell