Code Monkey home page Code Monkey logo

.dotfiles's Introduction

.my-terminal

This conbines .zshrc and .tmux.conf.local. They need to be installed separately to ~/ as .zshrc and .tmux.conf.local. This is based on the two famous projects below.

tmux

https://github.com/gpakosz/.tmux is the project called ohmytmux. To use this project, you need to

cd ~
git clone https://github.com/gpakosz/.tmux
ln -s -f .tmux/.tmux.conf	# link to the config file from this project

It's strongly suggested that ~/.tmux.conf file should not be modified, and modify ~/.tmux.conf.local instead to override the default settings with your own key bindings.

So I have placed my own .tmux.conf.local here, and to make it work, do

cd ~
ln -s -f .my-terminal/.tmux.conf.local
# I have included the .tmux.conf here, so
ln -s -f .my-terminal/.tmux.conf

I have set my own key bindings of spliting window as below: (this is the main function I will be using with tmux)

# -- user customizations -------------------------------------------------------
# this is the place to override or undo settings
bind | split-window -h
bind - split-window -v 

There's also settings for status line you can customized if you would like to.

zsh

https://github/ohmyzsh/ohmyzsh is a very famous zsh shell template. I added some alias and variables on top of the original project.

To make it work, first you need to download ohmyzsh into your ~ folder and then download this project. Please follow here to install ohmyzsh. After that is done, do

cd ~
git clone https://github.com/happy42779/.my-terminal.git
ln -s -f .my-terminal/.zshrc

To install the following plugins: git zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-autosuggestions zsh-syntax-highlighting: git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-syntax-highlighting zsh-completions:
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions web-search vi-mode z dirhistory copybuffer copyfile

.dotfiles's People

Contributors

happy42779 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.