Live data from Hacker News

Just Use Sublime Text

delvarworld.github.com

261–270 of 296 posts

Re: Just Use Sublime Text

#261
post #83

Earlier quoted context omitted.

As someone who uses a keyboard 98% of the time, but who uses a GUI editor and the mouse when it makes sense, I'd say the mouse is useful for several things, and what it IS useful for WILL be faster than what someone can do with a keyboard. The clear win is using a powerful GUI-based editor that has tons of keyboard commands. Bonus points for being on Windows or Linux (i.e., not Mac OS) so you can navigate/BROWSE the…

Just so you know, in Mac OS you can navigate the menu with keyboard. Try Ctrl+F2 to focus on the menu and then arrow keys

I'll have to give that a try. I've had countless people tell me it COULD be done, but when I drilled down what they were really telling me was that there were keyboard shortcuts.

If you're telling me I can hit Ctrl-F2, then that's at least a step in the right direction. Thing is, it's several steps behind where I would be on Windows (or most Linux desktops), because I can just hit Alt-F and it opens the file menu, or Alt-T for the tools menu, or what-have-you.

Still, it's better than nothing. Thanks.

Re: Just Use Sublime Text

#262
post #11

In my opinion, relying on keystrokes for doing things is not a problem but a future. If you use Sublime Text very often and try to learn tricks you will find yourself touching mouse less and less. The problem with Vim is that it is not designed for my shiny MacBook Air keyboard, it can't get benefit from all modifier keys other GUI text editors uses. I don't know much about computer history, but I believe keyboards t…

They actually had META, SUPER, and SHIFT (someone please correct me if I'm wrong on which ones. I'm trying to remember which one came from ALT, and which one we now use the 'Windows' key for)

The point is, all modern keyboards basically have what keyboards have always had (unless you're counting those old Lisp machines or a 5250 for an AS/400 or something) 4 modifier keys.

Re: Just Use Sublime Text

#263
post #83

Earlier quoted context omitted.

Just so you know, in Mac OS you can navigate the menu with keyboard. Try Ctrl+F2 to focus on the menu and then arrow keys

I'll have to give that a try. I've had countless people tell me it COULD be done, but when I drilled down what they were really telling me was that there were keyboard shortcuts. If you're telling me I can hit Ctrl-F2, then that's at least a step in the right direction. Thing is, it's several steps behind where I would be on Windows (or most Linux desktops), because I can just hit Alt-F and it opens the file menu, or…

I don't use the menu much so I tend to use the trackpad for that. You could also try KeyCue [http://www.ergonis.com/products/keycue/ ]. You press the Command key for a while and all the options are shown in a popup.

Re: Just Use Sublime Text

#264
post #105
post #83

Earlier quoted context omitted.

Just so you know, in Mac OS you can navigate the menu with keyboard. Try Ctrl+F2 to focus on the menu and then arrow keys

You mean Fn+Ctrl+F2, which requires repositioning both my hands, thus defeating the purpose.

I didn't say it was easy, just possible :P

In any case, I prefer to use the F keys as standard functions keys.

Re: Just Use Sublime Text

#266
$ sudo apt-get install sublime-text Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package sublime-text

Doesn't seem to be available.

Re: Just Use Sublime Text

#267

Earlier quoted context omitted.

In my experience (11 years with Emacs, then 8 years with Wily/Acme-SAC/Acme) using the mouse is much more efficient than typing to move the cursor and select text. Acme takes it a step further by binding cut and paste to mouse chords. Guide files are the big win, though, since I edit and reissue commands (highlight and middle-click) instead of retyping them.

I tried Acme, and though it had some good ideas, I found that the execution was sometimes poor. I especially disliked that so much emphasis was put on the mouse with no way to fall back to the keyboard.

Extra ways to do the same thing is the enemy of simplicity and orthogonality. A major reason Plan 9 and Inferno are so small (the plan9port layer is 51.7MB source, the Inferno VM OS is 51.6MB source), and easier to grasp in one person's mind, is that the old Unix guys ruthlessly stripped out extra ways of getting things done, and made sure they ways that were left played well with each other. I keep a much smaller working set of unixy information in my head, while working daily with Acme and Inferno's userland, than I had to using Solaris or Linux and vi or Emacs.

The way I work in Acme, commands (whether built-in or my own) are presented in front of me for execution, so I edit and highlight and execute them. I don't take time out of thinking about code to think about the magical key combinations that do whatever. So it's more muscle memory to commands on the screen and sight recognition than remembering keystrokes. I do recall that many of my Emacs commands were muscle memory, but the more I wanted to use, the harder it was to remember them all. I lost them quickly when I stopped using emacs. Years from now the commands I used to manipulate files in a given directory will still be there in the guide file, waiting for me to run them without error. (I help this along by directory-specific logging of interesting commands.)

I was especially happy to get away from the hundreds of extra options in the GNU tools userland, which made entire other tools obsolete (e.g., sort -u obsoletes uniq, except when you need to uniq -c or uniq -d). All these options are the enemy of clarity in code, so you can more confidently write portable, straightforward scripts, go back to them later and actually read them.

Re: Just Use Sublime Text

#268
post #75

Earlier quoted context omitted.

Just out of curiosity, what made you decide to change? I've never felt a strong motivation to not just keep using pico/nano, actually putting effort into learning a text editor strikes me as the weirdest hobby ever.

One time I started editing an nginx.conf file in nano while setting up a remote server on Linode. I forgot to sudo when I opened the file and couldn't save my changes. I might be an idiot here but (could I have resolved this in nano?)... but I'm fairly certain this would have been a non-issue in Vim.

  " Use w!! to sudo save after file is already opened
  cmap w!! w !sudo tee % >/dev/null
See Nathan Long's awesome answer for an explanation: http://stackoverflow.com/questions/2600783/how-does-the-vim-...

Re: Just Use Sublime Text

#269
post #150
post #86

Earlier quoted context omitted.

I got the point just fine, I just didn't speak to it. You feel that for Vim vs Sublime, one can only be considered superior to the other when context is taken into account, correct? Well, that's not the case with driver heads. There isn't a serious application that I can think of where slot screw heads would be superior for either carpentry or electronics. Or any discipline, really. Their only benefit is that in low-…

Until you need to open a can of paint. HA!

In-deed! As a tool, a slot screwdriver is very useful.

Re: Just Use Sublime Text

#270
post #49
post #22

Earlier quoted context omitted.

I agree. I would say even if you are using Sublime Text don't touch the keyboard. You can do EVERYTHING without mouse in sublime text.

>Don't touch the keyboard >You can do EVERYTHING without the mouse What are you using to edit text with? The power of thought?

haha, that was a typo.
Post reply on HN