emacs-theme-gruvbox
vim-plug
Our great sponsors
emacs-theme-gruvbox | vim-plug | |
---|---|---|
33 | 138 | |
572 | 33,193 | |
- | - | |
4.1 | 7.0 | |
2 months ago | 29 days ago | |
Emacs Lisp | Vim Script | |
MIT License | 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.
emacs-theme-gruvbox
-
Switching to emacs, but the Gruvbox theme here looks different than in CLion or VIM
Recently I wanted to get back to Emacs, and as with any text editor I use, installed the Gruvbox theme.
-
Starfield Constellation Logo - Minimalist Gruvbox Edition [3840x2160] [OC]
Native 4K minimalist/modernist take on the Constellation logo from Bethesda's upcoming SciFi RPG, Starfield. Colors tweaked to use those from the gruvbox palette by morhetz. I wanted something like this for my own desktop, couldn't find it anywhere. So I made it myself and figured maybe someone else might like it.
-
Gruvbox PSP Theme [W.I.P]
Gruvbox its a retro groove Color scheme heavily inspired by badwolf, jellybeans and solarized. With this I want to give the community a customization theme a little different from what they are used to such as neon and those quirky themes that do not go with the retro theme of the PSP
-
Syntax highlighting for JavaScript that uses coc-tsserver? The picture shows how my JavaScript import statement looks like currently on top, and below is how it should be highlighted
https://github.com/morhetz/gruvbox and https://github.com/sheerun/vim-polyglot are Vim plugins that work in Neovim, but they don't allow you to use treesitter, so if you don't want to use treesitter use them.
-
Colored statusline doesn't load at start; I need to manually source $MYVIMRC
" This file contains common and basic plugins too essential not to include " See https://github.com/junegunn/vim-plug/wiki/tutorial " Auto install vim-plug (if not already installed) if empty(glob('~/.config/nvim/autoload/plug.vim')) silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim autocmd VimEnter * PlugInstall endif " Run PlugInstall if there are missing plugins autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | source $MYVIMRC \| endif " enable Vim-Plug: call plug#begin('~/.config/nvim/plugged') " Install/update plugins Plug 'https://github.com/tpope/vim-commentary.git' Plug 'https://github.com/morhetz/gruvbox' " Better C/C++ syntax highlighting; Plug 'https://github.com/jackguo380/vim-lsp-cxx-highlight' call plug#end() "---------- Basic configs ---------------------------------------------------- autocmd vimenter * ++nested colorscheme gruvbox " Enable transparent background let g:gruvbox_transparent_bg = 1
-
why is my grubox not working as it should? is it a font issue? any help is appreciated
VimScript version: github.com/morhetz/gruvbox and github.com/sheerun/vim-polyglot
-
What type of theme do you use?
I love the gruvbox dark theme.
-
Solarized
I loved solarized when it was new (to me). But after several years, I couldn't stand looking at those blue tones all day.
I switched (in vim) to gruvbox [0] (better maintained "community" edition [1]), which also has a dark and a light version, which is a lot warmer.
0: https://github.com/morhetz/gruvbox
-
My development environment is 100% text based - Fish Shell, Tmux, and Neovim - Here are my Dotfiles
call plug#begin() Plug 'morhetz/gruvbox' "https://github.com/morhetz/gruvbox Plug 'preservim/nerdtree' Plug 'nvim-lualine/lualine.nvim' " If you want to have icons in your statusline choose one of these Plug 'kyazdani42/nvim-web-devicons' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' } " or , { 'branch': '0.1.x' } Plug 'nvim-treesitter/nvim-treesitter' Plug 'sharkdp/fd' Plug 'nvim-telescope/telescope-file-browser.nvim' Plug 'dinhhuy258/git.nvim' Plug 'akinsho/bufferline.nvim', { 'tag': 'v2.*' } Plug 'lewis6991/gitsigns.nvim' Plug 'tomtom/tcomment_vim' Plug 'tpope/vim-rails' Plug 'tpope/vim-dispatch' Plug 'thoughtbot/vim-rspec' Plug 'tpope/vim-endwise' Plug 'vimwiki/vimwiki' Plug 'ervandew/supertab' Plug 'neovim/nvim-lspconfig' Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/cmp-buffer' Plug 'hrsh7th/cmp-path' Plug 'hrsh7th/cmp-cmdline' Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/vim-vsnip' " post install (yarn install | npm install) then load plugin only for editing supported files Plug 'prettier/vim-prettier', { 'do': 'yarn install --frozen-lockfile --production' } call plug#end() set ruler set number syntax enable set mouse=a set tabstop=2 set shiftwidth=2 set termguicolors set background=dark colorscheme gruvbox " Start NERDTree and put the cursor back in the other window. " autocmd VimEnter * NERDTree | wincmd p let mapleader = ',' " shortcuts for NERDTree nnoremap ntfo :NERDTreeFocus nnoremap nt :NERDTree nnoremap ntt :NERDTreeToggle nnoremap ntf :NERDTreeFind " All generic shortcuts nmap z :u nmap Q :qa! nmap q :bw nnoremap :m '<-2gv=gv nnoremap :m '>+1gv=gv " Find files using Telescope command-line sugar. nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags " setup all Lua based Neovim configs - e.g. lualine, git.nvim lua << EOF require('lualine').setup({ options = { icons_enabled = false, } }) require('git').setup() require('nvim-web-devicons').setup() vim.opt.termguicolors = true -- Setup Bufferline require('bufferline').setup{} -- Setup Gitsings - not using often require('gitsigns').setup() -- Setup nvim-cmp - autoxomplete local cmp = require'cmp' cmp.setup({ snippet = { -- REQUIRED - you must specify a snippet engine expand = function(args) vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users. -- require('luasnip').lsp_expand(args.body) -- For `luasnip` users. -- require('snippy').expand_snippet(args.body) -- For `snippy` users. -- vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users. end, }, window = { -- completion = cmp.config.window.bordered(), -- documentation = cmp.config.window.bordered(), }, mapping = cmp.mapping.preset.insert({ [''] = cmp.mapping.scroll_docs(-4), [''] = cmp.mapping.scroll_docs(4), [''] = cmp.mapping.complete(), [''] = cmp.mapping.abort(), [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. }), sources = cmp.config.sources({ { name = 'nvim_lsp' }, { name = 'vsnip' }, -- For vsnip users. -- { name = 'luasnip' }, -- For luasnip users. -- { name = 'ultisnips' }, -- For ultisnips users. -- { name = 'snippy' }, -- For snippy users. }, { { name = 'buffer' }, }) }) -- Setup Solargraph local nvim_lsp = require('lspconfig') local servers = {'solargraph'} for _, lsp in ipairs(servers) do nvim_lsp[lsp].setup { on_attach = on_attach, } end require'nvim-treesitter.configs'.setup { highlight = { enable = true }, } -- Setup Telescope with webicons local status, telescope = pcall(require, "telescope") if (not status) then return end local actions = require('telescope.actions') local builtin = require("telescope.builtin") local function telescope_buffer_dir() return vim.fn.expand('%:p:h') end local fb_actions = require "telescope".extensions.file_browser.actions telescope.setup { defaults = { mappings = { n = { ["q"] = actions.close }, }, }, extensions = { file_browser = { theme = "dropdown", -- disables netrw and use telescope-file-browser in its place hijack_netrw = true, mappings = { -- your custom insert mode mappings ["i"] = { [""] = function() vim.cmd('normal vbd') end, }, ["n"] = { -- your custom normal mode mappings ["N"] = fb_actions.create, ["h"] = fb_actions.goto_parent_dir, ["/"] = function() vim.cmd('startinsert') end }, }, }, }, } telescope.load_extension("file_browser") vim.keymap.set("n", "sf", function() telescope.extensions.file_browser.file_browser({ path = "%:p:h", cwd = telescope_buffer_dir(), respect_gitignore = false, hidden = true, grouped = true, previewer = false, initial_mode = "normal", layout_config = { height = 40 } }) end) -- keymaps vim.keymap.set('n', ';f', function() builtin.find_files({ no_ignore = false, hidden = true }) end) vim.keymap.set('n', ';r', function() builtin.live_grep() end) vim.keymap.set('n', '\\\\', function() builtin.buffers() end) vim.keymap.set('n', ';t', function() builtin.help_tags() end) vim.keymap.set('n', ';;', function() builtin.resume() end) vim.keymap.set('n', ';e', function() builtin.diagnostics() end) EOF
-
Using raster fonts in Neovide?
" NEOVIDE CONFIG let g:neovide_refresh_rate=60 let g:neovide_transparency=0.9 let g:neovide_remember_window_size=v:true let g:neovide_cursor_trail_length=1 let g:neovide_cursor_animation_length=0.05 " PLUGIN call plug#begin('~/.local/share/nvim/plugged') Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'https://github.com/base16-project/base16-vim' Plug 'https://github.com/lifepillar/vim-solarized8' Plug 'https://github.com/iCyMind/NeoSolarized' Plug 'https://github.com/flrnprz/plastic.vim' Plug 'https://github.com/morhetz/gruvbox' call plug#end() " GENERAL? cd $HOME/Documents set clipboard+=unnamed,unnamedplus set mouse=a set relativenumber filetype on filetype plugin on filetype indent on " GUI NATIVE colorscheme base16-atelier-seaside set background=dark set noshowmode set guifont=Cascadia\ Mono:h10 " AIRLINE "AirlineTheme base16_atelier_seaside let g:airline_theme='base16_atelier_seaside' let g:airline_solarized_bg='dark'
vim-plug
- Jak nainstalovat vim.plug do Neovim
-
thethethe.nvim - neovim friendly autocorrect plugin
vim-plug
-
Vimtex not loading (vim-plug)
Did you really install VimTeX? Did you run :PlugInstall? Ensure you installed and set up vim-plug correctly (https://github.com/junegunn/vim-plug). If VimTeX is installed, it should be installed to '~/.vim/plugged', thus you can open a terminal, then cd ~/.vim/plugged/vimtex and you should find the files there.
-
How to use VIM text editor
If you're determined to use vim for some reason, I'd suggest checking out vim-plug: https://github.com/junegunn/vim-plug. Quite useful for installing and maintaining all of the plugins that you're going to need to get vim to provide even a subset of the features offered by modern editors.
-
I use the default file browser in vim (netrw). I know there are plugins that a lot of people like. Should I switch?
I encourage you to add plugins to your vim (tip: use vim-plug). Use vimawesome.com for inspiration.
-
Will installing Vim get rid of my current work on macOS?
Personally, I like https://github.com/junegunn/vim-plug
-
Add plugins without access to GitHub?
But the plugin manager https://github.com/junegunn/vim-plug can also install from offline sources, without accessing Github:
-
Introducing tsc.nvim: Project-Wide Asynchronous TypeScript Type-Checking & Diagnostics
To get started, simply install the plugin using your favorite plugin manager, such as vim-plug or packer.nvim. You can find detailed installation instructions in the README.
-
Vundle.vim does not exist anymore
Not sure if Vundle did anything particularly fancy, but I'm using vim-plug [0] and have no complaints. It stays out of my way to the point that I had to look at my .vimrc just now to make sure that's what I was using.
[0] https://github.com/junegunn/vim-plug
-
The Vundle github repo seems to have disappeared
I chose to move on to vim-plug and can report it was a simple switch from Vundle.
What are some alternatives?
kanagawa.nvim - NeoVim dark colorscheme inspired by the colors of the famous painting by Katsushika Hokusai.
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
gruvbox-material - Gruvbox with Material Palette
astro.nvim - Faster Neovim Configuration
tmux - tmux source code
vundle - Vundle, the plug-in manager for Vim
forest-night - 🌲 Comfortable & Pleasant Color Scheme for Vim
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
gruvbox - Retro groove color scheme for Vim
nvim-lspconfig - Quickstart configs for Nvim LSP
nerd-fonts - Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more