vim-surround
micro-editor
Our great sponsors
vim-surround | micro-editor | |
---|---|---|
83 | 226 | |
12,951 | 23,740 | |
- | - | |
0.0 | 8.9 | |
10 months ago | 4 days ago | |
Vim Script | Go | |
- | MIT License |
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-surround
-
Difftastic, a structural diff tool that understands syntax
I don't know what exactly you mean by pasting around the second selection, but you can paste selections, registers or even files at specific lines with some vim-fu. If it's generic enough you could write a function or even keyboard shortcut if it's very simple.
I have set ",',(,[,{ in visual mode to cut the selection insert the pairs then paste it back as a very hacky solution, but it gets the job done. If you want something more advanced to add or change anything around the selection tpope has solved that with vim-surround[1].
-
Wrapping a range of lines in an html tag?
vim-surround is likely the plugin answer.
-
How do you manually install plugins
If you don't want to leverage Vim's package feature or you want to put your plugins in some other place, add the folder of the plugin to your :h 'runtimepath'. For example, if you download Tim Pope's vim-surround at ~\Documents\vim-surround, you should add this to your Vim configuration:
-
ShadowVim embeds Neovim inside Xcode
Vim plugins (without UI) work out of the box. Hello vim-surround, argtextobj.vim and whatnot.
-
Vim function to move following word into parentheses?
If you don't insist on staying in insert mode then you can use vim-surround, which is perfect for this: yse
-
Automatically encapsulate or surround existing code with symbol pair
I may be mistaken, but it seems to me that this neat feature comes from this plugin : https://github.com/tpope/vim-surround
- How to surround a paragraph with multiple charaters/symbols?
-
Ask HN: Text Editor with “add prefix/suffix around selected text” feature?
Vim can do this with the following plugin: https://github.com/tpope/vim-surround
I exclusively use the visual mode commands though, because I find the normal-mode commands confusing.
-
markdowny.nvim
e.g. in vim-surround you could just do something like ysiw_ to make a word italics or ysiw*w. (assuming you also have vim-repeat).
-
Neovim config from scratch (Part II)
vim-surround act on surrounding characters (think quotes, braces, parentheses...)
micro-editor
- Modeless Vim
-
Essential Command Line Tools for Developers
To see more screenshots of micro, showcasing some of the default color schemes, see here.
View on GitHub
-
Go: What We Got Right, What We Got Wrong
Not sure these are really popular, but I cannot resist advertising a few utilities written in Go that I regularly use in my daily workflow:
- gdu: a NCDU clone, much faster on SSD mounts [1]
- duf: a `df` clone with a nicer interface [2]
- massren: a `vidir` clone (simpler to use but with fewer options) [3]
- gotop: a `top` clone [4]
- micro: a nice TUI editor [5]
Building this kind of tools in Go makes sense, as the executables are statically compiled and are thus easy to install on remote servers.
[1]: https://github.com/dundee/gdu
[2]: https://github.com/muesli/duf
[3]: https://github.com/laurent22/massren
-
Text Editor: Data Structures
> The worst way to store and manipulate text is to use an array.
Claim made from theoretical considerations, without any actual reference to real-world editors. The popular Micro[1] text editor uses a simple line array[2], and performs fantastically well on real-world editing tasks.
Meanwhile, ropes are so complicated that even high-quality implementations have extremely subtle bugs[3] that can lead to state or content corruption.
Which data structure is "best" is not just a function of its asymptotic performance. Practical considerations are equally important (arguably more so).
[1] https://github.com/zyedidia/micro
[2] https://github.com/zyedidia/micro/blob/master/internal/buffe...
- A nano like text editor built with pure C
-
A simple guide for configuring sudo and doas
There are two main ways to configure sudo.The first one is using the sudoers file.It is located at /etc/sudoers for Linux,and /usr/local/etc/sudoers for FreeBSD respectively.The paths are different,but the configuration works in the same way. A typical sudoers file looks like this. The sudoers file must be edited with the visudo command,which ensures the config is free of errors.Running this command as the root user will result in opening vi by default.If you want to use a different editor you can set the VISUAL environment varaible to the editor you want. For example,if you want to use micro as the text editor run:
-
what terminal emulator do you use and why?
found that micro has dedicated info page for copy paste
-
Microsoft is exploring adding a command line text editor into Windows, and it wants your feedback
I really like micro, a nano-like editor with a very sane, regular people friendly keybinding.
micro: winget install zyedidia.micro
What are some alternatives?
nvim-autopairs - autopairs for neovim written in lua
helix - A post-modern modal text editor.
filemanager-plugin - A file manager plugin for the editor "Micro"
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
kakoune - mawww's experiment for a better code editor
tabout.nvim - tabout plugin for neovim
delimitMate - Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
xclip - Command line interface to the X11 clipboard
emmet-vim - emmet for vim: http://emmet.io/
editorconfig-core-go - EditorConfig Core written in Go
html-to-markdown - ⚙️ Convert HTML to Markdown. Even works with entire websites and can be extended through rules.