diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 17:21:40 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 17:21:40 -0400 |
| commit | 422d106fbab5505f3810fa845f4f71547c7a4332 (patch) | |
| tree | f6a04c7eabbad04e7c11b3da8e683e69b9df5da2 /.config/ranger/commands.py | |
| parent | 2c06dd36c61dea7383d2a12900eb83ee1751115a (diff) | |
| download | eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.tar.gz eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.tar.zst eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.zip | |
assume default values if xdg dirs not set
Diffstat (limited to '.config/ranger/commands.py')
| -rwxr-xr-x | .config/ranger/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/ranger/commands.py b/.config/ranger/commands.py index 5b1acd2..c1c7419 100755 --- a/.config/ranger/commands.py +++ b/.config/ranger/commands.py @@ -38,7 +38,7 @@ class my_edit(Command): # reference to the currently selected file. target_filename = self.fm.thisfile.path - # This is a generic function to print text in ranger. + # This is a generic function to print text in ranger. self.fm.notify("Let's edit the file " + target_filename + "!") # Using bad=True in fm.notify allows you to print error messages: @@ -60,7 +60,7 @@ class my_edit(Command): # https://github.com/ranger/ranger/wiki/Integrating-File-Search-with-fzf -# Now, simply bind this function to a key, by adding this to your $XDG_CONFIG_HOME/ranger/rc.conf: map <C-f> fzf_select +# Now, simply bind this function to a key, by adding this to your ~/.config/ranger/rc.conf: map <C-f> fzf_select class fzf_select(Command): """ :fzf_select |
