macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.53k stars 685 forks source link

Ctrl-Tab cycles through some (not all) open tabs in the window #1194

Closed cornejom closed 3 years ago

cornejom commented 3 years ago

It appears that pressing Ctrl-Tab repeatedly does not cycle focus through all the tabs but only between the two tabs that were last to be clicked on.

After opening a file in new window, I opened several more files via File - Open Tab menu command. Whatever tab I'm on, I can only cycle back and forth with the immediate previously-clicked tab.

Environment:

vim --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 10 2020 20:32:49) macOS version Included patches: 1-503, 505-680, 682-2292 Compiled by root@apple.com Normal version without GUI. Features included (+) or not (-): +acl -farsi -mouse_sysmouse -tag_any_white -arabic +file_in_path -mouse_urxvt -tcl +autocmd +find_in_path +mouse_xterm -termguicolors +autochdir +float +multi_byte +terminal -autoservername +folding +multi_lang +terminfo -balloon_eval -footer -mzscheme +termresponse -balloon_eval_term +fork() +netbeans_intg +textobjects -browse -gettext +num64 +textprop +builtin_terms -hangul_input +packages +timers +byte_offset +iconv +path_extra +title +channel +insert_expand -perl -toolbar +cindent +job +persistent_undo +user_commands -clientserver +jumplist +postscript -vartabs +clipboard -keymap +printer +vertsplit +cmdline_compl +lambda -profile +virtualedit +cmdline_hist -langmap +python/dyn +visual +cmdline_info +libcall -python3 +visualextra +comments +linebreak +quickfix +viminfo -conceal +lispindent +reltime +vreplace +cryptv +listcmds -rightleft +wildignore +cscope +localmap +ruby/dyn +wildmenu +cursorbind -lua +scrollbind +windows +cursorshape +menu +signs +writebackup +dialog_con +mksession +smartindent -X11 +diff +modify_fname -sound -xfontset +digraphs +mouse +spell -xim -dnd -mouseshape +startuptime -xpm -ebcdic -mouse_dec +statusline -xsmp -emacs_tags -mouse_gpm -sun_workshop -xterm_clipboard +eval -mouse_jsbterm +syntax -xterm_save +ex_extra -mouse_netterm +tag_binary
+extra_search +mouse_sgr -tag_old_static
system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -o vim -lm -lncurses -liconv -framework Cocoa

sfsam commented 3 years ago

I think that is the expected behavior? You can cycle through tabs with gt or gT.

cornejom commented 3 years ago

Hadn't realized that. Thanks.