Skip to content

hqt/dotfile

Repository files navigation

This is my script for setting up development environment on macOS new machine. This script includes copying all dotfiles to root directory and installing all necessary softwares, packages, plugins ...

This is suitable for whom programs in Anroid, ruby, python and especially for vim user.

Installation Steps

  1. run brew.sh.
  2. Add solarize theme and set Meslo font for terminal.
  3. Add solarize theme and set Meslo font for iTerm.

Here is some plugins for easier to manage software package:

  • Homebrew: software package management system that simplifies the installation software on MacOS.
  • Homebrew cask: Homebrew for GUI, supporting install all GUI apps such as Chrome, Skype ... automatically.
  • NVM: Node Version Manager. Control multi versions of node in same system.
  • NPM: Node Plugin Manager. Control all node plugins globally.
  • RVM:Ruby Version Manager. Control multi versions of ruby in same system.

Vim with Tmux configuration:

This system configs for using iTerm + Tmux + Tmuxinator + Vim seemlessly. We can:

  • Using tmux and tmuxinator. Key binding for tmux is Control + A
  • Switching between Tmux panel and vim panel seemlessly. (Using Control + H Control + L Control + J Control + K for left, right, up and down respectively)
  • Concise hotkey for splitting window using Control + \ or Control + -.
  • Control + Z back and forth for open/close temporary console on vim.
  • Vim and NeoVim is compiled with Python support.

Vim configuration:

  • Using Vundle for vim plugin management.
  • Leader key is ;. We don't need to move fingers out of home row keyboard.
  • Using Nerdtree for browsing file. Pressing ;ns or ;tns for keeping nerdtree across all vim tabs.
  • Searching files using combination of CtrlP and Silver Searcher - ag.
  • Easier for navigating code repository using bookmark, ctags or go around with motion.
  • Supporting checking syntax, autocompletion, auto close brackets ...

Getting .vimrc for more hotkey reference.

Reference

Hope you enjoy :)

About

Dot file collections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published