emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 29/52: Bind company-show-doc-buffer to C-h


From: Dmitry Gutov
Subject: [elpa] 29/52: Bind company-show-doc-buffer to C-h
Date: Tue, 01 Jul 2014 11:53:21 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 828f02d361c934593262e9c7f3cc7d3ab01ebe0c
Author: Bozhidar Batsov <address@hidden>
Date:   Wed Jun 4 17:31:23 2014 +0300

    Bind company-show-doc-buffer to C-h
    
    <f1> is extremely touch-typing unfriendly, so it's good to have a
    companion binding that's more friendly to touch typists.
---
 NEWS.md    |    1 +
 company.el |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/NEWS.md b/NEWS.md
index 3db242c..8004ee3 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -6,6 +6,7 @@
 * User option `company-dabbrev-code-other-buffers` can have a new value: 
`code`.
 * New user option `company-tooltip-flip-when-above`.
 * `company-clang` uses the standard header search paths by default.
+* `C-h` is bound to `company-show-doc-buffer` (like `f1`).
 
 ## 2014-04-19 (0.8.0)
 
diff --git a/company.el b/company.el
index fb02f71..3e34519 100644
--- a/company.el
+++ b/company.el
@@ -615,6 +615,7 @@ asynchronous call into synchronous.")
     (define-key keymap [tab] 'company-complete-common)
     (define-key keymap (kbd "TAB") 'company-complete-common)
     (define-key keymap (kbd "<f1>") 'company-show-doc-buffer)
+    (define-key keymap (kbd "C-h") 'company-show-doc-buffer)
     (define-key keymap "\C-w" 'company-show-location)
     (define-key keymap "\C-s" 'company-search-candidates)
     (define-key keymap "\C-\M-s" 'company-filter-candidates)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]