vim-surround
emmet-vim
Our great sponsors
vim-surround | emmet-vim | |
---|---|---|
83 | 30 | |
12,951 | 6,334 | |
- | - | |
0.0 | 0.0 | |
10 months ago | over 2 years 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.
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...)
emmet-vim
- Wrapping a range of lines in an html tag?
- reactjs styled-components auto-completion
- What tools you use to write some simple html and css
-
Emmet does not seem to work
I installed emmet using packer.nvim. The plugin seemed to be installed correctly without any errors.
-
Frustrating beginning with Neovim
I tried emmet-vim, but it's only working in html files
-
Help me set up vim for linting and a file tree please and some other stuff
It sounds like vim-emmet would be right up your alley. If you don't use a Vim package manager, install it by git cloneing it into a folder named ~/.vim/pack/plugins/start/ on Unix/macOS or $HOME\vimfiles\pack\plugins\start on Windows (create it beforehand if it doesn't exist), then after you've :EmmetInstalled it into your buffer, you can use the , mapping after the ! to write the Emmet expansion for the HTML boilerplate; Emmet expansion is a very useful but quite complex feature and you can read more on it in [https://docs.emmet.io/](Emmet's documentation).
- Is there an any way to use emmet completion (e.g. df -> display: flex) inside of styled-components in tsx files in nvim?
-
Anybody use Emmet for React/typescript development?
I've tried emmet-vim but it seems to be imperfect with tsx, e.g. it turns `const a = div` into ` const a
-
What are your must-have vim/nvim extensions?
mattn/emmet-vim - Impossible to do HTML/CSS without
-
anyway to make tags autoclose i.e in jsx or html files
And I often use emmet (https://github.com/mattn/emmet-vim) or snippets (https://github.com/rafamadriz/friendly-snippets) for creating tags, and vim-surround (https://github.com/tpope/vim-surround) for adding/deleting surrounding tags.
What are some alternatives?
nvim-autopairs - autopairs for neovim written in lua
nvim-lspconfig - Quickstart configs for Nvim LSP
emmet-ls - Emmet support based on LSP.
vim-lsp - async language server protocol plugin for vim and neovim
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
vim-react-snippets - Useful snippets for developing in React (Javascript and Typescript)
vim-react-snippets - :scissors: React code snippets for vim
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
tabout.nvim - tabout plugin for neovim
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
delimitMate - Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
nv-ide - Neovim custom configuration, oriented for full stack developers (Ruby on Rails, ruby, php, html, css, SCSS, javascript)