diff --git a/vim/vimrc b/vim/vimrc index 344623d..56d2eb2 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -30,6 +30,10 @@ nnoremap so :source $MYVIMRC nnoremap nt :NERDTree nnoremap nf :NERDTreeFind +" fzf mappings +nnoremap d :Files +nnoremap f :Rg + "ALE fix file " nmap sa :ALEFix @@ -304,9 +308,9 @@ autocmd FileType json syntax match Comment +\/\/.\+$+ nnoremap rn (coc-rename) " Formatting selected code. -xnoremap f (coc-format-selected) -vnoremap f (coc-format-selected) -nnoremap f (coc-format-selected) +" xnoremap f (coc-format-selected) +" vnoremap f (coc-format-selected) +" nnoremap f (coc-format-selected) augroup mygroup autocmd! diff --git a/zsh/zshrc b/zsh/zshrc index ea9b817..dfd7886 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -28,6 +28,8 @@ setopt share_history # share command history data # load env variables export LESS="-XFR" +export USE_GKE_GCLOUD_AUTH_PLUGIN=True # required for kubectl auth updates +export FZF_DEFAULT_COMMAND='rg' # make fzf use rg by default # export ANSIBLE_VAULT_PASSWORD_FILE=~/.vault-pass.txt # export ANSIBLE_HOST_KEY_CHECKING=False # export GOPATH=/Users/robertjones/Code/go