summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <robin.oburka@nic.cz> 2017-08-22 16:31:15 +0200
committerGravatar Robin Obůrka <robin.oburka@nic.cz> 2017-08-22 16:31:15 +0200
commit6d8e6b1e1e5ca02ef0f20a8a9e6962d56764a164 (patch)
treeec5037a1a5b30e9cf28d0aa8fc5011066d6a84a0
parentAdd configuration for NERDTree plugin (diff)
downloadvim_sync-6d8e6b1e1e5ca02ef0f20a8a9e6962d56764a164.tar.xz
Add shortcut for ansible-doc (like K for man page)
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index d9aaf5f..ecda125 100644
--- a/.vimrc
+++ b/.vimrc
@@ -211,6 +211,7 @@ map <leader>. @q
"show whois information of object under cursor
nnoremap <leader>w :! whois <cWORD><cr>
nnoremap <leader>d :! dig -x <cWORD><cr>
+nnoremap <leader>a :! ansible-doc <cword><cr>
" ====================
" function definitions