Comments (14)
Do this:
-
open vim
-
go to a file where typing and moving is slow
-
run
:profile start /tmp/vim.prof` :profile func * :profile file *
-
perform slow actions for a few seconds
-
run
:profile pause
-
exit vim
Now you should have a /tmp/vim.prof file, send that over to me.
from vimfiles.
https://gist.github.com/sergueif/59cf97bace639f2ad09c
from vimfiles.
Does :SyntasticToggleMode
help?
from vimfiles.
Sort of. I notice it's faster, but still slow.
from vimfiles.
Hummm, ruby files?
from vimfiles.
yes
from vimfiles.
One thing that's particularly slow (I dunno, 0.5 sec) is hitting ESC key from insert mode. You can see the cursor not change for a while.
from vimfiles.
Can you send me a file that is consistently slow?
from vimfiles.
Also, do this:
:syntime on
[ redraw the text at least once, scroll up and down a lot or with CTRL-L]
:syntime report
from vimfiles.
https://gist.github.com/sergueif/b0b428e62a09ea8c6ba7
But the ESC thing is slow even with an empty file like
vim foo.txt
And ESC is already bad. Heres prof of a bunch of 'o' strokes and ESC:
https://gist.github.com/sergueif/238bfe84aad1c489a55d
(although I was in a rails folder)
from vimfiles.
If I'm not in a rails folder, things are ok. Once in a rails app, empty file ESC is slow.
from vimfiles.
from vimfiles.
I can't reproduce this here, try disabling airline and see if that helps, your profile results don't actually show any slowness though...
from vimfiles.
Aaight, I'll bring my laptop sometime to work, so we can debug. Thanks for giving it a shot.
from vimfiles.
Related Issues (20)
- errors / linter messages don't show on Linux HOT 3
- Feature Request: Filter warnings
- Attempt to set completeopt causes error HOT 1
- Location list doesn't appear by default on save HOT 1
- Both CtrlP and FZF enabled?!?!? HOT 2
- gometalinter not found HOT 4
- Ag error message does not work when running Ag command with arguments
- Filter this specific warning
- Conflicting shortcuts for whitespace/noh, and commenting/history HOT 2
- fresh install on macOS High Sierra fails on gocode HOT 5
- nvim-completion-manager core channel terminated HOT 4
- Running update with go 1.11 installed, autocompletion no longer works in vim editing go files HOT 1
- tpope/vim-projectionist plugin breaking commands and keybindings for Alternate
- Add concourse plugin HOT 1
- yarn asked to be installed as a dependency - I don't do javascript HOT 2
- vim-update go error
- vim-update or install fails: missing gometalinter HOT 6
- autosave troubles HOT 1
- :q should fail when there are unsaved changes
- Disabling auto-folding HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimfiles.