1. Takeshi NISHIDA
  2. vim-fuzzyfinder
Issue #21 resolved

Need option to openFufBuffer() to split differently

created an issue

There's a bug in Vim such that when you set the minimum windows height to 0 and when the top window has 0 height, opening up a Fuf buffer will cause all windows to share the same height.

To show:

:set wmh=0

:set noequalalways

Splits multiple windows horizontally (:sp) for multiple times

Go to the window that's not on top

Do :resize +15 until the top window has 0 height

Do a :FufFile or just :topleft 1new (like what's being done in openFufBuffer())

You can see that the windows are set to the same height now. I would expect the height to not change.

I'm used to having multiple windows split horizontally with different heights. This makes using FuzzyFinder more difficult since I'll have to resize my windows each time I issue a :Fuf* command.

Please note that noequalalways is set and just splitting the windows will not cause the window size to change. I think having an option to split the window (in my use case, it'll be doing a :aboveleft 1new instead) would be the ideal solution.

My vim settings:

VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Feb 25 2009 09:45:13) Big version with X11-Athena GUI. Features included (+) or not (-): +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +float +folding -footer +fork() -gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse +mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte +multi_lang -mzscheme -netbeans_intg -osfiletype +path_extra -perl +postscript +printer -profile +python +quickfix +reltime +rightleft -ruby +scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" system gvimrc file: "$VIM/gvimrc" user gvimrc file: "$HOME/.gvimrc" system menu file: "$VIMRUNTIME/menu.vim" fall-back for $VIM: "/home/wlee/usr/local/share/vim" Compilation: /tp64/tools/gcc/4.2.1/bin/gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -I/usr/X11R6/include/X11 -I/auto/csmodeldata/foopen/AMD64/0.43/include/python2.5 -pthread Linking: /tp64/tools/gcc/4.2.1/bin/gcc -L/usr/X11R6/lib64 -L/usr/local/lib -o vim -lXaw -lXext -lncurses -L/auto/csmodeldata/foopen/AMD64/0.43/lib/python2.5/config -lpython2.5 -lpthread -lutil -lm -Xlinker -export-dynamic

Comments (2)

  1. Log in to comment