devicons | Devicons - An iconic font made for developers | User Interface library
kandi X-RAY | devicons Summary
kandi X-RAY | devicons Summary
Devicons - An iconic font made for developers
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of devicons
devicons Key Features
devicons Examples and Code Snippets
Community Discussions
Trending Discussions on devicons
QUESTION
Hello I open file in NERDTree using t but new files is always there. Before I use vim in folder. that mean when I located in ex: app folder, I run vim without type specific files to edit. when I open files in nerd tree, new file [No Name] is always there. is anyone know how to fix it?
this is my init.vim
...ANSWER
Answered 2021-Oct-10 at 11:40To fix it, navigate to the tab which has [No Name]
open in it, and close that tab
QUESTION
As I was setting up my ~/.vimrc, I installed Plugin 'ryanoasis/vim-devicons' (https://github.com/ryanoasis/vim-devicons) and Plugin 'preservim/nerdtree' (https://github.com/preservim/nerdtree) - I ran into a problem. I couldn't see the desired Python file icons for any of my Python (.py) files in Nerd Tree window in Terminal Vim and Mac Vim.
The solution to this problem is rather simple as someone did figured it out already. (https://github.com/ryanoasis/vim-devicons/issues/198) I am sharing this information on StackOverflow community for a quicker reference.
...ANSWER
Answered 2021-Sep-09 at 17:42For seeing the file type specific icons in a File browser like Nerd Tree in Vim,
first please install - NERD FONT
(https://github.com/ryanoasis/nerd-fonts#font-installation)
by using the command:
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font
Final step -
For Terminal Vim: (Mac OS)
Change Terminal font to Hack Nerd Font
For Mac Vim: (GUI Vim)
Add this line to your vimrc file -
set guifont=hack_nerd_font:h21
(h21 sets the font size - change it any value based on your preference) (save the changes to the vimrc file with command :wq)
QUESTION
Sometimes Vim plugins suggest a load order, but Vim nowaday natively supports loading plugins with no plugin manager. You just put a submodule in a folder such as ~/.vim/pack/vendor/start
and it'll automatically load. So, my question is how do you ensure a load order similar to how people would previously. Older way of doing things example below:
ANSWER
Answered 2021-Jun-11 at 06:22Let's try a little experiment…
Create the following dummy files with their corresponding content:
Filepath Contentpack/dummy/start/nerdtree/plugin/foo.vim
echom "nerdtree"
pack/dummy/start/nerdtree-git-plugin/plugin/bar.vim
echom "nerdtree-git-plugin"
pack/dummy/start/vim-devicons/plugin/baz.vim
echom "vim-devicons"
Start Vim and you should see something like the following:
QUESTION
i use parrot security as my daily distro. its mate terminal is transparent so is vim .but i wanted to get auto complete and used some plugins.auto complete window appears to be in pink which looks really ugly in semi transparent black background.i changed the theme and it was fixed but so was gone vim transparency .
in short word (1)i have to keep the default (2)i have to keep transparent vim (3)i have to change the auto complete window from pink to semi transparent black
here is my init.vimrc
...ANSWER
Answered 2021-Jun-09 at 19:27If you are using neovim there is an option called :h pumblend
which can be used to change the transparency of the popup menu.
Are you sure gruvbox
caused your vim to lose transparency? I am not sure if vim is able to change a terminal emulator's transparency. I or someone else might be able to advise you better if you post pictures of what has changed.
QUESTION
I want to write some JavaScript code inside an HTML file using , but I get wrong indentation when using
o
for insert a new line.
Here is what I want:
...ANSWER
Answered 2021-Jan-30 at 17:10In your coc-settings.json
file, there is a way to add certain filetypes that will be formatted on save. Maybe that will help.
QUESTION
ANSWER
Answered 2021-Jan-25 at 02:49how about this
QUESTION
So I'm using neovim(v0.4.3) and Coc.nvim(v0.0.79) and clangd with C++ and C . The problem is that the syntax checking highlights errors only in normal mode. meaning that i have to type my statements in insert mode and then go to normal to see if i have any errors. and i want to be able to see my errors while im in insert mode. So i am wondering if this only happens to me or this is a common thing. and if there are any fixes to this please let me know. here i included some lines of my init.vim
...ANSWER
Answered 2020-Dec-18 at 02:30Set diagnostic.refreshOnInsertMode
to true in your coc-settings.json.
QUESTION
I made :wincmd h
shortcut to h
, and mapleader is to me
but When I do h
, I feel quite long delay to execute this action,
so I searched commands about h
by :map h
and
I found that I have serveral commands start with h
like below
ANSWER
Answered 2020-Sep-07 at 15:26The mappings that include h
as a prefix will cause this interference. Vim will wait for a timeout or additional keypress before executing your h
mapping, since it wants to check whether you meant to press one of the longer mappings...
The easiest way to fix this is set alternate mappings for the vim-gitgutter commands. If you set up different mappings for those in your vimrc, vim-gitgutter itself will not create its mappings which are causing the interference.
The vim-gitgutter README suggests using g
as an alternative prefix for these:
To set your own mappings for these, for example if you prefer
g
-based maps:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install devicons
Copy the devicons.css to your project
Copy the fonts folder to your project
Ensure the font urls within devicons.css properly reference the fonts path within your project.
Include a reference to the devicons.css file from every webpage you need to use it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page