Skip to content

mac + tmux + vim soooo slow  #353

Description

@dragonxlwang

I am using a mac. When using vim in tmux (actually macvim in iterm2/terminal), vim motion becomes extra slow, no mention with mouth scrolling.

It seems to have something to do with vertical split windows in vim. If more than one window vertically split, then the slow is significant.

untitled

I have tried so far the following (1 being most slow while 10 being fastest):

  1. Gui MacVin: 10
  2. No tmux; iTerm2 / Terminal + Mac + MacVim: 8
  3. No tmux; iTerm2 / Terminal + Mac + Apple's Vim: 6
  4. Gnu-Screen + iTerm2 / Terminal + Mac + MacVim: 8
  5. Tmux + iTerm2 / Terminal + Mac + MacVim (only 1 window): 4-5
  6. Tmux + iTerm2 / Terminal + Mac + MacVim (only 2 window horizontally): 3-4
  7. Tmux + iTerm2 / Terminal + Mac + MacVim (2 window vertically): 2
  8. Tmux + iTerm2 / Terminal + Mac + MacVim (2+ window vertically): 1 (or even worse)

I admit that I have some plugins that I use a lot in vim. If I don't use any of them, then the speed becomes normal (10) again. If anyone want to reproduce, here's the list:

ListToggle
Vundle.vim
YCM-Generator
YankRing.vim
YouCompleteMe
auto-pairs
ctrlp.vim
gist-vim
indentLine
nerdtree
nerdtree-git-plugin
tabular
tagbar
ultisnips
vim-airline
vim-airline-themes
vim-autoformat
vim-bbye
vim-better-whitespace
vim-bracketed-paste
vim-coffee-script
vim-colorschemes
vim-commentary
vim-eunuch
vim-flake8
vim-fugitive
vim-gitgutter
vim-minimap
vim-snippets
vim-surround
vim-syntax-extra
webapi-vim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions