-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84d1c31
commit d2d2e98
Showing
2 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
function vf() { | ||
vim $(fzf) | ||
} | ||
|
||
eval $(ssh-agent -s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,39 @@ | |
|
||
### Setup | ||
|
||
* install zsh git tmux neovim curl | ||
* install zsh git tmux neovim curl fzf | ||
* `sudo chsh -s /bin/zsh $USER` | ||
* set git repo [Archwiki](https://wiki.archlinux.org/index.php/Dotfiles) | ||
* * add remote | ||
* * checkout master | ||
* * git submodule init | ||
* * git submodule update | ||
* setup ssh | ||
* * setup ssh-agent | ||
`ssh-add .ssh/id_rsa` | ||
* [set git repo](#dot) | ||
* [install nvim plugins](#vim-plug) | ||
* [install tmux plugins](#tpm) | ||
|
||
### dot | ||
|
||
inspo: [Archwiki](https://wiki.archlinux.org/index.php/Dotfiles) | ||
|
||
``` | ||
mkdir git | ||
cd git | ||
git clone --bare [email protected]:kellyjosephprice/dotfiles.git dotfiles | ||
alias dot='/usr/bin/git --git-dir=$HOME/dit/dotfiles/ --work-tree=$HOME' | ||
cd | ||
dot restore --staged . | ||
dot restore . | ||
``` | ||
|
||
### vim-plug | ||
|
||
``` | ||
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ | ||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | ||
``` | ||
|
||
### tpm | ||
|
||
``` | ||
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ | ||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | ||
tmux source ~/.tmux.conf | ||
ctrl+a I | ||
``` |