Revise quickurl layer

Added undocumented keybindings to README.org
Moved bindings from top level to application specific
Fix some smaller documentation issues
Added "quickurls" file to .gitignore
This commit is contained in:
Maximilian Wolff 2019-12-14 20:13:01 +00:00
parent 4645430084
commit efe39163df
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
4 changed files with 31 additions and 24 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@ export/
!/core/tools/export/
ac-comphist.dat
eproject.lst
quickurls
.smex-items
\#*
.places

View File

@ -669,13 +669,13 @@ Other:
- Added =symbol-overlay= to the =spacemacs-navigation= layer
(thanks to kenkangxgwe)
- Key bindings:
- New ~SPC Q~ prefix for dispatching quickurl
- New ~SPC a Q~ prefix for dispatching quickurl
(thanks to Spenser "equwal" Truex:)
- ~SPC Q l~ List quickurls
- ~SPC Q Q~ Expand quickurl abbrev at point
- ~SPC Q i~ Ask for which quickurl to insert
- ~SPC Q e~ Edit quickurls
- ~SPC Q b~ Ask to browse some url from those stored (with completion).
- ~SPC a Q l~ List quickurls
- ~SPC a Q Q~ Expand quickurl abbrev at point
- ~SPC a Q i~ Ask for which quickurl to insert
- ~SPC a Q e~ Edit quickurls
- ~SPC a Q b~ Ask to browse some url from those stored (with completion).
- New evil text objects =«=, =「=, == and =“=.
- Improved buffer transient state with extra bindings and new commands:
- Added ~<right>~ for next-buffer

View File

@ -1,8 +1,10 @@
#+TITLE: quickurl layer
#+TAGS: layer
#+TAGS: emacs|layer
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#features][Features]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
@ -10,18 +12,22 @@
Quickurl is a package in vanilla emacs for saving and inserting URLs. These
are keybindings for the various methods of insertion, which are not bound by
default.
** Features
- Keybindings to dispatch Quickurl (which is in vanilla Emacs).
** Features:
- Keybindings to dispatch Quickurl (which is in vanilla Emacs).
* Install
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
add =quickurl= to the existing =dotspacemacs-configuration-layers= list in this
file.
* Key bindings
| Key Binding | Description |
|-------------+-------------------------------------------------------------|
| ~SPC Q l~ | List quickurls |
| ~SPC Q Q~ | Expand quickurl abbrev at point |
| ~SPC Q i~ | Ask for which quickurl to insert |
| ~SPC Q e~ | Edit quickurls |
| ~SPC Q b~ | Ask to browse some url from those stored (with completion). |
| Key binding | Description |
|-------------+------------------------------------------|
| ~SPC a Q l~ | List quickurls |
| ~SPC a Q Q~ | Expand quickurl abbrev at point |
| ~SPC a Q i~ | Ask for which quickurl to insert |
| ~SPC a Q e~ | Edit quickurl at point |
| ~SPC a Q a~ | Add quickurl at point |
| ~SPC a Q b~ | Ask to browse some url from those stored |

View File

@ -11,11 +11,11 @@
;; Keybindings to use Quickurl, including mode-local ones for the listing.
(spacemacs/declare-prefix "Q" "quickurl")
(spacemacs/declare-prefix "aQ" "quickurl")
(spacemacs/set-leader-keys
"Ql" 'quickurl-list
"QQ" 'quickurl
"Qi" 'quickurl-ask
"Qe" 'quickurl-edit-urls
"Qa" 'quickurl-add-url
"Qb" 'quickurl-browse-url-ask)
"aQl" 'quickurl-list
"aQQ" 'quickurl
"aQi" 'quickurl-ask
"aQe" 'quickurl-edit-urls
"aQa" 'quickurl-add-url
"aQb" 'quickurl-browse-url-ask)