Terminal (iTerm2) not restored properly with redir-completeopt check
See original GitHub issueI’m using vim 8.0 with latest iTerm2 stable release on an up-to-date Sierra Mac OSX.
AFAICS, this issue is related to commit 6411de0cd1d2a2959f5a0bf977b3f8ecea2209d0.
When I clear my terminal (CTRL+L), open a long file with vim and quit, my cursor is at the very end of the window and the rest of the terminal is filled with blank lines. When I go one commit back in the jedi-vim repo,
cd ~/.vim/bundle/jedi-vim
git checkout e2d79c6434f940a21c75bb86d84b9a4d88f86209
the behavior is not there anymore and all is golden.
Thank you very much for the awesome software, and I apologize for the shitty bug report.
vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun 23 2017 15:23:28)
MacOS X (unix) version
Included patches: 1-663
Compiled by meren@As-MacBook-Pro.local
Huge version without GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_sgr +tag_old_static
+arabic +find_in_path -mouse_sysmouse -tag_any_white
+autocmd +float +mouse_urxvt -tcl
-balloon_eval +folding +mouse_xterm +termguicolors
-browse -footer +multi_byte +terminfo
++builtin_terms +fork() +multi_lang +termresponse
+byte_offset -gettext -mzscheme +textobjects
+channel -hangul_input +netbeans_intg +timers
+cindent +iconv +num64 +title
-clientserver +insert_expand +packages -toolbar
+clipboard +job +path_extra +user_commands
+cmdline_compl +jumplist -perl +vertsplit
+cmdline_hist +keymap +persistent_undo +virtualedit
+cmdline_info +lambda +postscript +visual
+comments +langmap +printer +visualextra
+conceal +libcall +profile +viminfo
+cryptv +linebreak -python +vreplace
-cscope +lispindent +python3 +wildignore
+cursorbind +listcmds +quickfix +wildmenu
+cursorshape +localmap +reltime +windows
+dialog_con -lua +rightleft +writebackup
+diff +menu -ruby -X11
+digraphs +mksession +scrollbind -xfontset
-dnd +modify_fname +signs -xim
-ebcdic +mouse +smartindent -xpm
+emacs_tags -mouseshape +startuptime -xsmp
+eval +mouse_dec +statusline -xterm_clipboard
+ex_extra -mouse_gpm -sun_workshop -xterm_save
+extra_search -mouse_jsbterm +syntax
+farsi +mouse_netterm +tag_binary
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/local/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 -L/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin -lpython3.6m -framework CoreFoundation
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:21 (1 by maintainers)
Top Results From Across the Web
Session Restoration - Documentation - iTerm2
A properly restored session will pick up right where you left it. If you reboot, your jobs will terminate and not be restored....
Read more >No Content Restored - iTerm2 - Mac OS Terminal Replacement
No Content Restored. When Session Restoration is enabled, your sessions will not terminate if iTerm2 exits unexpectedly (as in a crash or force...
Read more >Documentation - iTerm2 - macOS Terminal Replacement
iTerm2 is a replacement for Terminal and the successor to iTerm.
Read more >FAQ - iTerm2 - macOS Terminal Replacement
Q: Why my arrow/HOME/END keys are not working? A: Check that the $TERM variable is correct. xterm-256color is recommended. xterm-new will also ...
Read more >Status Bar - Documentation - macOS Terminal Replacement
iTerm2 offers a configurable, scriptable status bar. The purpose of the status bar is to show up-to-date information about the environment you're working...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will continue playing, and will let you know if I ever understand what it is interfering or find a reasonable way for you to reproduce 😃 Thanks again.
Could reproduce it now finally. It only affects Vim (not Neovim) and should be fixed now.