Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tuhdo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
tuhdo
11y ago
I'm pretty sure you can do the same thing with expand-region and smartparens combined and is more general than manipulating sexp.
32.
▲
by
tuhdo
11y ago
It's not for Vim anymore but can adapt to many editing styles.
33.
▲
by
tuhdo
11y ago
Well it's still in Beta though but I must say it's still excellent. This is from an Emacs user, currently using holy-mode (basically another way of saying Emacs mode in Spacemacs terminology and it's actually a mode configure
34.
▲
by
tuhdo
11y ago
Also, if you have problems, ask the community: https://gitter.im/syl20bnr/spacemacs
35.
▲
by
tuhdo
11y ago
Great that you are a Spacemacs user now and glad that you like my tutorials. So, could you be more specific about how vim-sexp works? If you want to visual select sexp from symbol and expanding outward, uses expand-region: https:/
36.
▲
by
tuhdo
11y ago
Unite, fireplace, rainbow parens, vim-sexp and vim-surround are all available in Emacs with its own and better implementation. If you want Unite equivalent, check Helm which is created before Unite and is still actively maintained. See one
37.
▲
by
tuhdo
12y ago
Then, you can just think of it as a prototype that just working with text.
38.
▲
by
tuhdo
12y ago
I agree Srecode needs to improve its documentation. It took me a while to learn to use it by reading the actual templates written that come with CEDET. I may write a tutorial for it at some point. But not now. You can have a look at a sampl
39.
▲
by
tuhdo
12y ago
It's quite more popular than you think. `M-x term` is an example. It's a full-blown terminal emulator in Emacs that runs entirely in another process. Here is another example of async grep/ack/ag: http://tuhdo.
40.
▲
by
tuhdo
12y ago
What's wrong with Company: http://company-mode.github.io/ ? It can give me a large amount of completion candidates without any issue. It's also smooth. Maybe you are using auto-complete?
41.
▲
by
tuhdo
12y ago
> Just a simple example is that in xptemplate (and probably any respectable snippet plugin in vim) you can type a part of a snippet name, hit TAB, and it will expand the snippet whose partial name you typed (assuming there's no exa
42.
▲
by
tuhdo
12y ago
You can have decent smart completion in C++ like this: http://tuhdo.github.io/static/c-ide/semantic-boost-demo.gif Semantic is the equivalent to Intellisense in Visual Studio, though it's less smart on C++ co
43.
▲
by
tuhdo
12y ago
At least for C, with GNU Global I can jump around Linux Kernel effortlessly, while I put it into VS and VS just hanged. For C++, well hopefully we have some new language to replace it in the future. But at least for jumping to symbol defini
44.
▲
by
tuhdo
12y ago
Fair enough :) I just wanted to clarify in case someone read your comments and have a wrong impression that Emacs is a text editor like Vim. Nothing more, nothing less.
45.
▲
by
tuhdo
12y ago
i think skewer-mode is close enough: https://github.com/skeeto/skewer-mode for live editing. I don't think that inlining feature really help much. Generally, if you want to access a css element in Emacs, you jump
46.
▲
by
tuhdo
12y ago
> But it was written as just a text editor No it's not. It is really a big REPL optimized for text processing. You compare Emacs to the like of Python, not just some random editor. Unlike other editors that have an optional extens
47.
▲
by
tuhdo
12y ago
You can view the demo here: https://tuhdo.github.io/static/emacs-read-pdf.gif
48.
▲
by
tuhdo
12y ago
If you want image display, there Emacs has it eons ago, and people write plug-ins for it, like this one: https://github.com/josteink/wsd-mode Emacs is also a fine PDF reader. I can search text in the PDF file with high
49.
▲
by
tuhdo
12y ago
> Yes (ctrl+alt+up). Does it work in the source as large as the linux kernel that shows you every possible files? i.e I have a file named `fpu.c`, I want all `fpu.h` in Linux. And Emacs does not work with only C/C++, but work for an
50.
▲
by
tuhdo
12y ago
Docview is great, but not enough. He mentioned pdf-tools: https://github.com/politza/pdf-tools , that enhances doc-view with outline for table of contents and annotations.
51.
▲
by
tuhdo
12y ago
Emacs also has that preview feature when you move the highlighter to a selection. However, I feel it annoying because screen keeps changing while I narrow to a file or a set of files, and luckily it is off by default. How about other thing?
52.
▲
by
tuhdo
12y ago
Can Sublime Text/Atom do all of this here: https://news.ycombinator.com/item?id=8639804 ? I want to jump to any file at any time regardless of where I am in the project instantly, can Sublime do it? And even if a proje
53.
▲
by
tuhdo
12y ago
Emacs certainly is not just a text editor. Emacs is just a big REPL, a REPL with a powerful text editor instead of minimal command line interface. Right on the homepage: http://www.gnu.org/software/emacs/ , it is w
54.
▲
by
tuhdo
12y ago
Think it the other way around: if someone can come up with a solution 5x fater than you and also type 3x faster than you, then how long you are going to catch up with him.
55.
▲
by
tuhdo
12y ago
There's no correlation but at least it makes you more productive. Like using an IDE or good editor does not make you a good programmer, but it could improve your productivity in the right situations. For example, I don't want to w
56.
▲
by
tuhdo
12y ago
You never need to remember keyboard shortcuts for major modes. When you forget, you can always bring a "cheatsheet" using "C-h m" which lists all key bindings of current major modes and minor modes. Every time I'm n
57.
▲
by
tuhdo
12y ago
You should see my other answer to see what Emacs is capable of: https://news.ycombinator.com/item?id=8639804 Definitely not less than Sublime.
58.
▲
by
tuhdo
12y ago
Emacs can make Vim a subset of it. You should check spacemacs: https://github.com/syl20bnr/spacemacs . It was made by Vimmers and is ambitious: it wants to replace not only the "editor" inside Emacs, but also
59.
▲
by
tuhdo
12y ago
I think what you described is code folding. Emacs/Vim has that too. And more to that. Look for the demos in my other answer in this thread.
60.
▲
by
tuhdo
12y ago
I collected them from my guides: http://tuhdo.github.io/ , so it's quick if you don't account the time to write the guides.
More ›