Skip to content

Latest commit

 

History

History
92 lines (77 loc) · 1.89 KB

File metadata and controls

92 lines (77 loc) · 1.89 KB

GIT

Install

sudo apt-get update
sudo apt-get install git

Configuration

git config --global color.ui true
git config --global user.name "David Cuadra"
git config --global user.email "dcuadraq@gmail.com"
ssh-keygen -t rsa -b 4096 -C "dcuadraq@gmail.com"
cat ~/.ssh/id_rsa.pub

Copy the output and paste it on your GitHub account

Copy repo

Assuming the the path to place the repo is ~/workspaces/dot-files/

cd 
mkdir workspaces
cd workspaces
git clone https://github.com/dcuadraq/dot-files.git
cd dot-files

Set files on HOME

Make a symbolic link on $HOME for the files

ln -s {~/workspaces/dot-files/,~/}.vimrc
ln -s {~/workspaces/dot-files/,~/}.tmux.conf

To replace an already existing file on $HOME

rm ~/.bashrc && ln -s {~/workspaces/dot-files/,~/}.bashrc

Depending on the OS, it could be .bash_profile instead of .bashrc

VIM

Folders for tmp and swap files

cd ~/.vim/
mkdir tmp && cd tmp
mkdir swap
mkdir undo

Install vim-plug

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

Inside vim

:PlugInstall

For vim-livedown to work:

npm install -g livedown

Gnome Plugins

  • Alt Tab Workspace
  • AlternateTab
  • OpenWeather
  • Refresh Wifi Connections
  • Workspace Indicator
  • Top Panel Workspace Scroll
  • shellshape

Tmux plugins

Rails

https://gorails.com/setup/

Others

Set CAPS LOCKS as CTRL

Pro Tip

Using fzf, with CTRL+T for autocomplete on bash Set font Source Font Pro on iterm/profile Or Hack

Bash apps