Earlier quoted context omitted.
Thanks for this. I switched my input mode to VI and was greatly missing using Ctrl-L to clear the screen when in input mode. I hadn't known about the inputrc before. Adding this line below your "\C-p" line fixed that for me: "\C-l": clear-screen
Command-K also does the trick
Quick tip for developers who use OS X
401–406 of 406 posts
Re: Quick tip for developers who use OS X
#402After making the switch to OS X in the last couple years after living in Linux and Windows before that, I think it's objective to say that keyboard shortcuts in OS X are much worse in both ease of use and consistency across applications.
Generally speaking, OS X is amazingly bad at all things UI given how good it is.
Re: Quick tip for developers who use OS X
#403Earlier quoted context omitted.
The only problem it really solves is if you've got non-relative paths in your HTML/CSS. I've used this a couple of times in those situations.
Just because that's the only problem you use it to solve doesn't mean that's the only problem it solves.
Re: Quick tip for developers who use OS X
#404Earlier quoted context omitted.
I've been wanting to use 'jj' to enter normal mode on the command line for some time. This solution actually didn't work for me, but adding the following to my .zshrc did: bindkey -M viins 'jj' vi-cmd-mode
That is because zsh does not make use of readline. I ran into this issue myself recently, since I use bash on my personal machines and zsh on my work ones.
Re: Quick tip for developers who use OS X
#405Earlier quoted context omitted.
OK I didn't know Apple had made that a standard -- so I agree with the GP that it's dumb. If I can't easily type a shortcut with one hand, it shouldn't be a standard shortcut. I'm suggesting the standard paste should behave as expected, not adhere to some literal definition the user doesn't care about. If I copy a passage of text from one document and paste it into another, I generally want it to look like it belongs…
I think implementing "obvious intentional styling" is an AI problem. Suppose you copy a header, click in a normal paragraph, and paste. Keep styling information? Case 2: copy styled text from Keynote, and paste. Keep styling? Maybe, the logic in a word processor should be to keep character styling, but not paragraph styling, but I think there will be many edge cases (for example, the user might be using the word proc…