Closed jondkinney closed 3 years ago
I want to limit the runtime files to enhancing existing built-ins, not creating new ones, so I think the way to go here is to make your own map in after/ftplugin/cucumber.vim
that calls the original:
nmap <buffer> <C-W><C-E> [d<C-W>P:resize 30<CR>zz
You could also drop the <buffer>
and put it in your vimrc. This will call cucumber.vim's ]d
in cucumber files and the built-in ]d
in other files. (Now you see why I like enhancing built-ins.)
See also 'previewheight'
, if you want to make 30 the default for all preview windows.
I figured this would be a little better place to discuss this than the closed issue I was overloading #29
Thanks for the consideration. I'm also definitely open to solving this another way that doesn't require editing the plugin.