restclient: remove gj and gk bindings

No need to override default Vim behavior for this key bindings since
they are available on SPC m n and SPC m p already.

Note: We could add a transient state to go nicely with SPC m n and SPC m p.
This commit is contained in:
syl20bnr 2016-11-07 09:40:04 -05:00
parent 658643da0d
commit 8cc96b0b23
2 changed files with 1 additions and 6 deletions

View File

@ -30,8 +30,6 @@ Also there is an [[http://emacsrocks.com/e15.html][Emacs Rocks!]] episode of it.
| Key Binding | Description |
|-------------+-------------------------------------------------------------|
| ~gj~ | Jump to next request |
| ~gk~ | Jump to previous request |
| ~SPC m n~ | Jump to next request |
| ~SPC m p~ | Jump to previous request |
| ~SPC m s~ | Send and stay in window (pretty-print response if possible) |

View File

@ -44,10 +44,7 @@
"S" 'restclient-http-send-current
"r" 'restclient-http-send-current-raw-stay-in-window
"R" 'restclient-http-send-current-raw
"y" 'restclient-copy-curl-command)
(evil-define-key 'normal restclient-mode-map
"gj" 'restclient-jump-next
"gk" 'restclient-jump-prev))))
"y" 'restclient-copy-curl-command))))
(defun restclient/post-init-company ()
(spacemacs|add-company-hook restclient-mode))