Why doesn't my installed plugin 'gruvbox' display?
Here's my .vimrc file:
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=$HOME/.vim/bundle/Vundle.vim/
call vundle#begin('$HOME/.vim/bundle/')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Plugin gruvbox
Plugin 'morhetz/gruvbox'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
colorscheme gruvbox
Opening the file using vim is okay, but when typing > vim example.txt doesn't display gruvbox colorscheme, I'm using windows, how to fix it?
vim plugins color-scheme vundle
New contributor
Suacrbah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Here's my .vimrc file:
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=$HOME/.vim/bundle/Vundle.vim/
call vundle#begin('$HOME/.vim/bundle/')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Plugin gruvbox
Plugin 'morhetz/gruvbox'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
colorscheme gruvbox
Opening the file using vim is okay, but when typing > vim example.txt doesn't display gruvbox colorscheme, I'm using windows, how to fix it?
vim plugins color-scheme vundle
New contributor
Suacrbah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Text files have almost no color by default: there are no syntactic elements to highlight. Try editing some code (you may also wantsyntax on, depending on your preferences). I’m assuming by “doesn’t display gruvbox colorscheme” you mean “the text isn’t highlighted,” and not “none of the editor’s elements are highlighted appropriately”
– D. Ben Knoble
Dec 27 at 14:57
No, it’s the background color and everything in gruvbox, I actually have syntax on, but that’s not the problem so I didn’t post it. Thanks for answering
– Suacrbah
Dec 27 at 15:00
I recommend editing your question to explain exactly what your problem is.
– D. Ben Knoble
Dec 27 at 15:25
@D.BenKnoble okay thanks, Imma do it soon
– Suacrbah
Dec 27 at 15:39
add a comment |
Here's my .vimrc file:
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=$HOME/.vim/bundle/Vundle.vim/
call vundle#begin('$HOME/.vim/bundle/')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Plugin gruvbox
Plugin 'morhetz/gruvbox'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
colorscheme gruvbox
Opening the file using vim is okay, but when typing > vim example.txt doesn't display gruvbox colorscheme, I'm using windows, how to fix it?
vim plugins color-scheme vundle
New contributor
Suacrbah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Here's my .vimrc file:
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=$HOME/.vim/bundle/Vundle.vim/
call vundle#begin('$HOME/.vim/bundle/')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Plugin gruvbox
Plugin 'morhetz/gruvbox'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
colorscheme gruvbox
Opening the file using vim is okay, but when typing > vim example.txt doesn't display gruvbox colorscheme, I'm using windows, how to fix it?
vim plugins color-scheme vundle
vim plugins color-scheme vundle
New contributor
Suacrbah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Suacrbah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Dec 27 at 13:29
New contributor
Suacrbah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Dec 27 at 13:21
Suacrbah
11
11
New contributor
Suacrbah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Suacrbah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Suacrbah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Text files have almost no color by default: there are no syntactic elements to highlight. Try editing some code (you may also wantsyntax on, depending on your preferences). I’m assuming by “doesn’t display gruvbox colorscheme” you mean “the text isn’t highlighted,” and not “none of the editor’s elements are highlighted appropriately”
– D. Ben Knoble
Dec 27 at 14:57
No, it’s the background color and everything in gruvbox, I actually have syntax on, but that’s not the problem so I didn’t post it. Thanks for answering
– Suacrbah
Dec 27 at 15:00
I recommend editing your question to explain exactly what your problem is.
– D. Ben Knoble
Dec 27 at 15:25
@D.BenKnoble okay thanks, Imma do it soon
– Suacrbah
Dec 27 at 15:39
add a comment |
Text files have almost no color by default: there are no syntactic elements to highlight. Try editing some code (you may also wantsyntax on, depending on your preferences). I’m assuming by “doesn’t display gruvbox colorscheme” you mean “the text isn’t highlighted,” and not “none of the editor’s elements are highlighted appropriately”
– D. Ben Knoble
Dec 27 at 14:57
No, it’s the background color and everything in gruvbox, I actually have syntax on, but that’s not the problem so I didn’t post it. Thanks for answering
– Suacrbah
Dec 27 at 15:00
I recommend editing your question to explain exactly what your problem is.
– D. Ben Knoble
Dec 27 at 15:25
@D.BenKnoble okay thanks, Imma do it soon
– Suacrbah
Dec 27 at 15:39
Text files have almost no color by default: there are no syntactic elements to highlight. Try editing some code (you may also want
syntax on, depending on your preferences). I’m assuming by “doesn’t display gruvbox colorscheme” you mean “the text isn’t highlighted,” and not “none of the editor’s elements are highlighted appropriately”– D. Ben Knoble
Dec 27 at 14:57
Text files have almost no color by default: there are no syntactic elements to highlight. Try editing some code (you may also want
syntax on, depending on your preferences). I’m assuming by “doesn’t display gruvbox colorscheme” you mean “the text isn’t highlighted,” and not “none of the editor’s elements are highlighted appropriately”– D. Ben Knoble
Dec 27 at 14:57
No, it’s the background color and everything in gruvbox, I actually have syntax on, but that’s not the problem so I didn’t post it. Thanks for answering
– Suacrbah
Dec 27 at 15:00
No, it’s the background color and everything in gruvbox, I actually have syntax on, but that’s not the problem so I didn’t post it. Thanks for answering
– Suacrbah
Dec 27 at 15:00
I recommend editing your question to explain exactly what your problem is.
– D. Ben Knoble
Dec 27 at 15:25
I recommend editing your question to explain exactly what your problem is.
– D. Ben Knoble
Dec 27 at 15:25
@D.BenKnoble okay thanks, Imma do it soon
– Suacrbah
Dec 27 at 15:39
@D.BenKnoble okay thanks, Imma do it soon
– Suacrbah
Dec 27 at 15:39
add a comment |
1 Answer
1
active
oldest
votes
As I understand from your question, you can open a file in gvim with the colorscheme on but not from terminal? Gruvbox has two modes as light and dark. It could be that gvim uses dark mode by default while terminal runs on light mode. Would you try adding below line to your .vimrc?
set background=dark
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Suacrbah is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53945787%2fwhy-doesnt-my-installed-plugin-gruvbox-display%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As I understand from your question, you can open a file in gvim with the colorscheme on but not from terminal? Gruvbox has two modes as light and dark. It could be that gvim uses dark mode by default while terminal runs on light mode. Would you try adding below line to your .vimrc?
set background=dark
add a comment |
As I understand from your question, you can open a file in gvim with the colorscheme on but not from terminal? Gruvbox has two modes as light and dark. It could be that gvim uses dark mode by default while terminal runs on light mode. Would you try adding below line to your .vimrc?
set background=dark
add a comment |
As I understand from your question, you can open a file in gvim with the colorscheme on but not from terminal? Gruvbox has two modes as light and dark. It could be that gvim uses dark mode by default while terminal runs on light mode. Would you try adding below line to your .vimrc?
set background=dark
As I understand from your question, you can open a file in gvim with the colorscheme on but not from terminal? Gruvbox has two modes as light and dark. It could be that gvim uses dark mode by default while terminal runs on light mode. Would you try adding below line to your .vimrc?
set background=dark
answered 40 mins ago
murateca
1914
1914
add a comment |
add a comment |
Suacrbah is a new contributor. Be nice, and check out our Code of Conduct.
Suacrbah is a new contributor. Be nice, and check out our Code of Conduct.
Suacrbah is a new contributor. Be nice, and check out our Code of Conduct.
Suacrbah is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53945787%2fwhy-doesnt-my-installed-plugin-gruvbox-display%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Text files have almost no color by default: there are no syntactic elements to highlight. Try editing some code (you may also want
syntax on, depending on your preferences). I’m assuming by “doesn’t display gruvbox colorscheme” you mean “the text isn’t highlighted,” and not “none of the editor’s elements are highlighted appropriately”– D. Ben Knoble
Dec 27 at 14:57
No, it’s the background color and everything in gruvbox, I actually have syntax on, but that’s not the problem so I didn’t post it. Thanks for answering
– Suacrbah
Dec 27 at 15:00
I recommend editing your question to explain exactly what your problem is.
– D. Ben Knoble
Dec 27 at 15:25
@D.BenKnoble okay thanks, Imma do it soon
– Suacrbah
Dec 27 at 15:39