i3, Vim, Bash, Ruby, Typescript & React, Elixir, Golang & more! dotfiles
You may want to use this setup if you are interested in or use any of the below features.
Installed software
- neovim
- asdf-vm
- tmux with tpm and tmux themepack
- neofetch
- ripgrep
- fzf
- nnn
- mysql
- git
- Ruby
- Elixir
- yarn
- i3wm
- tldr
- bat
- tmate
Bash Usage
- general git aliases, i.e.
ga
,gco
,gd
,gc
etc gcob<Enter>
checkout branch from fzfgpullb<Enter>
pull branch from fzfgpushb<Enter>
push to origin upstream branch from fzfgmergeb<Enter>
merge branch from fzf- rails aliases such as
rdm
,rdmd
,rc
evrc
edit vimrc- Providing you have feh installed,
chbg
will cycle backgrounds through images in your~/.bgs
folder CTRL-T
will search for files from the command line with fzfALT-C
will search for directories from the command line and selecting one will place you in the directory [Note: on MacOSESC-C
will do this]- From within tmux you can open vi mode with
<prefix>[
Included Vim Plugins
vim-plug for plugin management
- nerdtree
- coc.nvim
- undotree
- vim-markdown
- markdown preview
- emmet-vim
- vim-easy-align
- vim-system-copy
- fzf.vim
- elixir vim
- tickit.vim
- treesitter
- vim-fugitive
- vim-dispatch
- vim-surround
- vim-commentary
- awesome-vim-colorschemes
- vim-airline
Vim Usage
<Leader>
key is bound to<Leader>vs
will vertically split<Leader>zs
will horizontally split<Leader>hjkl
for moving between splits<Leader>+
and<Leader>-
for vertical resizingga
for easy align. For instance,gaip:
will align the paragraph on:
<Leader><Enter>
to get rid of search highlighting<Leader>gd
will go to definition using Coc.nvim<Leader>gr
will go to references using Coc.nvim\
will trigger a fzf grep from the cwd<Leader>nn
will toggle NerdTree<Leader>nf
will open NerdTree at the current files location<Leader>u
will toggle Undotree<C-T>
will open your file search<Leader>b
opens a FZF file search for the open buffers<Leader>s
opens a search of the current files lines and will take you to the line foundcp$
copy rest of line (or any pattern) to clipboard<Leader>gst
fugitive git status<Leader>gj
fugitive get head when in merge<Leader>gf
fugitive get upstream when in merge<Leader>sp
to spell previously incorrect word<Leader>p
delete and paste register from within visual mode. the active register will not be replacedK
Go to the documentation of the function under the cursor. If Coc isn't enabled for the filetype, it will search nvims :h- ... Explore the vimrc to find more!
Installation
Prerequisites
Currently the setup.sh script in this repository is somewhat unfinished and won't work entirely correctly. It is there primarily for documentation, so if you are going to use this configuration, use it as guidance to install what you need to.
Deprecated
$ curl -fLo ~/setup.sh https://raw.githubusercontent.com/haydenrou/dotfiles/master/setup.sh
$ chmod +x ~/setup.sh
$ sh ~/setup.sh
Contribution
You're more than welcome to submit an issue or PR with any bugs or feature suggestions.
If you want to pair up on a project, or build out any of the above, pop me an email at [email protected].