Earlier quoted context omitted.
Huh, do the syntax checkers for those languages actually do type checking too?
For C and C++ at least, it uses your compiler, so yes.
Actualvim – Sublime Text 3 input mode powered by Vim itself
21–30 of 112 posts
Re: Actualvim – Sublime Text 3 input mode powered by Vim itself
#22This makes me want to ask... why not just use vim?
I'm just guessing here, but you can use all the Sublime Plugins and Key combos while in INSERT mode. The Vim Insert Mode is rather limiting since you're supposed to do mostly just typing in there. I always add the basic emacs keybindings to my vimrc so that I can jump by word, to the beginning of the line / the end or move by character, without leaving insert mode. I really don't like leaving insert mode for just 2 c…
As for jumping around while in insert mode, I totally understand that instinct but it goes against the grain of Vim. Don't spend extra time in insert mode.
I think the real problem with Vim is that you have to wrangle it with a lot of tweaks to make it sane and comfortable and that's a rabbit hole a lot of people (justifiably) don't want to go down. Sublime is very friendly, I like it a lot, Vim demands a long weekend of your life to customize but it really does leapfrog everything once you get it right.
Re: Actualvim – Sublime Text 3 input mode powered by Vim itself
#23This makes me want to ask... why not just use vim?
Re: Actualvim – Sublime Text 3 input mode powered by Vim itself
#24Earlier quoted context omitted.
Because vim is broken. I gave up vim after 7 years because of all the segfaults, in-extensibility and just horrible code. Some of the files in the vim code base are over 20,000 lines with hundreds of ifdefs, and littered with unsafe pointer use. The code is a horrible experience to just look at, pre 1989 C style functions, mixed tabs and spaces everywhere, and the files aren't even a valid encoding of any kind whatso…
How much of a challenge would it be to rewrite vim properly? Or is that a crazy idea..
As a result your neat little Vim2 reboot thing will not be nearly as useful for a long time, so you've lost backwards compatibility for what? Cleaner internals? Doesn't really benefit the end user much. :)
Re: Actualvim – Sublime Text 3 input mode powered by Vim itself
#25Earlier quoted context omitted.
Because vim is broken. I gave up vim after 7 years because of all the segfaults, in-extensibility and just horrible code. Some of the files in the vim code base are over 20,000 lines with hundreds of ifdefs, and littered with unsafe pointer use. The code is a horrible experience to just look at, pre 1989 C style functions, mixed tabs and spaces everywhere, and the files aren't even a valid encoding of any kind whatso…
A patch series implementing asynchronous timers has in fact recently been posted to the Vim development list [^1]. Its status is uncertain, and is still being actively discussed, but to state that such a thing "will never be possible" is just blatantly false. [^1]: https://groups.google.com/forum/#!topic/vim_dev/-4pqDJfHCsM%...
https://groups.google.com/forum/#!searchin/vim_dev/kans/vim_...
It's clearly an unsafe operation that wont work with async/timed code, because the buffer may be null at that point, but Bram's response is how do you reproduce it? How do you reproduce it? It's a segfault on an unsafe pointer! It crashes vim. Anyway, the way to reproduce it and all the other segfaults I encountered is to develop a plugin using the timers in that patch.
So nope, vim is broken, and that patch will never see the light of day. Those guys put months of work into that patch and Bram is like "I don't have time." His instincts are right. The patch would ruin vim for anyone using timers.
Re: Actualvim – Sublime Text 3 input mode powered by Vim itself
#26Re: Actualvim – Sublime Text 3 input mode powered by Vim itself
#27Earlier quoted context omitted.
https://github.com/scrooloose/syntastic
Syntastic is great for flagging syntax errors, but I don't think it provides for type checking like DannoHung is after.
Re: Actualvim – Sublime Text 3 input mode powered by Vim itself
#28Earlier quoted context omitted.
Because vim is broken. I gave up vim after 7 years because of all the segfaults, in-extensibility and just horrible code. Some of the files in the vim code base are over 20,000 lines with hundreds of ifdefs, and littered with unsafe pointer use. The code is a horrible experience to just look at, pre 1989 C style functions, mixed tabs and spaces everywhere, and the files aren't even a valid encoding of any kind whatso…
How much of a challenge would it be to rewrite vim properly? Or is that a crazy idea..
Re: Actualvim – Sublime Text 3 input mode powered by Vim itself
#29Earlier quoted context omitted.
The main reason (for me) is Ctrl+P. Working on a project with lots of files (like Rails) without that is a huge pain.
Not only does Vim have a Ctrl+P plugin, but the Ctrl+P feature of Sublime originated from the Vim plugin.