Skip to content

Latest commit

 

History

History
132 lines (97 loc) · 5.01 KB

README.md

File metadata and controls

132 lines (97 loc) · 5.01 KB

dotfiles

This repo contains my dotfiles. It works on both MacOS and Linux. Use below command to get started quickly

cd ~
git clone https://github.com/arpitjindal97/dotfiles.git dotfiles
cd dotfiles
make install

Prerequisite

Install below tools first before cloning the repo

  • zsh
  • xsel or xclip (only Linux)
  • vim
  • tmux
  • git

Fonts

Note:

  • MesloLGS NF needs to be set as the font in terminal you are using for the theme to work properly
  • On Windows, Download & Install the font "MesloLFS-NF" directly from the repository

Tools Used

Update configuration

To make your dotfiles in sync with mine, use the below command. It will fetch from upstream here.

cd ~/dotfiles
make update

Screenshot

screenshot

Tmux

If you default shell is not zsh and you try to open tmux and It is not be able to render powerline symbols. Then type below command then try again.

export LC_ALL=en_US.UTF-8
Key Combination Function
prefix C-a
prefix + [ copy-mode vi
prefix + b previous-window
prefix + n next-window
prefix + p paste buffer from clipboard (xsel)
prefix + k select pane -U
prefix + j select pane -D
prefix + h select pane -L
prefix + l select pane -R
prefix + C-h resize pane -L 1
prefix + C-j resize pane -D 1
prefix + C-k resize pane -U 1
prefix + C-l resize pane -R 1
prefix + r reload source file
copy-mode-vi v begin-selection
copy-mode-vi y copy-buffer to clipboard (xsel)

Rest all other key binding are samme.

Plugin Manager: tpm

Plugins used

Vim

Key Function
C-n NerdTreeToggle

I haven't set any key binding for vim. All the commands are as default provided by the plugins. Check their documentation.

Plugin Manager: vim-plug

Plugins used

Zsh

Vim keybindings are used. Please do not edit zshrc file. If you want to set some environment variable then provide ~/.zshenv file. It will get sourced automatically. You can see a sample .zshenv file here

Have a look at different types of files at zsh.sourceforge.net/Intro/intro_3.html

Addons used

Feel free to use them and provide PRs for any improvement