Skip to content

xcxcmath/unix-set-bjk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNIX settings

by bjk

These settings are just one choice of the several possible options. I like them! This is the only reason why I use these settings.

Before reading..

  • All settings belong to CLI/CUI. NOT GUI.
  • I use macOS and Linux(Ubuntu), and sometimes they have different settings.
  • Although title of this document is UNIX settings, some of them can be applied even on Windows.
  • Don't apply them on very slow machines.

Terminal

Here are environments and configurations of terminal programs.

Tools

  • For macOS

    • iTerm2 : Many better features than default terminal
    • brew : Package manager. ruby required.
  • For gnome

    • I'll use default one.
  • Else..

    • I have never used yet.

Colorscheme

  • Whatever colorscheme you use, Keep it mind: xterm-256color matters.

  • iterm2-material-design

  • If there is no default One Dark colorscheme...

    • Search and download
  • If there is no default solarized colorscheme...

    • Download from Ethan's website
    • I think it exists on default schemes of Ubuntu terminal
  • One Dark theme recommended

Don't try to apply if the terminal poorly supports it. (e.g. macOS default terminal)

powerline fonts

Font is really important on these settings! Installation guides on github powerline/fonts

Jetbrains Mono recommended. UbuntuMono or D2Coding are optional.

Shell

Shell doesn't include Powershell

zsh

  • Installation

    • macOS : brew updatebrew install zsh
    • Ubuntu : sudo apt install zsh
  • Change default shell

    • chsh -s 'which zsh' ← Grave accent(`), NOT apostrephe(')
    • More safely, enter the one of the list of which zsh

Oh My Zsh

  • Installation command on Oh My Zsh website

    • curl recommended
  • Theme

    • List of themes
    • ZSH_THEME="agnoster" in ~/.zshrc
    • ...or download themes into ~/.oh-my-zsh/themes/
    • Font/Colorscheme settings really matter depending on your theme!
    • For better supports in tmux, add export TERM=xterm-256color in ~/.zshrc

Oh My Zsh Plugins

  • Change/Add plugin names in plugins of ~/.zshrc

  • zsh-autosuggestions

    • Installation guide for Oh My Zsh on the repository
    • Add ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=23' in ~/.zshrc if you use Solarized Dark theme
  • zsh-syntax-highlighting

    • Installation guide in INSTALL.md of the repository
    • MAY OPERATE INCORRECTLY depending on the version of shell
  • autoupdate

    • Installation guide on the repository

NeoVim

I can't use Emacs.

  • macOS : brew install neovim
  • Ubuntu : sudo apt install neovim

Vim-plug

Super fast plugin manager

Plugins and Configurations

Posted at nvimrc.vimrc

tmux

  • PLEASE EXTRACT DEFAULT CONFIG FILE FIRST

    • tmux show -g | sed 's/^/set-option -g /' > ~/.tmux.default.conf
  • tmux source-file .tmux.conf to apply config file

  • It doesn't support 256color on default configurations.

    • Add export TERM=xterm-256color in ~/.zshrc

tmux config

Please check tmux.tmux.config file of this repository... tpm required!

tpm

  • Tmux Plugin Manager
    • Installation guide is in the repository
    • List of Plugins
    • Install : prefix + I (Capital I)
    • Update : prefix + U (Capital U)
    • Uninstall?? : keymap doesn't work in iTerm, so just delete both from config file and ~/.tmux/plugins/

Git

Most of projects I'm working with git are usually controlled by IDEs. This means I do not use any plugins of git in CLI.

config

  • git config --global
    • user.name BJKIm
    • user.email *privacy*@icloud.com
    • core.editor vim
    • core.autocrlftrue if Windows, false otherwise..

NOTE: These configurations are deprecated.

Legacy Vim

Vundle

  • Installation

    • git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  • Usage

    • :PluginList : lists configured plugins
    • :PluginInstall : installs plugins
    • :PluginUpdate : updates them
    • :PluginClean : confirms removal of unused plugins

About more informations, see README.md on VundleVim github.

Vim plugins

  • The list of favorite plugins is already in vimrc.vimrc
  • The list of major plugins is in Vim Awesome

Vim config

Please check vimrc.vimrc file of this repository... Is there any way to show the contents from a distinct file on markdown?

Vim airline themes

I use luna and hybrid themes. However, it may appear poorly.

On airline-themes wiki, you can see a bunch of themes to replace.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published