From defd4bc9331fca1f9c59906e86221696cea3a832 Mon Sep 17 00:00:00 2001 From: Aaditya Dhruv Date: Sun, 10 Sep 2023 12:01:02 -0500 Subject: Add config role to install dotfiles The config role will install the actual config files I use in the right directories based on the options in the main config.yaml --- src/config/files/shell/.vimrc | 6 ++++-- src/config/files/shell/.zshrc | 11 ++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'src/config/files/shell') diff --git a/src/config/files/shell/.vimrc b/src/config/files/shell/.vimrc index 43ff606..658eac5 100644 --- a/src/config/files/shell/.vimrc +++ b/src/config/files/shell/.vimrc @@ -9,8 +9,8 @@ call vundle#begin() "call vundle#begin('~/some/path/here') set bs=2 -set ts=4 -set sw=4 +set ts=8 +set sw=8 set t_Co=256 set number set ruler @@ -23,6 +23,7 @@ nnoremap :tablast nnoremap :tabmove +1 nnoremap :tabmove -1 map :NERDTreeTabsToggle +noremap :Files xnoremap :s/^/\/\/ nnoremap >> nnoremap << @@ -46,6 +47,7 @@ Plugin 'sainnhe/gruvbox-material' Plugin 'sheerun/vim-polyglot' Plugin 'valloric/youcompleteme' Plugin 'junegunn/fzf' +Plugin 'junegunn/fzf.vim' Plugin 'iamcco/markdown-preview.nvim' " All of your Plugins must be added before the following line diff --git a/src/config/files/shell/.zshrc b/src/config/files/shell/.zshrc index b663bb3..ad4b8c0 100644 --- a/src/config/files/shell/.zshrc +++ b/src/config/files/shell/.zshrc @@ -82,7 +82,6 @@ ZSH_THEME="powerlevel10k/powerlevel10k" plugins=(git zsh-autosuggestions zsh-syntax-highlighting - ) source $ZSH/oh-my-zsh.sh @@ -120,3 +119,13 @@ export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +compdef _doctl doctl +export EDITOR="/usr/bin/nvim" +# Install Ruby Gems to ~/gems +export GEM_HOME="$HOME/.gems" +export PATH="$HOME/.gems/bin:$PATH" +export PATH="$HOME/.local/bin:$PATH" + +alias note="/bin/nvim /home/aaditya/Notes/general/$(date +'%d-%m-%y').md" +source <(kubectl completion zsh) +alias k=kubectl -- cgit