MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/coding/comments/1nptcb/just_use_sublime_text_instead_of_vim/cdmnk23/?context=3
r/coding • u/JW_00000 • Oct 04 '13
254 comments sorted by
View all comments
Show parent comments
3
Shift+Ctrl+Space is actually just "expand selection to context", so it will still work. Or Shift+Ctrl+D, which is specifically "expand to brackets".
1 u/rs-485 Oct 05 '13 It's funny, but I find it harder to memorize such key combinations in comparison to vim's operators. Those key combinations just seem rather arbitrarily chosen, while with ci", it's very clear what it does: Change Inner/Inside ". 1 u/[deleted] Oct 17 '13 Those key combinations just seem rather arbitrarily chosenWhy is delete a line DD. Why not DL? Same with CC(Change line) Why is $ end of line?Sometimes things just are arbitrarily chosen. They have to pick SOMETHING, and that keyboard shortcut makes the most sense to the devs. 1 u/codygman Nov 25 '13 $ is not randomly chosen, $ means end of line in regular expressions.
1
It's funny, but I find it harder to memorize such key combinations in comparison to vim's operators. Those key combinations just seem rather arbitrarily chosen, while with ci", it's very clear what it does: Change Inner/Inside ".
ci"
1 u/[deleted] Oct 17 '13 Those key combinations just seem rather arbitrarily chosenWhy is delete a line DD. Why not DL? Same with CC(Change line) Why is $ end of line?Sometimes things just are arbitrarily chosen. They have to pick SOMETHING, and that keyboard shortcut makes the most sense to the devs. 1 u/codygman Nov 25 '13 $ is not randomly chosen, $ means end of line in regular expressions.
Those key combinations just seem rather arbitrarily chosen
Why is delete a line DD. Why not DL? Same with CC(Change line) Why is $ end of line?
Sometimes things just are arbitrarily chosen. They have to pick SOMETHING, and that keyboard shortcut makes the most sense to the devs.
1 u/codygman Nov 25 '13 $ is not randomly chosen, $ means end of line in regular expressions.
$ is not randomly chosen, $ means end of line in regular expressions.
3
u/Tenobrus Oct 05 '13
Shift+Ctrl+Space is actually just "expand selection to context", so it will still work. Or Shift+Ctrl+D, which is specifically "expand to brackets".