MacOS Terminal with path and file colors - macos

I just saw a video about to get started with Filebeat, and the guy is using a nice terminal with colored paths and files.
I very loved it, looked everywhere in the internet, but didn't find the terminal he is using.
Is there anyone here who knows the name of this terminal ?

He is probably using iTerm2 (https://www.iterm2.com/) with a custom scheme (https://github.com/mbadolato/iTerm2-Color-Schemes) and powerline (https://github.com/powerline/powerline)

Related

Edit terminal colors in WebStorm integrated terminal?

Does anyone know how to change the colors for the integrate terminal in WebStorm?
Currently it looks like this for me:
Which makes it super hard to see directory names.
If I could just have directories be a different color with no background or just bold text with no background. The key is I don't need my directories to have a background.
This is how it looks on Windows 10 using bash.exe. I can't currently show what it looks like when running outside of WebStorm, but I can show what it looks like on OSX as I'm having a similar issue:
OSX WebStorm with Material Theme plugin using /bin/zsh:
vs zsh in iTerm:
I'm mostly curious if there is a way to maybe turn off the Material Theme for just the integrated terminal or edit the colors directly there? If need be I can just use the external terminal, but it'd be nice to use the integrated one if I could just read all the text.

Problem with integrated terminal in PhpStorm

I'm learning Laravel, and also I started learning it with(for me) new editor - PhpStorm. I want to edit my terminal(not colors, fonts, etc.). I integrated the gitbash instead of factory terminal that comes with PhpStorm.
The problem is that I'm having some'? ' with a number, usually '32m' before the statements in my terminal. To explain it better, here's a screenshot:
And for example, everyone that I've seen on google, using PhpStorm have 'normal' editor without those symbols and numbers before each line in the terminal.
My terminal atm :
Tried searching JetBrains FAQ, googling and ofc here on StackOverflow, but no luck for me.
What would I like my terminal to look like https://i.stack.imgur.com/oh3Vv.jpg
What it's missing is the ANSI support for color codes. As a result you see those strange characters as these aren't parsed and therefore displayed as output.
Maybe you could try with a little utility like ansicon. For further details take a look at this article (outdated but might work anyway)

PhpStorm terminal window formatting/ ANSI color codes

I'm new to PhpStorm and started creating application with Laravel.
I have one small difficulty with terminal. I use Windows 10 and the newest PhpStorm (2016.3). And as you can see, format of the artisan commands are highly unreadable.
Please help me, if you have any solutions/plugins to fix that. It would be also great to find some colour themes. Unless I have to customize it one by one in settings?
My window is on the left, on the right side is an screen from my teachers videos (he uses Mac).
This is solution that works for me.
http://jasonkarns.com/blog/ansi-color-in-windows-shells/
In PhpStorm just replace Shell path and it works correctly!

Vim under mac does not behave as expected

I recently got a mac. I was previously working on a laptop with ubuntu and I was using vim.
I now will discuss about vim in console (iTerm2 or the default terminal) and macvim.
The problem is that some binding don't work under mac. For example I had CTRL left/right for navigating between splits, CTRL up/down to move lines or blocks of code up and down, etc. They don't work anymore.
I had a bunch of plugins (nerdtree, powerline, etc.) that now look weird. Powerline doesn't display special characters in macvim and in terminal they are question marks.
In console, nerdtree looks weird and it doesn't display the special triangle character. If I hit return to open a file selected from nerdtree, it doesn't do anything. In macvim, it works ok.
Is there any guide on how to use vim on mac? Or what is the recommended way?
Nerdtree : let g:NERDTreeDirArrows=0
Powerline : Take a look at the part of strange characters in the document https://github.com/Lokaltog/vim-powerline
Navigating within splits with Ctrl + arrows work on mine. Can you post your vimrc, or try running vim without any configuration.
Ctrl+arrows to move lines and block doesn't work on mine.
Did you check which key was sent by your terminal to vim ?
Did you tried to set it manually ?
I had similar problems with emacs, including one keybinding I'm still not able to reproduce :(
I have the exact same config on my Mac and a Windows box at work, my Ubuntu box at home and a couple of VPSes. It works exactly the same on every platform in GVim/MacVim or in plain Vim.
Unfortunately I don't use either NERDTree nor Powerline but Vdt's answer seems to have all the info needed.
Some of the behaviors you describe are custom mappings. You should show us your ~/.vimrc (the old one on linux and the new one on the Mac, if there are differences) so that we can help you make it more portable.
Also, "looks weird" means nothing: please add a screenshot or two.

Custom colorscheme not working on VIM

Here's what I did:
cp ~/.vim/colors/ir_black.vim /usr/share/vim/vim72/colors/
Then tried to open some code and :colorscheme ir_black
It changes a few colors but makes most of the text start to blink with the cursor.
It happens with almost all the other custom colorschemes as well. Does anyone have any ideas of what might be wrong?
I added t_Co=256 to my .vimrc file and it didn't seem to help.
PS: I'm on a Mac OS X.
Set your TERM to xterm-256color. Follow up on the iterm2 mailing list if that still doesn't work.
Edit : I found an exact duplicate of your question :here. It seems to be an issue with iTerm not supporting 256 colors by default.
The usual problem with color scheme and terminal is that terminal are often limited to 256 colors, and GUI color scheme are using 2^32 colors. So some of them are not correctly rendered in terminal.
There is a simple test to check: if you are lauching the GUI version is the color scheme rendered correctly ?
The possible solution are :
1. Convert your color scheme to 256 colors using the following plugin : CSApprox.vim
2. Choose a different color scheme. (Often on Vim.org color schemes compatible with Terminal have "256" in their name, like "wombat256" for example)
3. Use a GUI version like MacVim or GVim
If I remember correctly, the color sheme Zenburn is working nicely with both GUI and terminal version. It is rather dark with pastel colors.
Personal story : after spending ages to fiddle with color scheme to get something right for terminal, I switched to the GUI version. The GUI version with the icon bar hidden is not really different to terminal version anyway, as long as you are working locally
the default vim binary in /usr/bin/ will not work with any terminal. you need to have a version that supports gui - type "echo has('gui')" in vim command mode to check.
so your only option is to use a gui one (macvim etc.), or compile it with athena, gtk or x11 with macports, but i would advise against the latter, because it pulls down a shitload of dependencies.
i think it's better to use macvim for serious development that needs syntax highlighting, and use the 16 colour version in the terminal for quick edits.

Resources