vim-python-pep8-indent
kakoune
vim-python-pep8-indent | kakoune | |
---|---|---|
12 | 110 | |
779 | 9,581 | |
0.3% | - | |
0.0 | 9.7 | |
about 1 year ago | 5 days ago | |
Ruby | C++ | |
Creative Commons Zero v1.0 Universal | The Unlicense |
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.
vim-python-pep8-indent
-
If you have treesitter, make sure to disable smartindent to have a sane and normal indentation, especially in Python
Interesting. I’ve always used default auto-indenting and explicitly turn it off in Treesitter as I’ve found it messes it up. The ultimately improvement for me has been this plugin.
-
How to use tabs instead of spaces in python for neovim 0.9 with editorconfig
Use Vimjas/vim-python-pep8-indent and forget about all your Python headaches.
-
Weird indentation on python
I've always been very happy with vim-python-pep8-indent. But you need to enable additional_vim_regex_highlighting in treesitter which currently does not play well with spell being on. Alternatively you can rely on the indent feature of treesitter but it's currently experimental and has some issues with python: * https://github.com/nvim-treesitter/nvim-treesitter/issues/4651 * https://github.com/nvim-treesitter/nvim-treesitter/issues/4650
- [Q] indentation question
-
Why autoindents never work properly with Python files?
Try this plugin for python indentation
-
Indenting for python using mason.nvim
A good old indentation plugin vim-python-pep8-indentation
-
[Q] Auto indentation for python files
The only thing that worked really well for me and which I still use is https://github.com/Vimjas/vim-python-pep8-indent
- what do you guys use treesitter for?
-
Question about nvim, LSP and auto-indenting code
https://github.com/Vimjas/vim-python-pep8-indent works well, but it's slow.
-
A few things I believe would help (neo)vim tremedously
Python requires a third party plugin to be usable, WTF?
kakoune
- Multi-cursor code editing: An animated introduction
-
Helix: Release 24.03 Highlights
Helix's modal editing is based on Kakoune's modal editing which is like an evolution to Vim's modal editing. You can think of it as being always in selection (visual) mode. https://github.com/mawww/kakoune?tab=readme-ov-file#selectio...
- Kakoune
- Kakoune Code Editor
-
A tutorial for the Sam command language (1986) [pdf]
And while it doesn’t use the sam language precisely, I think in the broader “postfix Vi with visual feedback” category Kakoune[1] also warrants mentioning. The command language, in my experience, feels much more logical than that of Vis coming from a blank slate (things might be different if you come from Vim, but even when I used Vim regularly I never used the editing language that much exactly because I could never remember the damn thing).
And having mentioned Kakoune it’d probably be unfair to then not mention Helix[2]. It has a very similar editing language, but it’s a fairly anti-Unix everything-bolted-in affair on the inside (“everything works out of the box” being the advertising take) compared to Kakoune’s Acme-inspired no-scripting scripting (there’s an ex-style command to exec a user program that can then drive the editor over stdio RPC, a set of hooks, and that’s it). So if you’ve come for the Plan 9 feels, I don’t expect Helix to be that appealing. It’s still a good editor, nevertheless.
[1] https://kakoune.org/
[2] https://helix-editor.com/
-
What is the best book for complete beginner?
You can take a look at kakoune. The source code (excluding documentations, test cases, customizations etc.) is less than 40k. It is, IMHO, a show case of a C++ project in use.
-
Why Kakoune
> I wonder if the author has ever heard of vis[0]
Yes.
https://github.com/martanne/vis/wiki/Differences-from-Kakoun...
https://github.com/mawww/kakoune/wiki#onboarding
> which imho fulfills far better each one of those premises
Not very motivated for such a harsh critic..
-
Understanding the Origins and the Evolution of Vi and Vim
I've been using Vim for years, but if there was one thing I could change, it would be the verb-noun order. The Kakoune[1] editor behaves mostly like Vim, but where Vim has `dw` as "delete word", Kakoune has it backwards: `wd`.
It might sound minor, but by placing the range first, Kakoune can give a preview of what will be changed. The longer or more complicated the command, the more this feature shines.
Strictly better as far as I know. A shame my muscle memory, and all default installations, are still stuck with Vim.
[1] https://kakoune.org/
- Ask HN: Where do I find good code to read?
-
Helix editor: Make HTTP requests and insert JSON
Helix is a postmodern text editor built in Rust built for the terminal. It is inspired by Kakoune, another Rust based text editor. Helix has got multiple selections, built-in Tree-sitter integration, powerful code manipulation and Language server support.
What are some alternatives?
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
helix - A post-modern modal text editor.
nvim-autopairs - autopairs for neovim written in lua
micro-editor - A modern and intuitive terminal-based text editor
vim-polyglot - A solid language pack for Vim.
vis - A vi-like editor based on Plan 9's structural regular expressions
neovim - Vim-fork focused on extensibility and usability
Yuescript - A Moonscript dialect compiles to Lua.
lsp-format.nvim - A wrapper around Neovims native LSP formatting.
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
vim-glsl - Vim runtime files for OpenGL Shading Language