Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fonglh/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

.vimrc file and Ubuntu colour scheme for OS X terminal

.vimrc

The .vimrc file uses Vundle for plugin management. For the PluginInstall and BundleInstall commands to work, Vundle must be installed first.

Detailed instructions and examples can be found at https://github.com/gmarik/Vundle.vim

  1. Create a symlink to the .vimrc file in the repo from the home directory.

    $ ln -s dotfiles/.vimrc ~/.vimrc

  2. The most important thing is to install Vundle.

    $ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim

  3. After that, open Vim and run PluginInstall

oh-my-zsh

Install oh-my-zsh as the .zshrc file assumes that's what we're using.

  1. sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

.zshrc

Edits the path variable and enables the plugins.

  1. Create a symlink to the .zshrc file in the repo from the home directory.

    $ ln -s dotfiles/.zshrc ~/.zshrc

  2. If using the powerlevel10k Zsh theme, symlink the configuration file.

    $ ln -s dotfiles/.p10k.zsh ~/.p10k.zsh

i3

Configuration file for the i3 window manager.

  1. The i3 configuration file is at ~/.config/i3/config.

    ln -s ~/dotfiles/i3/ .config/i3

.tmux.conf

Configuration file for tmux

  1. Create a symlink to the .tmux.conf file in the repo from the home directory.

    $ ln -s dotfiles/.tmux.conf ~/.tmux.conf

The tmux folder contains custom tmux startup scripts for customizing the windows and panes for various development projects.

  1. Start tmux with the custom file with the command:

    $ tmux -f cm.conf attach

If attach is excluded, we'll have TWO tmux sessions instead of just one.

.my.cnf

Modifies the MySQL client prompt to display more information.

  1. Create a symlink for the .my.cnf file in the repo from the home directory.

    $ ln -s dotfiles/.my.cnf ~/.my.cnf

Enabling Readline shortcuts on iTerm2

To enable them, on the iTerm2 menu, go to iTerm -> Preferences. Go to the Profiles tab, and click on Keys. For the Left option key acts as: section, choose the +Esc radio button, and you’re all set.

From (http://blog.pangyanhan.com/posts/2013-12-13-vim-install-solarized-on-mac-os-x.html)

About

Mainly .zshrc and .vimrc config

Topics

Resources

Stars

Watchers

Forks