Closed h8ed closed 5 years ago
My apologies, I looked at the latest push to the plugin, it seems it is a problem when I have relativenumber
set. When this is set the line numbers still appear, but with it off it behaves normally
So disabling relativenumber
in the vim plugin solves the issue?
If I disable both relativenumber
and number
, it works, however I don't know how to do this specifically for the fff.vim
plugin (apologies for late reply, trying to help someone else with some git stuff lol)
So basically I want relativenumber
and number
on the files I'm editing, but not on the fff
split.
I see. In the plugin code it already does setlocal nonumber
. Are you running the latest version of the plugin?
Ahh. Yes, should be latest. Installed via vim-plug by putting Plug 'dylanaraps/fff.vim'
in my .vimrc
and running :PlugInstall
. The issue is that If set relativenumber
is still on, it shows line numbers still, regardless of if set nonumber
is on or not.
perhaps execute 'setlocal norelativenumber'
in the autoload/fff.vim
as well?
Confirmed, adding execute 'setlocal norelativenumber'
under the execute 'setlocal nonumber'
in autoload/fff.vim
fixed it!
Will push a fix! Thanks :)
Fixed
First off I'd like to say I love this plugin and
fff
in general, I feel it integrates with vim a tad better thannnn
. Idk if this would be more of a question than an issue, but I can't figure out how to disable the line numbers when opening in vim. I like having the size around 15% on the left side, and this hogs a lot offff
's real estate. I tried something likeautocmd FileType fff set nonu
but this didn't work, neither didFileType vim
(just some silly attempt, idk iffff
would necessarily have a designated file type. So, is there any way to do this? Any help is appreciated.