auto-pairs
nerd-fonts
Our great sponsors
auto-pairs | nerd-fonts | |
---|---|---|
20 | 238 | |
4,066 | 51,216 | |
- | - | |
0.0 | 9.7 | |
5 months ago | 6 days ago | |
Vim Script | CSS | |
- | GNU General Public License v3.0 or later |
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.
auto-pairs
-
How do I implement this effect in Neovim?
This plugin, jiangmiao/auto-pairs. Has a nice feature called Fly Mode where you can escape from any brace or quote with the ending pair no matter where you are while still being in INSERT mode. I'm trying to make this plugin work but having issues. Does anyone know how I can go about implementing this?
-
Favorite vimrc configs for coding?
Having said this, there are some useful language independent extensions: jiangmiao/auto-pairs, tpope/vim-commentary, preservim/tagbar, junegunn/vim-peekaboo
-
Making AutoPairs work with '< >'
You can load a plugin inside of your vimrc using the :runtime command. I'm assuming you're using https://github.com/jiangmiao/auto-pairs -- the initialization code for the plugin should be in plugin/auto-pairs.vim, so you can put this in your vimrc:
- Do vim users tend to enter insert mode and exit insert mode often in order to do simple movements using hjkl while writing? Or do you switch between arrow keys in insert mode and hjkl depending on what mode you're in?
-
oh, happy it ended
- packer instead of plug. it's written in lua and optimises - vim-autopairs instead of auto-pairs. it's written in lua + extremely important: it dosn't put pair of quotes if you're right before the word. it puts only one, so you don't have to manually delete second one -nvim-tree over nerdtree. it's written in lua, isn't this enough?)
- Skip over bracket plugins
-
"Unknown functions" called after deleting a plugin
I've recently switched from Pathogen to VimPlug and started installing new plugins. One of them was auto-pairs, which I promptly uninstalled. However, Vim looks for functions from this plugin when I try to type, preventing me from writing anything. For example, when I try pressing space, Vim complains about E117: Unknown function: AutoPairsSpace.
-
Vim: A Beginner's Guide From A Beginner
auto-pairs - completes your parentheses, brackets and quotes
-
Is it unorthodox to write java purely in Vim/CLI and not use an IDE?
Extra: for extra intellisense, you can use https://github.com/dense-analysis/ale (I don't - I like to stick to vanilla Vim as much as possible), https://github.com/ervandew/supertab (for completions using TAB instead of Ctrl-P), and https://github.com/jiangmiao/auto-pairs (automatic bracket insertion).
-
What is the best way to tab out?
If you're in normal mode, as people have already said, it's A. If you are in insert mode, there are a lot of possibilities with roughly the same cost. Vim has a few insert-mode movement commands, e.g. j goes down a line, but so far as I know there isn't one that helps you. The vim-rsi plugin gives you readline-type commands in insert mode, so if you had that you could do to jump to the end of the line. Another possibility with plugins is to have something like auto-pairs installed in which case just typing ) would do it.
nerd-fonts
- Turbinando sua Produtividade: Autocomplete e PersonalizaĆ§Ć£o no Terminal do Windows
-
jokermanBestFont
Use any nerd fonts
-
which Font do you use?
SourceCodePro: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/SourceCodePro
-
Neovim Nerd Font icons are available!
Hot off the press: https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.1.0
-
Berkeley Mono Typeface
It's a bit expensive, and I can understand if someone can't or doesn't want to spend money on it. I would recommend to check out the free fonts 'JetBains Mono' & 'Hack' to these people.
Some people have already mentioned here that Berkeley Mono is not available as Nerd Font. I would like to briefly point out that Nerd Fonts provides a font patcher tool (https://github.com/ryanoasis/nerd-fonts#font-patcher).
-
NvChad - multiple different client offset_encodings detected for buffer
I'm using Neovim v0.9.1 on Ubuntu 23.04 with NvChad. I've also installed the JetBrainsMono font, as NvChad requires a Nerd Font, but nothing besides that and I haven't edited any settings or nvim files and I haven't installed any additional plugins.
- Nerd Fonts
-
JetBrains Mono Typeface
There are a lot of code fonts on HN today. Rather than make a new post I will talk about some of my favorite that are a little less common. None of these are free I don't think.
Cartograph CF - The one I've been using for code for years. Very readable, almost "comic mono"-like choices of some of the lower case glyphs but in a good way. All the character is in the italic which you will either love or hate.
Quadraat sans mono - The entire quadraat family is a collection of masterpieces imo, but are generally too distinctive to be appropriate for most public-facing work. But it's your computer so who cares. I use the mono sans one for my terminal. The lowercase f seems so out of place there but you learn to love it.
Alegreya sans - Not a mono font, but it almost is so if you've ever flirted with proportional fonts for code this is a fun one to try. There is a lot of careful line width variation that gives a lot of the appearance and readability advantages of serifs but keeps most of the visual coherence of sans.
I like all of these because they look feel more like normal fonts rather than code fonts. They have careful variation that adds character and improves readability for me. I've switched to an almost-no-color code theme that uses font weight instead, and the details like this become more important that way.
And then only kind of related but if you want to use unusual fonts in your terminal but you have a complex prompt setup, install font forge and learn to use something like https://github.com/ryanoasis/nerd-fonts/blob/master/font-pat... to patch in the extra characters. This can also solve your "I love this font but want a dotted zero" type problems as well. Small skill investment for a small return over a long period of time. You'll always be using fonts.
-
Compiler.nvim: Oficially released (beta)
It is FiraCode Nerd Font Mono:size=16. You can find it here. On arch linux you can just install the nerd-fonts and it's included there.
- Need help: NvChad v2.0 doesn't display font icons correctly with CaskaydiaCove Nerd Font
What are some alternatives?
lexima.vim - Auto close parentheses and repeat by dot dot dot...
FiraCode - Free monospaced font with programming ligatures
vim-rainbow - Rainbow brackets for Vim
Visual Studio Code - Public documentation for Visual Studio Code
tabout.nvim - tabout plugin for neovim
powerline - Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
vim-closer - Closes brackets
bash-powerline - Powerline-style Bash prompt in pure Bash script. See also https://github.com/riobard/zsh-powerline
nvim-colorizer.lua - The fastest Neovim colorizer.
Hack - A typeface designed for source code
nvim-compe - Auto completion Lua plugin for nvim
powerlevel10k - A Zsh theme