diff --git a/defaults/default-gems b/defaults/default-gems new file mode 100644 index 0000000..8d95aaf --- /dev/null +++ b/defaults/default-gems @@ -0,0 +1,3 @@ +bundler +solargraph +nokogiri diff --git a/playbooks/roles/common/tasks/asdf.yml b/playbooks/roles/common/tasks/asdf.yml index dea736a..68ce2d3 100644 --- a/playbooks/roles/common/tasks/asdf.yml +++ b/playbooks/roles/common/tasks/asdf.yml @@ -19,7 +19,14 @@ args: creates: ~/.asdf/plugins/ruby -- name: asdf - ruby +- name: setup default gems + file: + src: ~/.dotfiles/defaults/default-gems + dest: ~/.default-gems + state: link + force: yes + +- name: asdf - nodejs shell: ~/.asdf/bin/asdf plugin-add nodejs args: creates: ~/.asdf/plugins/nodejs diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 181afd7..e5c53bb 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -67,7 +67,7 @@ bind Escape copy-mode unbind p bind p paste-buffer bind -Tcopy-mode-vi 'v' send -X begin-selection -bind -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "tmux save-buffer - | reattach-to-user-namespace pbcopy" +bind -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" # split-windows bind | split-window -h -c "#{pane_current_path}" diff --git a/vim/vimrc b/vim/vimrc index db0ee63..24a054e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -9,6 +9,7 @@ set relativenumber set tabstop=4 set shiftwidth=4 set smarttab +set expandtab set hidden set showtabline=1 set termguicolors diff --git a/zsh/zshrc b/zsh/zshrc index 8879d90..cf7e357 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -76,6 +76,8 @@ export SHELL="/bin/zsh" . $HOME/.asdf/asdf.sh . $HOME/.asdf/completions/asdf.bash +export PATH="$(yarn global bin):$PATH" + #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! export SDKMAN_DIR="$HOME/.sdkman"