aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-07-03 04:45:46 -0400
committertdro <tdro@users.noreply.github.com>2020-07-03 04:45:46 -0400
commite89e878d0c19e58d4417042ae41bf9ae1d0f2d75 (patch)
tree6ef828ec2841bbd956e2d4ae07fd102fa75556e6 /.vimrc
parent5bfb207cd9416644cb1d239ca127e62f9b29166c (diff)
downloaddotfiles-e89e878d0c19e58d4417042ae41bf9ae1d0f2d75.tar.gz
dotfiles-e89e878d0c19e58d4417042ae41bf9ae1d0f2d75.tar.bz2
dotfiles-e89e878d0c19e58d4417042ae41bf9ae1d0f2d75.zip
.vimrc: Search documention
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc5
1 files changed, 2 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index 2a2834b..d3f3fba 100644
--- a/.vimrc
+++ b/.vimrc
@@ -151,9 +151,8 @@ nmap <Leader>flc :Commands<cr>
nmap <Leader>mm :Maps<cr>
nmap <Leader>ma :Marks<cr>
-" Print working directory
-nmap <Leader>di :pwd<cr>
-nmap <Leader>df :echo @%<cr>
+" Search documentation under cursor
+nmap <Leader>di :execute ':help ' . expand('<cword>')<cr>
" Load and save sessions
nmap <Leader>sl :source ~/.vim/sessions/session.vim \| :source ~/.vimrc<cr>