tedante / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

Basic Usage

1. Create directory code

mkdir ~/code
cd ~/code

2. Clone this repository

git clone git@github.com:tedante/dotfiles.git
git clone git@github.com:zsh-users/zsh-syntax-highlighting.git

3. Install some terminal tools

4. create symbolic links

ln -s ~/code/dotfiles/home/.zshrc ~/

1. Install nvim

2. Create file init.vim

mkdir ~/.config/nvim
touch ~/.config/nvim/init.vim

3. Install vim-plug

4. Copy folder nvim config to ~/

ln -s ~/code/dotfiles/home/.config ~/

5. Install nvim plugin

  • on nvim run :PlugInstall and restart nvim
  • on nvim run :CocInstall coc-tsserver and restart nvim

Snippets

Nginx config

Example here

This config placed on the server at /etc/nginx/sites-available/

Server (Linux)

Script for install nginx and docker

Prerequisite

Install git in your machine

  1. Clone this repository
  2. change folder to dotfiles
cd dotfiles
  1. run the script
bash ./script/install-server.sh
  1. waiting until process done

About


Languages

Language:Shell 71.9%Language:Vim Script 24.8%Language:JavaScript 3.3%