Comments (6)
Oh boy I can already tell this is going to be hard to get used to... I really don't think I want my editor to wrap lines
It's impossible to tell now that [parts/title]
is nested inside [title-area]
.
from corgi.
Interesting, I tend to not have long lines like that. I hit M-q
habitually as soon as lines start getting longer. Works well on comments, strings, and text content like markdown/org-mode.
Judging by your screenshots this is showing whitespace that isn't actually there (the indentation), which seems more magic than I'd like for corgi. I personally have no issue with your first screenshot. It shows me what's in the code, which is a couple of excessively long strings.
from corgi.
Before:
After hitting M-q
from corgi.
I agree breaking down lines at 80/120 char is the optimal solution, but unfortunately that's not always the case for every code you encounter (this usually is a problem html files).
Also, what happens when M-q
line width set is larger than your window split size? We run into the same word wrapping issue. This is why I like the magic indentation to keep things aligned regardless of my window size / line width. This is also the default behavior in VSCode and a lot of other modern editors.
We can keep this open for now, if anyone else needs it :)
from corgi.
The snippet you posted I think is small enough to qualify as "just loading a package + some glue", so it doesn't necessarily need to be its own package. I'm suprised this is what "modern editors" do, it doesn't seem right to me :) but I'm going to drop your snippet into my user config to test drive it for a bit.
from corgi.
I think the conclusion here is that this is a snippet that people can easily add to their config if they so please. Something we could/should think about if if there's a good place where such snippets could live. I think it would be neat to have a "next steps" somewhere, where after you have the base config going you can browse some of the additional stuff that people install and configure. Will open a separate issue for that.
from corgi.
Related Issues (20)
- Corkey how do I define only insert mode commands? HOT 1
- Consider replacing which-key HOT 4
- Status and direction? HOT 6
- corgi-stateline not working HOT 8
- Emacs version and compatibility HOT 2
- Where to put "snippets"? HOT 1
- Smart completion packages HOT 6
- Creating a Corgi github org HOT 14
- Do we actually want evil-unimpaired HOT 5
- Corkey grammar question HOT 4
- clj-refactor, clj-kondo, clojure-lsp HOT 6
- Corgi key binding policy HOT 1
- evil-escape package for alternative Esc keybindings HOT 2
- Update straight.el URL
- What is the best way to refactor in corgi? HOT 3
- Integrating 'jj' or 'jk' into corgi config. HOT 1
- Looking up functions HOT 2
- Corgi is not initialising correctly, error: could not find package string-edit HOT 6
- Typo User instead of corgi HOT 2
- Unable to boot cider off a fresh corgi install? HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corgi.