Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install iterm2+fish shell terminal color matching and vim syntax highlighting in mac os

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you the "mac os how to install iterm2+fish shell terminal color matching and vim syntax highlighting", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "mac os how to install iterm2+fish shell terminal color matching and vim syntax highlighting" this article.

Install iterm2 and fish shell

Install iterm2

Download address of iterm2 software, install dmg file directly

Install fish shell

Fish shell description and download address, install fish shell according to your familiar way

Add fish shell to the shell list of mac, use the shell command sudo vim / etc/shells to append / usr/local/bin/fish to the end of the file; finally, press the esc key to jump to the command mode, enter: wq command to save the file, use chsh-s / usr/local/bin/fish switch to fish shell; to open fish shell,vim ~ / bash_profile automatically open the fish command at the end of the file, use: wq to save the file

Vim syntax highlighting

First, turn on syntax highlighting, and if you don't have this file, create a file: vim ~ / .vimrc add the following code at the end of the .vimrc file: syntax on

Vim Select theme

Vim has more themes to choose from. Use the following command to view all vim color themes: cd / usr/share/vim/vim73/colors/ & & ls add vim's color theme in the .vimrc file, the command is as follows: vim ~ / .vimrc add colorscheme darkblue information to the end of the file above is "mac os how to install iterm2+fish shell terminal color matching and vim syntax highlighting" all the content of this article, thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report