11 ms·
A CEO's Guide to Emacs
- melling 11y agoI think helm is the new thing that replaces ido: https://github.com/emacs-helm/helm https://github.com/emacs-helm/helm Ace Jump is pretty incredible. All editors and IDE's should be required to implement it. Here's a video demo: https://www.youtube.com/watch?v=UZkpmegySnc https://www.youtube.com/watch?v=UZkpmegySnc Easy Motion does the same thing in vim: http://www.vim.org/scripts/script.php?script_id=3526 http://www.vim.org/scripts/script.php?script_id=3526
- numlocked 11y agoHelm is terrific. I switched to it from ido in the past 6 months and it's really increased my efficiency. In particular helm + projectile allows me to really quickly switch between projects and navigate to the file I need. I remapped some of the most-used emacs commands to their helm equivalent's and haven't looked back: (global-set-key (kbd "C-x r l") 'helm-bookmarks) (global-set-key (kbd "M-x") 'helm-M-x) (global-set-key (kbd "M-y") 'helm-show-kill-ring) (global-set-key (kbd "C-x b") 'helm-mini) (global-set-key (kbd "C-x C-f") 'helm-find-files) (global-set-key (kbd "C-c g") 'helm-git-grep) (global-set-key (kbd "C-c C-.") 'helm-git-grep-at-point) (global-set-key (kbd "C-x C-d") 'helm-browse-project) My one complaint is getting used to C-z to drill into a directory when navigating the file system with helm-find-files. I haven't et figured out a way to map RET to do anything other than open the selected directory in Dired.
- CodyReichert 11y agoDoes TAB not work for you to drill into a directory? I never have to use C-z in helm-find-files, just a simple `C-x f`, type a few characters, TAB expands the directory, and ENTER opens the file or directory.
- agumonkey 11y agoToying with helm led me to discover decipher-mode, unrelated but worth mentionning.
- ElliotH 11y agoIvy, part of swiper, is also good and more light weight, it's what I use for completion now. (though I used helm for ages and really liked it too). https://github.com/abo-abo/swiper https://github.com/abo-abo/swiper
- AlamPo 11y agoI've switched from ace-jump to avy with De Bruijn hints; it shows all the hints at once rather than in sequence, even if the hints overlap with one another. The downside is that, sometimes, the hints are longer, but I've found it faster to know right away to type "wxyz" than to receive "w", "x", then "y" one at a time. https://github.com/abo-abo/avy https://github.com/abo-abo/avy
- numlocked 11y agoThis is a nice intro guide to emacs, but I think it goes without saying that if your CEO decides to learn emacs from scratch, you are in big trouble. I say this as a dedicated, daily user of emacs and co-founder of a startup. Realistically it takes a year to get the hang of emacs to the point where you are more efficient in it than in other editors. The last thing I want my CEO (and friend and cofounder) doing is battling a weird Drop symlink issue with his .emacs file. But I do agree that org-mode is amazing :)
- pvdebbe 11y agoI don't think it goes at all without saying?! Are all CEOs obliged to use MS Office, arguably inferior editing experience to pure text editing, or be doomed to yakshaving their dotfiles?
- KC8ZKF 11y agoEmacs out of the box works. Unfortunately there is a misconception that you need a 10kloc init.el to be productive. Worse still are the opinionated configurations targeted at newbs.
- judk 11y agoEmacs out of the box requires you to learn new key chords.
- pen2l 11y agoemacs out of the box most definitely does not work well. You could say that vim works out of box -- most vi people don't end up customizing their editors up the wazoo like emacs people do at least. (By the way I say this is as an emacsian)
- Estragon 11y agoYou should file a bug report.
- 11y ago
- taktoa 11y agoI was a bit surprised when I saw the link to the Nix package manager; it seemed rather out of context. I wonder if he just googled Nix and copy-pasted the first result?
- teddyh 11y agoI think he Googled “*nix” and Google ate the asterisk.
- joshstella 11y agoIt was originally *nix, and got changed to Nix and linked in the editing process somewhere. Thanks for the find!
- brandonmenc 11y agoReading this gave me flashbacks. Horrible, horrible flashbacks. I used to live in emacs - for years. Browsed the web with it, controlled music playback (via mpd) with it - everything. Nowadays, imo, a combination of Spotlight, tmux with a hotkey drop down terminal, Evernote, and JetBrains IDEs gets you 90% of the way there. At some point you realize that work requires orders of magnitude more time thinking, reading, and communicating than it does typing. Optimizing your work environment for finger travel just doesn't make sense.
- subsection1h 11y agoEvernote has 90% of the features of Org-mode? The last time I checked, it didn't. Not even close.
- brandonmenc 11y agoWhat I mean is that most people can get most of what they need from something like org-mode by instead using Evernote, Asana, etc. My experience is that I'd set up something like org-mode thinking, "wow, I can't wait to save hours a week by being able to juggle todo lists around at high speed without taking my fingers off the home row!" and like, that would just never be the case. In reality, all I needed was something a little bit better than a dumb text file. ymmv. I'm sure there are power users out there who really exercise these tools to the max. But even then, I question how much time they're saving.
- amttc 11y agoYeah, I agree. I use emacs avidly. I still think for editing raw text it's a fairly nice experience. I like a lot of the features in emacs but I rarely need some of the more advanced ones. In order to leverage them, you need some highly specific use cases. Maybe my brain-meats aren't as myelinated as others, but most people don't want or need the universal pocket knife.
- hammerandtongs 11y ago"time saving" and "without taking my fingers off the home row" is an extremely shallow view of why people pick emacs and org-mode as a major portion of their computational environment. Broadly it's about creating a sort of fabric of textual context around your all of your personal and professional projects. It's about owning your tools as a professional. Orgmode allows you to capture your thinking around a project in a way that's extremely adaptable to whatever structure you need. You can create an outline of arbitrary depth with todo items, appointments, executable computation or latex. There is literally no other environment available with that level of power. Now even if you can assemble this from the bits of flavor of the month web services which of us will still be able to read and use our environment in 2 years? How about 25? Cheers.
- ktamura 11y agoAlthough I am not a CEO (but a marketer), I have a similar setup using Acme. I do all my note-taking inside Acme and have my plumbing logic set up so that all documents/JIRA issues/etc. are a single click away. I think there is something to be said about using a few (if not one) text-centric tool to get stuff done: it's much lower on your cognitive load and wears you out less.
- keithpeter 11y agoA blog post on your setup along the same lines as OP's post would form an interesting counterpoint to this demo... https://www.youtube.com/watch?v=Pydckb9ZU8Y https://www.youtube.com/watch?v=Pydckb9ZU8Y
- rkallos 11y agoI would love to see some of your Acme setup. Emacs and Acme are my two favorite editors, but using Acme is a little less feasible for me due to not having found a proper (3-button + trackball) mouse to use with it. While I was using Acme, though, I did get most of the way there using the mod keys to simulate clicks.
- ktamura 11y ago>Acme is a little less feasible for me due to not having found a proper (3-button + trackball) mouse to use with it. I use Evoluent at home and HP's 3-button mouse on the go (http://www8.hp.com/us/en/products/oas/product-detail.html?oid=403895 http://www8.hp.com/us/en/products/oas/product-detail.html?oi...): while Evoluent is more ergonomic, it's too bulky to be portable.
- digi_owl 11y agowhenever i see a i3 (or similar) setup these days, i keep getting reminded of a Acme demo i viewed. i3 with a bunch of terminals, Acme and Emacs all seem to land on pretty much the same usage scenario via different means.
- na85 11y agoWow. The site loads the text with javascript simply to achieve a fade-in effect. With noscript enabled it's simply a blank page. Fuck this trend in web design, and fuck this site. I hate how javascript-heavy the web has become. Why do I need scripts enabled to read a page of text?
- pen2l 11y agoOhhhhhhh, so that's why so many pages were recently blank for me. I was racking my brain trying to figure out why pages were blank on my default browser with extensions, but not on other browsers.
- dTal 11y agoFirefox's reader mode works well on it, though not on all sites.
- ilurk 11y agoI also experienced the same thing. Could someone explains the tech aspect of this? If noscript is enabled then how is code being executed? HTML and CSS tricks?
- frou_dh 11y agohttps://news.ycombinator.com/item?id=9238739 https://news.ycombinator.com/item?id=9238739
- pdkl95 11y agoBikeshedding, which your link complains about, is offering opinions on minutia instead of addressing the actual problems that actually need discussion. Expressing concern about the trend the web is going - executable code instead of open documents - is a primary concern if we want to preserve what's left of the open web. It's important to call out social problems like this so people get accurate feedback[1] about what is and isn't acceptable behavior. [1] see B. F. Skinner and his box (operant conditioning)
- frou_dh 11y ago
- deleted 11y ago[deleted]
- kayman 11y agoJetbrains IDE is great. I use Eclipse for Java. But emacs is my go to editor. It has his weak points but I find myself always keeping it fired up and using it for any text editing that doesn't require a large IDE. I just wish there was a site to setup Emacs as the ideal IDE for say: - Javascript - Python - Django ...
- Walkman 11y agothere is: https://github.com/syl20bnr/spacemacs https://github.com/syl20bnr/spacemacs There is a Django layer in it, you can start runserver witha keystroke, open settings.py with another keystroke, run all tests, etc..
- curiousdude99 11y agoSeriously, people should stop over customizing their .emacs.d . I use mostly default (community) config from Spacemacs and it works just fine. You can use both vi keybinding and emacs keybinding at the sametime in Spacemacs. I reduced 2k+ lines init.el config to about 200 lines in Spacemacs.
- curiousdude99 11y agoSpacemacs is a better Emacs with Vi keybinding and preconfigured programming modes for major languages.
- znpy 11y agoI used to write small Java MIDlets using just GNU Emacs because the laptop I was using at the time was too old and slow to run NetBeans. I have to say that since the Javadoc format for documentation is the best format ever, I was productive anyway. Actually, it made me get very very quick at browsing documentation and appreciate it. Also, by browsing documentation manually, I got to discover many neat stuff within the default-provided Java packages. ... Did you know you can do neat stuff with java.awt.Robot? ;)
- andrewrothman 11y agoCEO's Guide to Vim: 1. Press `Escape` key 2. ":q!" Jokes aside, text files are a wonderful medium. Not everything can be expressed easily as text, but I highly recommend using it to everybody for whatever can. Emacs may not be the best tool for less technologically literate individuals (for this Atom or Sublime Text are very good), but the format is certainly very useful. I think people should look into using the command line more, as it can be much more productive after a period of learning.
- Walkman 11y ago> If you like the new and shiny and want to get straight to work without much investment of time and mental cycles, it's likely not for you. After I discovered Spacemacs, I somewhat disagree with this, because you get so much funcionality in a well thought package, you don't need much customization at first.
- philsnow 11y agoNobody is going to read this since this post is over a day old, but: Emacs searches not only ~/.emacs but also ~/.emacs.d/init.el (and probably more) places for its init file. So you don't have to mess around with symlinks, you can just have a synced folder that is your ~/.emacs.d and have init.el be at the top of that folder.