You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,14 @@ This can be a problem if you do not have write permissions for the `/tmp` direct
64
64
There is a configuration variable for this called `g:ranger_choice_file`, this must be set to the
65
65
path for a file that doesn't yet exist (this file is created when choosing a file and removed afterwards).
66
66
67
+
### Setting a custom ranger command
68
+
By default ranger is opened with the command `ranger` but you can set an other custom command by setting the `g:ranger_command_override` variable in your .(n)vimrc.
69
+
70
+
For instance if you want to display the hidden files by default you can write:
71
+
```
72
+
let g:ranger_command_override = 'ranger --cmd "set show_hidden=true"'
0 commit comments