Ranger: custom bindings are accessible using comma

This commit is contained in:
Thomas Dehaeze 2019-02-03 17:54:05 +01:00
parent 6db22475e6
commit 207c45c6b2
2 changed files with 9 additions and 4 deletions

View File

@ -208,17 +208,22 @@ alias travel scout -aefiklst
** Some Custom Keybindings
*** Extract
#+BEGIN_SRC conf
map X shell extract %f
map ,x shell extract %f
#+END_SRC
*** TODO Compress
#+BEGIN_SRC conf
map Z shell tar -cvzf %f.tar.gz %f
map ,z shell tar -cvzf %f.tar.gz %f
#+END_SRC
*** Delete first page of pdf
#+BEGIN_SRC conf
map Cp shell ~/scripts/pdf-delete-first-page.sh %f
map ,d shell ~/scripts/pdf-delete-first-page.sh %f
#+END_SRC
*** Magit Status
#+BEGIN_SRC conf
map ,gs shell emacsclient -create-frame --alternate-editor="" --eval '(magit-status)'
#+END_SRC
** Define keys for the browser

View File

@ -776,7 +776,7 @@ let g:indentLine_color_term = 239
let g:webdevicons_enable_ctrlp = 1
#+END_SRC
** junegunn/goyo.vim
** TODO [#B] junegunn/goyo.vim
#+BEGIN_SRC conf
let g:goyo_width=100
let g:goyo_margin_top = 2