expand-region.el
evil
expand-region.el | evil | |
---|---|---|
16 | 105 | |
1,334 | 3,243 | |
- | 0.9% | |
5.2 | 8.0 | |
4 months ago | 10 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
expand-region.el
-
Question for Meow users
I don't use Meow, so this may be wildly off the mark (no pun) here. But I use and really like expand-region for selection and marking. With modal editing, I imagine it would be extremely fast and intuitive.
-
ts-movement: a package to navigate the tree-sitter syntax tree (supports multiple-cursors)
I think the following packages would fit your wishlist, as it is very similar to mine. As mentioned in the replies, there is (https://github.com/magnars/expand-region.el) and (https://github.com/mickeynp/combobulate). I regularly use (https://github.com/Fuco1/smartparens).
-
What packages do I need to for the best elisp editing environment?
Paredit, Speed-of-thought lisp, Helm, perhaps Lispy but I am not using it myself. I found expand-region to work really well when writing and modifying elisp. lisp-extra-font-lock if you want some more blink (and font-lock-studio). Helpful is very good to have instead of built-in help, it displays the source code by default as well as symbol properties. It is a very informative learning experience to see how built-in stuff is implemented. I am quite lazy to press extra in built-in help to see the source code, but with Helpful, you get it auto in the same window, whicih is great for learning. Seeing symbol properties is sometimes a time saver so you don't have to M-: and type an Elisp function to see the symbol properties when debugging. Learn Edebug, it is very useful built-in application for Emacs Lisp development.
-
vanish.el: hide parts of a buffer
Exactly. Consider you have point in a table definition. You can programmatically find which org element you are in, at least for org-mode. Or in a defun for elisp-mode, a sentence or paragraf in plain text and so on. You could just press a shortcut, and based on major-mode you could find boundaries of the element and put it in hidden-list. It would be really fast to work that way. I don't know if it already exists in some package. Or you could go for somewhat easier version, and just check if a region is active, and if it is, hide region, and if not, hide current line, or based on mode, hide element at point. That way we can easily expand/contract region with er/expand-region and press a key to temporary hide/unhide it. It is not difficult to write a function to do that based on text properties. Thing-at-point might be useful here too.
-
Why not use Evil in 2022?
https://github.com/magnars/expand-region.el is your friend. I use the built-in equivalent of it in IntelliJ all the time. it's a bit like a vi text objects in the simplest possible way.
-
Paredit Mnemonics for Slurping and Barfing Lisp Symbolic Expressions
Thanks, I will give paredit a shot.
I'm a regular emacs user, but I normally use expand-region[1] and cut/paste to edit lisp code. Expand-region usually knows what I want to move around after just one or two calls, only requires one key binding, and has visual feedback. And it works great in every language I have used.
https://github.com/magnars/expand-region.el
-
Sharing my first emacs extension: csharpto.el
One thing that I always missed is the ability to select a whole function in C#, but I thought I just didn't know the right package or it was something trivial to do ad-hoc. Surprisingly, up to these days I still couldn't find anything. I bumped into the expand-region package at some point, which is awesome, but still something was missing. After going through the Emacs Lisp Intro tutorial, I learned a bit how to search things in a buffer, and I was also editing csharp files every day, so I decided to try to implement the functions myself. Fast forward some weeks, here I am, with a smile on my face :)
-
Is there a way to highlight the content inside parenthesis like Kate does?
The package for growing the selection is the excellent expand-region by Magnar Sveen
-
Looking for evil-mode resources for non vim users emacs beginners
If you want to try out some third-party packages in the beginning, I think the most "bang-for-your-buck" you'll get is with Avy. Also, expand-region. And specifically for writing: olivetti-mode, flyspell, dictionary, and Nicolas Rougier's Nano and Elegant Emacs setups.
-
Effective and efficient text editing using Emacs (Alternative to Evil)
You will probably like expand-region.el. It is fantastic for selecting inside brackets, quotes, etc.
evil
-
From Doom to Vanilla Emacs
evil mode
-
Packages that you would like to be in emacs core ?
Since we already have vyper-mode, why not add Evil to the stack?
-
Ask HN: Does anyone Lisp without Emacs?
2 stripe blue belt here! I used to use Vim for everything other than Java development and have now adopted Emacs in the same way. I am using it for Clojure and Common Lisp development along with org mode, irc, rss, git and file management
I started with Evil mode and then moved to Xah fly keys before sticking to the emacs bindings. Having the caps lock key bound to CTRL helped me a lot. I don't know if it makes that much of a difference for Emacs but using the DVORAK layout has helped my fingers
There are other bindings you can try like Meow or God mode but I don't know what the adoption rate is like for them. Emacs gives you the flexibility to set it up as you please. As others have mentioned, there may be other keyboard options that might be more helpful as well
https://github.com/emacs-evil/evil
-
Emacs Is My New Window Manager
If you already know Vim, you should probably not use Emacs without Evil:
https://github.com/emacs-evil/evil
It gives you comprehensive Vim bindings so what you need to learn to be comfortable in Emacs is very little. As a bonus, it also keeps your RSI risk unchanged.
-
Imaginary Problems Are the Root of Bad Software
Emacs is a text ecosystem. And it's trivial to add these shortcuts. Evil[0] basically rewires everything to be Vim.
[0]: https://github.com/emacs-evil/evil
-
Is orgmode really that much better than an equivalent workflow using vim + other tools?
I would *highly* recommend using vim keybindings if you're just getting into it (Doom or just evil). I switched from vim to emacs and tried to rough it with the default keybindings thinking that otherwise I wasn't /really/ using emacs, but I was wrong! I've been using org-mode/emacs for ~2 years now and I've slowly been migrating everything into it as I find useful tools/modes/etc (and now thanks to u/ilemming I have ~12 more to experiment with ð)
-
Switching from Emacs. My experience
Despite using Emacs as my main editor, I was extremely familiar with Vim since I also used it frequently, and was able to use it quite well, especially because I also used [evil](https://github.com/emacs-evil/evil) in Emacs since Emacs's native keybindings are uncomfortable to use. I never used Vim as my primary editor though because it was cumbersome to configure. As many people say, Vimscript just feels wrong, so I gave up on trying to customize Vim.
-
Is it possible to use vim like navigation and control everywhere on the windows/mac applications?
uhm... this maybe? https://github.com/emacs-evil/evil
-
Avarege traaaArch user be like
doom is a set of configuration files (to put it lightly ð ) for emacs, a text editor with really really powerful configuration abilities -- your "config files" are actually code in a full-fledged programming language, so people have done things like built package managers in it, or written full emulators for other text editors
-
Cursor seems to get stuck when scrolling, need help fixing.
Does it look like this? https://github.com/emacs-evil/evil/issues/1778
What are some alternatives?
evil-guide - Draft of a guide for using emacs with evil
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
.emacs.d - My current Emacs setup.
lsp-mode - Emacs client/library for the Language Server Protocol
meow - Yet another modal editing on Emacs / įŦæįžčū
spacemacs - A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
elegant-emacs - A very minimal but elegant emacs (I think)
Visual Studio Code - Visual Studio Code
whole-line-or-region - In Emacs, operate on current line if no region is active
VSpaceCode - Spacemacs like keybindings for Visual Studio Code
easy-kill - Kill & Mark Things Easily in Emacs
portacle - A portable common lisp development environment