{"id":24563805,"url":"https://github.com/mildronize/dotfiles","last_synced_at":"2025-04-19T19:05:46.516Z","repository":{"id":83976381,"uuid":"43702122","full_name":"mildronize/dotfiles","owner":"mildronize","description":"My dotfiles","archived":false,"fork":false,"pushed_at":"2023-12-31T16:38:34.000Z","size":112,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-04-13T03:40:46.558Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mildronize.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-10-05T17:39:24.000Z","updated_at":"2021-11-30T03:03:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"155338d3-0270-4cd6-8ee1-55e4a879d56b","html_url":"https://github.com/mildronize/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mildronize","download_url":"https://codeload.github.com/mildronize/dotfiles/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235260748,"owners_count":18961636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-23T10:15:49.121Z","updated_at":"2025-01-23T10:15:49.884Z","avatar_url":"https://github.com/mildronize.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\nA dotfiles boilerplate that anyone can fork it to save own configuration and ready to use. It contains [Vim](http://www.vim.org), [Zsh](http://www.zsh.org) with [Oh-my-zsh] and [Tmux](https://tmux.github.io/) configurations.\n\n## Warning!\nThis `dotfiles` supports only no config of vim, tmux and zsh. In the other hand, you should to **backup your current configurations** of each program.\n\n**Features**\n- To reduce tightly coupled in each tool from [my previous version](https://github.com/mildronize/dotfiles-legacy) (forked from [ibotdotout](https://github.com/ibotdotout/dotfiles))\n- To use [Dotbot](https://github.com/anishathalye/dotbot/) to create symbolink to my home automatically\n- Use [Vim Plug]\nThe previous version uses [Janus Vim](https://github.com/carlhuda/janus)\n- Use [Zgen](https://github.com/tarjoilija/zgen) to manage [Oh-my-zsh] and zsh plugins\n\n## Todo\n- [ ] Change Zgen to [ZPlug](https://github.com/zplug/zplug)\n\n\n### How to use my dotfiles\n1. Fork this repository\n2. Commit your own configurations\n\n[Oh-my-zsh]: https://github.com/robbyrussell/oh-my-zsh\n\u003e **Note:** This version is only install all things, next, I will seperate it.\n\n## Contents\n  * [dotfiles](#dotfiles)\n  * [Usage](#usage)\n    * [Quick Setup](#quick-setup)\n    * [Manual](#manual)\n    * [Add Vim Plugin](#add-vim-plugin)\n    * [For Putty](#for-putty)\n    * [Install Powerline fonts](#install-powerline-fonts)\n  * [Managing your custom configurations](#managing-your-custom-configurations)\n  * [Vim](#vim)\n    * [Features](#features)\n    * [My Mapping Keys](#my-mapping-keys)\n      * [Overriding Basic key](#overriding-basic-key)\n      * [Work with Git by \u003ca href=\"https://github.com/tpope/vim-fugitive\"\u003eFugitive\u003c/a\u003e ](#work-with-git-by-fugitive)\n      * [Auto zoom when active window by \u003ca href=\"https://github.com/zhaocai/GoldenView.Vim\"\u003eGoldenView\u003c/a\u003e ](#auto-zoom-when-active-window-by-goldenview)\n      * [Travel in a tree explorer by \u003ca href=\"https://github.com/scrooloose/nerdtree\"\u003eNERDtree\u003c/a\u003e ](#travel-in-a-tree-explorer-by-nerdtree)\n      * [Working with system clipboard by \u003ca href=\"https://github.com/scrooloose/nerdtree\"\u003eSystem Copy\u003c/a\u003e ](#working-with-system-clipboard-by-system-copy)\n      * [Quick comment code by \u003ca href=\"https://github.com/scrooloose/nerdcommenter\"\u003eNERDcommenter\u003c/a\u003e ](#quick-comment-code-by-nerdcommenter)\n      * [Quick aligning code by \u003ca href=\"https://github.com/godlygeek/tabular\"\u003eTabular\u003c/a\u003e ](#quick-aligning-code-by-tabular)\n\n# Usage\n2 ways to use\n\n1. quick setup or\n2. manual\n\n## Quick setup\n### Installation\n- Make sure you installed `git curl zsh tmux vim`, then run the command:\n\n```\ngit clone https://github.com/mildronize/dotfiles.git ~/.dotfiles \u0026\u0026 cd ~/.dotfiles \u0026\u0026 make all\n```\n\nFor tmux config, it requires to run `make tmux` inside tmux session.\n\n## Manual\n### Installation\n- Make sure you installed `git curl zsh tmux vim`\n- `git clone https://github.com/mildronize/dotfiles.git ~/.dotfiles`\n- `cd ~/.dotfiles`\n- `make vim-all` for installing [Vim Plug] that it can manage many vim plugins\n- `make zsh` for installing zsh config \n- `make tmux` for installing tmux config, note run this command inside tmux session.\n- Run `zsh` to run zsh and install their plugins oh-my-zsh\n\n### Update zsh config\n- `rezsh` or `zgen reset \u0026\u0026 source ~/.zshrc`\n\n## Add Vim Plugin\n- Add plugin name in `~/.vimrc`\n- Reload vim config `:source ~/.vimrc` or Reopen vim\n- Install \u0026 Update plugin by using `:PlugInstall`\n\n## For Putty\n- [My Putty Configuration](https://gist.githubusercontent.com/mildronize/3ffffa30b98ddaa7d942/raw/13126c182b15289d44b352d17e0ad27d086650da/mildronize-putty-sessions.reg)\n- Run `export PUTTY=true`\n\n## Install Powerline fonts\n- Support on Linux and Windows\n- \u003chttps://github.com/powerline/fonts\u003e\n\n## Install Cheat\n[Interactive cheatsheets on the command-line](https://github.com/chrisallenlane/cheat)\n- `sudo easy_install cheat`\n\n## Problem\n- **Q**: `zsh` isn't set to default shell\n- **A**: `chsh -s /usr/bin/zsh [username]` (Don't use `sudo`)\n\n[Vim Plug]: https://github.com/junegunn/vim-plug.git\n\n## Managing your custom configurations\n- Edit your custom configurations\n```\nConfig for zsh        : zsh/.zshrc.local\nConfig for Vim        : vim/.vimrc.local\nConfig for Vim key    : vim/.vimrc.key.local\nConfig for Vim Plugin : vim/plugin/*.vim\n```\n- Uncomment or add your config files what you place into your `$HOME` path at `.install.conf.yaml`\n\n \u003e Note: This file uses [yaml](http://yaml.org/) format\n\n- Create new symbolinks of your dotfiles with [dotbot](https://github.com/anishathalye/dotbot/) using `./dotbot`\n\n \u003e Note: If you got some error, you should cope your existing dotfiles. \n\n# Vim\nVim Usage:\n- See in [Multi-language Vim Cheat sheet](http://sim.rtorr.com)\n- มีภาษาไทยด้วยนะ ดูได้ใน [คู่มือการใช้ Vim ฉบับย่อ](http://vim.rtorr.com/lang/th/)\n\n## Features\n- Auto `PASTE` mode when pasting in insert mode\n\n## My Mapping Keys\n### Overriding Basic key\nFile: `~/.vimrc.keys`\n\nAction                                                          | Key\n---                                                             | ---\nLeader                                                          | \u003ckbd\u003espace\u003c/kbd\u003e\nGo to NORMAL mode                                               | \u003ckbd\u003ej\u003c/kbd\u003e\u003ckbd\u003ek\u003c/kbd\u003e or \u003ckbd\u003ek\u003c/kbd\u003e\u003ckbd\u003ej\u003c/kbd\u003e\nToggle PASTE mode                                               | \u003ckbd\u003eF3\u003c/kbd\u003e\nSwitching word wrap                                             | `leader` \u003ckbd\u003ew\u003c/kbd\u003e\n`INSERT` Jump out to the end of line \u003cbr\u003e(still in insert mode) | \u003ckbd\u003eCtrl\u003c/kbd\u003e\u003ckbd\u003el\u003c/kbd\u003e\nMove to {next,previous} tab                                     | \u003ckbd\u003eL\u003c/kbd\u003e ,  \u003ckbd\u003eH\u003c/kbd\u003e\nSwap window to {next,previous} buffer                           | `leader` \u003ckbd\u003el\u003c/kbd\u003e , `leader` \u003ckbd\u003eh\u003c/kbd\u003e\nToggle search highlight                                         | `leader`\u003ckbd\u003eh\u003c/kbd\u003e\u003ckbd\u003es\u003c/kbd\u003e\nToggle background dark or light                                 | `leader`\u003ckbd\u003eb\u003c/kbd\u003e\u003ckbd\u003eg\u003c/kbd\u003e\n\n### Work with Git by [Fugitive]\n\nAction     | Key\n---        | ---\nGit status | `leader`\u003ckbd\u003eg\u003c/kbd\u003e\u003ckbd\u003es\u003c/kbd\u003e\nGit commit | `leader`\u003ckbd\u003eg\u003c/kbd\u003e\u003ckbd\u003ec\u003c/kbd\u003e\nGit push   | `leader`\u003ckbd\u003eg\u003c/kbd\u003e\u003ckbd\u003ep\u003c/kbd\u003e\nGit diff   | `leader`\u003ckbd\u003eg\u003c/kbd\u003e\u003ckbd\u003ed\u003c/kbd\u003e\n\nRead more at [Fugitive]\n\n[Fugitive]: https://github.com/tpope/vim-fugitive\n\n### Auto zoom when active window by [GoldenView]\nAlways have a nice view for vim split windows\n\nAction                                  | Key\n---                                     | ---\nGo to next split window                 | \u003ckbd\u003eCtrl\u003c/kbd\u003e\u003ckbd\u003en\u003c/kbd\u003e\nSwapping main split with not main split | \u003ckbd\u003eF7\u003c/kbd\u003e\n\nRead more at [GoldenView]\n\n[GoldenView]: https://github.com/zhaocai/GoldenView.Vim\n\n### Travel in a tree explorer by [NERDtree]\n\nAction          | Key\n---             | ---\nToggle NERDtree | `leader`\u003ckbd\u003en\u003c/kbd\u003e\n\nRead more at [NERDtree]\n\n[NERDtree]: https://github.com/scrooloose/nerdtree\n\n### Working with system clipboard by [System Copy]\nPrerequisite: `xsel` for linux, other? read in [System Copy]\n\nAction                                             | Key\n---                                                | ---\nCopy the selected text into system clipboard       | \u003ckbd\u003ec\u003c/kbd\u003e\u003ckbd\u003ep\u003c/kbd\u003e\n`NORMAL` Paste from system clipboard into new line | \u003ckbd\u003ec\u003c/kbd\u003e\u003ckbd\u003ev\u003c/kbd\u003e\n\nRead more at [System Copy]\n\n[System Copy]: https://github.com/christoomey/vim-system-copy\n\n### Quick comment code by [NERDcommenter]\n\nAction              | Key\n---                 | ---\nToggle comment code | `leader`\u003ckbd\u003e/\u003c/kbd\u003e\nComment code        | `leader`\u003ckbd\u003ec\u003c/kbd\u003e\u003ckbd\u003ec\u003c/kbd\u003e\nUncomment code      | `leader`\u003ckbd\u003ec\u003c/kbd\u003e\u003ckbd\u003eu\u003c/kbd\u003e\n\nRead more at [NERDcommenter]\n\n[NERDcommenter]: https://github.com/scrooloose/nerdcommenter\n\n### Quick aligning code by [Tabular]\n\nUsage: `leader`\u003ckbd\u003ea\u003c/kbd\u003e\u003ckbd\u003e[Char what you want to align in same position in each line]\u003c/kbd\u003e\n\nExample code:\n```\ndog=1\nelephant=1\n```\nTo algin use `leader`\u003ckbd\u003ea\u003c/kbd\u003e\u003ckbd\u003e=\u003c/kbd\u003e , after that:\n```\ndog      = 1\nelephant = 1\n```\n\nIf it's not work. Don't worry!. Just add your key map in `~/.dotfiles/vim/plugin/tabular.vim`\n\nRead more at [Tabular]\n\n[Tabular]: https://github.com/godlygeek/tabular\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmildronize%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Fdotfiles/lists"}