Skip to content

d0u9/.dot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dot

The bucket of dot files.

Description

This repo includes configuration files come from various most common used softewares, such as neovim, oh-my-zsh, tmux or private applications(this private configuration is managed by an independent git repo, and won't be added in this repo to avoid sensitive information leakage). Each application's specific configuration files are contained in one directory which named as the application's name.


Content

Prerequisite

To obtain the full features of this configuration, you have to install NERD fonts which are patched lots of icons.

You can find more details of NERD fonts here: https://github.com/ryanoasis/nerd-fonts


Private config files

If you have any private files(files containe sensitive contents), you may gather all of them together and put them in the conf directory. The conf directory has been added in gitignore file, which won't be pushed to the server.


NeoVim

If you are a man occasionally understands Chinese, you may check this article which is posted on my blog for more details.

Install NeoVim

You may check here.

Install ag command

Here, we use ag(the silver searcher) as the search command of CtrlP command, So you need to install it accoradingly. If there is no any ag in your system, the default search mechanism of CtrlP is used.

For installation details, check here.

Create configuration directory

Instead of .vimr and .vim/ dir, neovim uses the XDG specification to manage its configuration files.

To use my configurations, all you need is to link the nvim dir in my .dot to where the XDG specification designates.

mkdir -p ${XDG_CONFIG_HOME:=$HOME/.config}
ln -s .dot/nvim $XDG_CONFIG_HOME/

Here gives more information about the differences between vim and neovim.

Install python support of Neovim

pip install neovim

or, if you familiar with python3 use pip3 instead.

If you are using OSX El capitan, like me, and have failed installing pip, you have to understand the new protect mechanism, i.e. SIP.

Install vim-plug.

If you have curl installed, you can execute the following command to install vim-plug:

curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Otherwise, you may check this.

Install all the plugings

Install YCM with a specific version of python.

If you don't want to use the system's default python interpreter, or if you opt with many different versions of python, you can compile YCM with a specific version of python.

For the details, please check this article.

CONFIGURE_OPTS="--enable-shared --with-system-expat " pyenv install 3.9.3

oh-my-zsh

  1. Copy theme to your oh-my-zsh configuration directory.
  2. Make a symbol of zshrc to your ~ directory.

tmux

Make symbol link

Link tmux dir and tmux.conf to your home directory:

ln -s /path/to/.dot/tmux ~/.tmux
ln -s /path/to/.dot/tmux/tmux.conf ~/.tmux.conf

Install tpm plugin

The official installation guide can be found https://github.com/tmux-plugins/tpm#installation.

Simply:

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Install other plugins

Launch tmux and press the shortcut: Prefix + I.


License

CC License

About

The bucket of dot files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published