Added frame manipulation commands

This commit is contained in:
Ben Lloyd 2017-02-03 21:19:04 +00:00 committed by Eivind Fonn
parent df3ca63247
commit 51bcba8964
2 changed files with 25 additions and 0 deletions

View File

@ -126,6 +126,7 @@
- [[#buffers-manipulation-transient-state][Buffers manipulation transient state]]
- [[#special-buffers][Special Buffers]]
- [[#files-manipulations-key-bindings][Files manipulations key bindings]]
- [[#frame-manipulation-key-bindings][Frame manipulation key bindings]]
- [[#emacs-and-spacemacs-files][Emacs and Spacemacs files]]
- [[#browsing-files-in-completion-buffer][Browsing files in completion buffer]]
- [[#ido][Ido]]
@ -2178,6 +2179,19 @@ Files manipulation commands (start with ~f~):
| ~SPC f v p~ | add a local variable to the first line of the current file |
| ~SPC f y~ | show and copy current file absolute path in the minibuffer |
**** Frame manipulation key bindings
Frame manipulation commands (start with ~F~):
| Key Binding | Description |
|-------------+-----------------------------------------------------|
| ~SPC F f~ | open a file in another frame |
| ~SPC F c~ | delete the current frame (unless its the only one) |
| ~SPC F C~ | delete all other frames |
| ~SPC F b~ | open a buffer in another frame |
| ~SPC F B~ | open a buffer in another frame (but dont switch) |
| ~SPC F o~ | cycle focus between frames |
| ~SPC F n~ | create a new frame |
**** Emacs and Spacemacs files
Convenient key bindings are located under the prefix ~SPC f e~ to quickly
navigate between =Emacs= and Spacemacs specific files.

View File

@ -27,6 +27,7 @@
("fC" "files/convert")
("fe" "emacs(spacemacs)")
("fv" "variables")
("F" "frame")
("g" "git/versions-control")
("h" "help")
("hd" "help-describe")
@ -200,6 +201,16 @@
"fvf" 'add-file-local-variable
"fvp" 'add-file-local-variable-prop-line
"fy" 'spacemacs/show-and-copy-buffer-filename)
;; frame ----------------------------------------------------------------------
(spacemacs/set-leader-keys
"Ff" 'find-file-other-frame
"Fc" 'delete-frame
"FC" 'delete-other-frames
"Fb" 'switch-to-buffer-other-frame
"FB" 'display-buffer-other-frame
"Fd" 'dired-other-frame
"Fo" 'other-frame
"Fn" 'make-frame)
;; help -----------------------------------------------------------------------
(spacemacs/set-leader-keys
"hdb" 'describe-bindings