Ranger: add key bindings to upload to transfer.sh
This commit is contained in:
parent
bc089fc6fe
commit
c49535a51f
@ -208,7 +208,7 @@ alias travel scout -aefiklst
|
|||||||
** Some Custom Keybindings
|
** Some Custom Keybindings
|
||||||
*** Extract
|
*** Extract
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
map ,x shell extract %f
|
map ,x shell extract %f
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** TODO Compress
|
*** TODO Compress
|
||||||
@ -218,12 +218,17 @@ map ,z shell tar -cvzf %f.tar.gz %f
|
|||||||
|
|
||||||
*** Delete first page of pdf
|
*** Delete first page of pdf
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
map ,d shell ~/scripts/pdf-delete-first-page.sh %f
|
map ,d shell ~/scripts/pdf-delete-first-page.sh %f
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Magit Status
|
*** Magit Status
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
map ,gs shell emacsclient -create-frame --alternate-editor="" --eval '(magit-status)'
|
map ,gs shell emacsclient -create-frame --alternate-editor="" --eval '(magit-status)'
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
*** Upload with Tansfer.sh
|
||||||
|
#+BEGIN_SRC conf
|
||||||
|
map ,t shell curl --progress-bar --upload-file %f https://transfer.sh/$(basename $1) | xclip -in -selection clipboard;
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Define keys for the browser
|
** Define keys for the browser
|
||||||
|
@ -45,7 +45,7 @@ rofi.separator-style: solid
|
|||||||
* Rofi Menu Config
|
* Rofi Menu Config
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.config/rofimenu/rofimenu.config
|
:header-args: :tangle ~/.config/rofimenu/rofimenu.config
|
||||||
:header-args+: :comments both :mkdirp yes
|
:header-args+: :comments none :mkdirp yes
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
@ -289,7 +289,7 @@ activate_category() { # shows drun modi filtered with category. If no command se
|
|||||||
* Theme
|
* Theme
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.config/rofimenu/rofimenu.rasi
|
:header-args: :tangle ~/.config/rofimenu/rofimenu.rasi
|
||||||
:header-args+: :comments both :mkdirp yes
|
:header-args+: :comments none :mkdirp yes
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
|
Loading…
Reference in New Issue
Block a user