SublimeText has a vim mode called "vintage" that allows vim commands to work.
Vim: Takeaways from One Year of Typing
71–80 of 98 posts
Re: Vim: Takeaways from One Year of Typing
#72vim overhyped as an editor? It might be overhyped as a programming tool (you won't write 2x the same amount of lines in a day; you will not be 5x more productive), but as an editor, it deserves every single bit of hype that it has. No other editor stands next to vim. A lot of people dislike editors. It's fine. There are a million tools out there that help people become more productive programmers. You might enjoy Int…
https://vimeo.com/53144573 - Precision editing at the speed of thought
All editors should place an emphasis on minimal typing.
Emacs has a few cool precision features too:
http://emacsrocks.com/e10.html - AceJump
Re: Vim: Takeaways from One Year of Typing
#73The thing about Vim is that I cannot imagine creating it and thinking, "This will be much faster and easier than a mouse eventually". But, I also wouldn't think that I could learn how to type fast without looking at the keys if I just stumbled across a keyboard, but both are undoubtedly true. Like anything physical, it requires practice and muscle memory. Would you rather go back to looking at every single key to typ…
Doesn't vim (or similar schemas) predate the mouse?
Re: Vim: Takeaways from One Year of Typing
#74One year? That is like "Takeaways from riding a Superbike in first gear, for one minute - Verdict. Super bikes are way overhyped!"
So let's assume that, by using vim as the primary editor as a coder, the author used it roughly 8 hours a day for 5 days a week. That's 1,920 hours. I daresay it's impossible for someone to not use a tool, however complicated, for nearly 2000 hours and not become quite familiar with its operation. This is also 1/5th of the (disputed) "magic number" of 10,000 hours to master a skill.
What I'm trying to say is: Yes, you can very much get through a year or more of using vim without leveraging it's power. (And you probably will, given how much there is to learn.)
Re: Vim: Takeaways from One Year of Typing
#75Earlier quoted context omitted.
We're talking about text editors, not operating systems. (Sorry. I had to. Don't hate me!)
I know it's the old cliche, but I love emacs largely for that reason. When I'm ssh'ed into one of my boxen, I can do a simple scp and have all my configs for IRC, eww, org-mode, EmacsWget, my custom scripts, etc, everything in one place and managed under one system ecosystem, and from a terminal without having to touch/forward X. The longer I spend in it the less convoluted simple text editing becomes, I just think t…
And you don't even have to bother with that, thanks to TRAMP mode, which lets you open files on a local emacs from a remote system. You can even do it with sudo[1]!
I believe vim does have rudimentary sftp/scp support, but tramp can make it seem like a remote system is just an extension of your local system.
---- [1] http://irreal.org/blog/?p=895
Re: Vim: Takeaways from One Year of Typing
#76Here's the thing: when you're coding, how much time is spent on reading vs writing? For me it's probably 90/10. Since most my time is spent concentrating on understanding code, the last thing I want is an editor that forces me to consciously think about text operations. "d[downkey]4" might be theoretically more efficient, but I spend way less cognitive energy holding down the shift key and pressing the down arrow 4 t…
Re: Vim: Takeaways from One Year of Typing
#77Here's the thing: when you're coding, how much time is spent on reading vs writing? For me it's probably 90/10. Since most my time is spent concentrating on understanding code, the last thing I want is an editor that forces me to consciously think about text operations. "d[downkey]4" might be theoretically more efficient, but I spend way less cognitive energy holding down the shift key and pressing the down arrow 4 t…
"""I say this as a person that knows vim well."""
These two phrases don't go together.
Would you say you knew how to play a piano well if you were still consciously thinking about where each note was?
If you don't use vim to the level that it's subconscious and "in your fingers" it might not seem all that useful...
Fwiw "ag" and the various plugins around it make your use case pretty trivial.
Re: Vim: Takeaways from One Year of Typing
#78Earlier quoted context omitted.
As a slight aside, how did you choose i3 over the other tiling window managers? I chose xmonad at one time, but it was more or less by chance --- someone else used it that I knew, and so I tried it. But I haven't actually compared any.
I've read the name a few times and people seemed to be happy with it, so I gave it a try. I liked it immediately, not least because of the simple but powerful customization. To be honest, I haven't tried any other TWMs yet, but I will soon.
It's a tiling window manager, as minimal as ratpoison in interface but fully configurable and hackable on runtime, to the point of rebuilding parts of the system as it's running. It's the best WM experience I had since the old Enlightenment and I'm now using it full time. I even wrote some posts about it: https://klibert.pl/#stumpwm-better-modeline https://klibert.pl/#stumpwm
Ah, forgot to mention: it's in Common Lisp, so YMMV by a lot :)
Re: Vim: Takeaways from One Year of Typing
#79For what it's worth, the author (sankho) mentions that he uses other editors for project-wide find and replace. This can be done in vim too (although I do not --- I'll return to this). You can check out the typically great vimcasts post on this: http://vimcasts.org/episodes/project-wide-find-and-replace/ For whatever reason, I find it easier to use commandline tools to do large search and replaces. I do embrace the v…
It's possible to run a macro on a list of files? I usually just open the files one by one and @@:wq (oops)
:args *.cpp " or any other list of files
:set autowrite
:argdo normal @@
:wqRe: Vim: Takeaways from One Year of Typing
#80No other text editor has as many developers working on plugins than VIM. Virtually anything that exists in another text editor which isn’t mouse driven has some very popular, very supported, very documented plugin you can use. And the Vim equivalent of org mode is what again? I'm a Steve Litt fan, but Vim Outliner isn't even in the same league as org mode. As a Vim user of many years I still believe it to be superior…
VimWiki: https://github.com/vimwiki/vimwiki
Not 100% of the same functionality, but close enough for me as to not matter. For the missing features, I have the rest of the OS.