summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <r.oburka@gmail.com> 2015-03-13 16:54:36 +0100
committerGravatar Robin Obůrka <r.oburka@gmail.com> 2015-03-13 16:54:36 +0100
commit42378059b8cade28d8e54c1da9b585ff20b89e62 (patch)
tree04f755f8e97cd470dfa74c670060f8185069458c
parentAdd "default macro" operation (diff)
downloadvim_sync-42378059b8cade28d8e54c1da9b585ff20b89e62.tar.xz
Add command that shows whois information
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 1a1aa85..7c2fe77 100644
--- a/.vimrc
+++ b/.vimrc
@@ -197,6 +197,9 @@ imap <leader>d </><Esc>2F<lywf>f/pF<i<Enter><Enter><Up><Tab>
"run default macro
map <leader>. @q
+"show whois information of object under cursor
+nnoremap <leader>w :! whois <cWORD><cr>
+
" ====================
" function definitions
" ====================