dotfiles
vim-surround
Our great sponsors
dotfiles | vim-surround | |
---|---|---|
18 | 83 | |
63 | 13,035 | |
- | - | |
9.5 | 0.0 | |
19 days ago | 10 months ago | |
Vim Script | Vim Script | |
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.
dotfiles
-
Whats Your VIMRC Setup For 2023?
I've just noticed my vimrc right now has exactly 600 lines... not counting the rest of files of course
-
any reference about plugins (from github preference) for wforrite using Markdown
I only really needed to set few settings + extend syntax folding to comfortably write Markdown
-
How to manage Vims dot files (version >8.2), if there are complete plugins inside .vim?
And I don't know anything about stow as I just use my own simple install script
-
hjkl vs jkl; - is it crazy to want to switch to the latter?
I have public GitHub repository with all my dotfiles under MIT license. On private machine I make changes to them; on work machine, I just clone/pull that public repo. Eventual changes done during work time I just remember to implement at home again.
-
Little vim window to paste to clipboard
Like this one I have in my dotfiles?
-
Share your vimrc with comments what you intended the changes for. Here's mine.
Well, I'm not gonna comment every tiny bit (as it's usually obvious from the code already), but if you are interested in reading others configs: my vimrc alongside the rest of my Vim configuration
-
What is your setup for developing in C?
Arch Linux (or WSL2 on Windows)
-
My Self-starting vim configuration
You start like this and end like this ;)
-
Should I use vanilla Vim instead of Vscode?
Read configs of more experienced users (here's Jorengarenar's, for example)
-
Language server protocol
I use vim-lsc (my config)
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].
[1]: https://github.com/tpope/vim-surround
- Surround.vim: Delete/change/add parentheses/quotes/XML-tags with ease (2022)
-
Macro usage of replace
ysw https://github.com/tpope/vim-surround basically i surround the word with " So basically i wanted to surround the first word in line qoutes and then replace the first occurence of = with : Example:
-
Wrapping a range of lines in an html tag?
vim-surround is likely the plugin answer.
-
Quick Text Shortcuts?
If you have Tim Pope's vim-surround plugin, you can also add this to your Vimrc:
-
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:
-
How to select multiple lines which are a 'component' quickly?
I'm using the vim-surround plugin by tPope and I know I can do ysw to surround words with whatever tag i want, I also know about cst (Change surrounding tag). But I'm wondering if there is a quick and easy way to wrap components. Some components might have closing tag and some components might not.
-
Is there anything like "vim-surround" built-in?
Is there any similar plugin to https://github.com/tpope/vim-surround?
-
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
What are some alternatives?
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
nvim-autopairs - autopairs for neovim written in lua
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
targets.vim - Vim plugin that provides additional text objects
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
nvim-lspinstall - Provides the missing :LspInstall for nvim-lspconfig
tabout.nvim - tabout plugin for neovim
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
delimitMate - Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
vim-lsp - async language server protocol plugin for vim and neovim
micro-editor - A modern and intuitive terminal-based text editor