Vim color scheme in bash and byobu

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
0
down vote

favorite












I have a problem with the vim color scheme installation. I did the following:



1) a folder was created ~/.vimrc/colors



2) I put the color definition monokai_pro.vim there



3) I edited the file .vimrc to include the following:



 colo monokai_pro
syntax on


  • When using bash the color syntax is NOT working.

  • When using vim in byobu the color syntax is working.

The same occurs when I use :colo color_scheme directly in vim.
In byobu this is working, but not in bash.



Please note, that in bash I can only select colors which are present in
/usr/share/vim/vim80/colors/.



I was copying monokai_pro.vim to the above folder but it is not helping.



Can you somebody explain why?







share|improve this question





















  • It could be your terminal type setting. Please edit your question and add the output of the echo $TERM command in a bash shell.
    – Andy Dalton
    Jul 20 at 15:33











  • yes, you are right. the difference is int terminal type setting: bash -> $ echo $TERM xterm byobu -> $ echo $TERM screen-256color
    – Michel
    Jul 23 at 9:10

















up vote
0
down vote

favorite












I have a problem with the vim color scheme installation. I did the following:



1) a folder was created ~/.vimrc/colors



2) I put the color definition monokai_pro.vim there



3) I edited the file .vimrc to include the following:



 colo monokai_pro
syntax on


  • When using bash the color syntax is NOT working.

  • When using vim in byobu the color syntax is working.

The same occurs when I use :colo color_scheme directly in vim.
In byobu this is working, but not in bash.



Please note, that in bash I can only select colors which are present in
/usr/share/vim/vim80/colors/.



I was copying monokai_pro.vim to the above folder but it is not helping.



Can you somebody explain why?







share|improve this question





















  • It could be your terminal type setting. Please edit your question and add the output of the echo $TERM command in a bash shell.
    – Andy Dalton
    Jul 20 at 15:33











  • yes, you are right. the difference is int terminal type setting: bash -> $ echo $TERM xterm byobu -> $ echo $TERM screen-256color
    – Michel
    Jul 23 at 9:10













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a problem with the vim color scheme installation. I did the following:



1) a folder was created ~/.vimrc/colors



2) I put the color definition monokai_pro.vim there



3) I edited the file .vimrc to include the following:



 colo monokai_pro
syntax on


  • When using bash the color syntax is NOT working.

  • When using vim in byobu the color syntax is working.

The same occurs when I use :colo color_scheme directly in vim.
In byobu this is working, but not in bash.



Please note, that in bash I can only select colors which are present in
/usr/share/vim/vim80/colors/.



I was copying monokai_pro.vim to the above folder but it is not helping.



Can you somebody explain why?







share|improve this question













I have a problem with the vim color scheme installation. I did the following:



1) a folder was created ~/.vimrc/colors



2) I put the color definition monokai_pro.vim there



3) I edited the file .vimrc to include the following:



 colo monokai_pro
syntax on


  • When using bash the color syntax is NOT working.

  • When using vim in byobu the color syntax is working.

The same occurs when I use :colo color_scheme directly in vim.
In byobu this is working, but not in bash.



Please note, that in bash I can only select colors which are present in
/usr/share/vim/vim80/colors/.



I was copying monokai_pro.vim to the above folder but it is not helping.



Can you somebody explain why?









share|improve this question












share|improve this question




share|improve this question








edited Jul 20 at 14:13









Anderson

987




987









asked Jul 20 at 13:25









Michel

12




12











  • It could be your terminal type setting. Please edit your question and add the output of the echo $TERM command in a bash shell.
    – Andy Dalton
    Jul 20 at 15:33











  • yes, you are right. the difference is int terminal type setting: bash -> $ echo $TERM xterm byobu -> $ echo $TERM screen-256color
    – Michel
    Jul 23 at 9:10

















  • It could be your terminal type setting. Please edit your question and add the output of the echo $TERM command in a bash shell.
    – Andy Dalton
    Jul 20 at 15:33











  • yes, you are right. the difference is int terminal type setting: bash -> $ echo $TERM xterm byobu -> $ echo $TERM screen-256color
    – Michel
    Jul 23 at 9:10
















It could be your terminal type setting. Please edit your question and add the output of the echo $TERM command in a bash shell.
– Andy Dalton
Jul 20 at 15:33





It could be your terminal type setting. Please edit your question and add the output of the echo $TERM command in a bash shell.
– Andy Dalton
Jul 20 at 15:33













yes, you are right. the difference is int terminal type setting: bash -> $ echo $TERM xterm byobu -> $ echo $TERM screen-256color
– Michel
Jul 23 at 9:10





yes, you are right. the difference is int terminal type setting: bash -> $ echo $TERM xterm byobu -> $ echo $TERM screen-256color
– Michel
Jul 23 at 9:10
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457448%2fvim-color-scheme-in-bash-and-byobu%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457448%2fvim-color-scheme-in-bash-and-byobu%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)