6 ms·
Now imagine that SSH going from a Citrix windows desktop running on a Windows 10 VM on your linux laptop. Every key press reacts in around a second. Welcome to
by kmarc 6y ago
Now imagine that SSH going from a Citrix windows desktop running on a Windows 10 VM on your linux laptop. Every key press reacts in around a second. Welcome to banking "security"!
Now let's say I want to `d5}`, to delete the next 5 paraghraph. In vi(m) I can do this by telling it "hey vim, delete those 5 damn paragraph!"
In fancy VScode I have to say more like... "Hey editor, wait a sec, I'm moving my cursor over there and select a couple lines which happens to be 5 paragrahs, OOOPS, I went a bit too far, now let's go back. YES, now delete them!".
Other examples:
- "increment this number by 5"
- "delete this html tag recursively"
- "indent the next 20 lines"
- "remove all the arguments from this function call"
- etc.
Vim has a language, _that_ is the powerful part.
To be fair, thankfully VSCode (and any of the other fancy IDEs) have basic vim-functionality providing plugins.
- wbkang 6y agovscode remote will actually perform better than vim over laggy ssh because the UI portion is completely local.
- kmarc 6y agoSo it is with vim. Anyway, unfortunately given setup won't even be viable with anything running "local", since in the mentioned citrix environment we cannot install anything, so no vscode, no local vim, no nothing...
- Redoubts 6y agoSo if you have an incredibly shitty setup, and have no idea how vscode works, then it might be worth it. Got it.
- u801e 6y agoThere are also times when the available bandwidth is limited, so just having to use fewer keystrokes to edit a file speeds up the process. I was able to connect to remote linux servers over dial-up and edit files on those servers with vim without issue. Editing and saving over ssh was more of a hassle since it took longer to save the file (and I save pretty often).
- kmarc 6y agoI have a quite good setup, in general. Unfortunately this is some external requirement I cannot do anything about. Also, as opposed to many people, I actually got to work and know both the IDE-world (including VScode), and the vim world. I have a base for comparison. Hopefully you "got that" too.
- deleted 6y ago[deleted]
- gruturo 6y ago> Now imagine that SSH going from a Citrix windows desktop running on a Windows 10 VM on your linux laptop. Every key press reacts in around a second. Welcome to banking "security"! Oh god are you one of my colleagues?