From b10e3c8b97033d9e72a70f8fc027a67dc733652a Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Sun, 10 May 2015 00:17:30 -0400 Subject: [PATCH] Move `SPC b r` to `SPC f R` (rename file) fixes #707 --- doc/DOCUMENTATION.md | 2 +- spacemacs/keybindings.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/DOCUMENTATION.md b/doc/DOCUMENTATION.md index ca7fd702f..2841b382e 100644 --- a/doc/DOCUMENTATION.md +++ b/doc/DOCUMENTATION.md @@ -1438,7 +1438,6 @@ Key Binding | Description SPC b n | switch to next buffer avoiding special buffers SPC b p | switch to previous buffer avoiding special buffers SPC b P | copy clipboard and replace buffer (useful when pasting from a browser) -SPC b r | rename the current buffer SPC b R | revert the current buffer (reload from disk) SPC b w | toggle read-only (writable state) SPC b Y | copy whole buffer to clipboard (useful when copying to a browser) @@ -1475,6 +1474,7 @@ Key Binding | Description SPC f F | open a file using `ido` SPC f j | jump to the current buffer file in dired SPC f o | open a file using the default external program +SPC f R | rename the current file SPC f s | save a file SPC f S | save all files SPC f r | open a recent file with `helm` diff --git a/spacemacs/keybindings.el b/spacemacs/keybindings.el index d6cf90543..7bd6bf559 100644 --- a/spacemacs/keybindings.el +++ b/spacemacs/keybindings.el @@ -64,7 +64,6 @@ "bn" 'spacemacs/next-useful-buffer "bp" 'spacemacs/previous-useful-buffer "bR" 'spacemacs/safe-revert-buffer - "br" 'rename-current-buffer-file "bY" 'copy-whole-buffer-to-clipboard "bw" 'read-only-mode) ;; Cycling settings ----------------------------------------------------------- @@ -112,6 +111,7 @@ Ensure that helm is required before calling FUNC." "fg" 'rgrep "fj" 'dired-jump "fo" 'spacemacs/open-in-external-app + "fR" 'rename-current-buffer-file "fS" 'evil-write-all "fs" 'evil-write "fy" 'show-and-copy-buffer-filename)