From 502048fcc98003fe26bd63997f765e78f3fbe53c Mon Sep 17 00:00:00 2001 From: Abhishek Mukherjee Date: Thu, 30 Nov 2017 17:25:01 -0800 Subject: [PATCH] add kubectl and better vim mappings --- zshrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zshrc b/zshrc index ccc266c..47fa61e 100644 --- a/zshrc +++ b/zshrc @@ -44,3 +44,10 @@ fi zplug load HISTFILE=$HOME/.zsh/history +bindkey -M vicmd -r 'H' +bindkey -M viins -r '\eh' +bindkey -M vicmd 'K' run-help + +if (( $+commands[kubectl] )); then + source <(kubectl completion zsh) +fi