Live data from Hacker News

'Using Emacs' Series

cestlaz.github.io

101–106 of 106 posts

Re: 'Using Emacs' Series

#101
post #98
post #42

Hey, has any of you guys been using emacs for modern front-end development? I’ve been looking for video tutorials (or at least for demos) on this subject, but could not find anything useful and practical. How is emacs’ support of JSX? Of typescript and TSX? Of flow? Of CSS in JS? Of eslint? Does it keep up with the crazy speed frontend development is changing, or has it remained far behind (being used mostly for the…

(Disclosure: I'm the author of rjsx-mode) The best setup I've found is to use js2-mode for .js and rjsx-mode for .jsx, which parse the buffer for syntax highlighting, local refactoring (with js2r) and basic linting. For typescript, use typescript-mode. Flow support is quite bad ATM nvm.el replaces the shell scripts from nvm. Add a jsconfig.json to your project root and enable tide-mode for completion. This has worked…

Thank you! That was really helpful.

Re: 'Using Emacs' Series

#102

Earlier quoted context omitted.

I was not trying to avoid anything. I've been using Emacs for several years (and the same keybindings work in Bash and similar keybindings are available in many other editors/IDE's and in Firefox via plugins or settings). For me, using Spacemacs would be limiting because not every mode has bindings and none of the official Emacs documents and most of the unofficial blogs and SO questions etc. don't describe keystroke…

I dunno. I think it's fine. For new users it has batteries included. For existing users, it's a lot of common-sense rules and a fairly simple mapping anyways. I apologize for misinterpreting your comment, though. As for notepad, I will give up org mode when you pry it from my cold dead hands. Can't imagine not using structured text and navigation for notes, outlines and task management.

I don't think Spacemacs isn't fine. That doesn't mean I would recommend it generically. My generic recommendation is vanilla Emacs because it is easier to find the right answer when there's a problem and more people capable of providing informed help.

Re: 'Using Emacs' Series

#104
post #12

What is the best way to reduce pain from using ctrl with pinky finger? (emacs pinky?)

For me, it's been keyboards with ctl and alt on both sides. Thanks to Xah Lee [1]. This rules out Macbooks (and most laptops) and favors Thinkpads, though currently I have a Dell Precision laptop and it has ctl and alt on both sides but the ctl's are not symmetrically placed and it is a bit annoying and not as good as the Thinkpad it replaced but it is workable. On my desktop, I have a Microsoft Natural Ergonomic 400…

Good points. I also swap Ctrl and Alt on both sides, using my thumbs for Ctrl. Using the opposite hand to press the modifier is analogous to how a touch typist uses the shift keys. For desktop use, I now use a Kinesis keyboard, again with symmetrical modifiers but all as thumb keys.

Re: 'Using Emacs' Series

#105
post #12

What is the best way to reduce pain from using ctrl with pinky finger? (emacs pinky?)

Build a keyboard that puts Ctrl and Alt under your thumbs, or have one built for you.

Or, more easily, you could just buy one: https://www.kinesis-ergo.com/shop/advantage2/. I've used a Kinesis Advantage at home and at work for 10 years now.

Re: 'Using Emacs' Series

#106
post #95

I'm a Vim user that did try to get into Emacs with evil-mode. However, I got annoyed when dired wouldn't let me user the Vim movement keys and went back to Vim.

You need to check out Spacemacs[1]. It's set up so that as soon as it's installed you can use it efficiently using your vim keys.

It's got a ton of great defaults and I'm considering changing over full-time. I've been using it quite a bit lately and love it so far.

[1]https://spacemacs.org

Post reply on HN