Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
to add the ranger custom command option
  • Loading branch information
francoiscabrol committed May 16, 2018
1 parent 00b9f8a commit 118afa2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -64,6 +64,14 @@ This can be a problem if you do not have write permissions for the `/tmp` direct
There is a configuration variable for this called `g:ranger_choice_file`, this must be set to the
path for a file that doesn't yet exist (this file is created when choosing a file and removed afterwards).

### Setting a custom ranger command
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.

For instance if you want to display the hidden files by default you can write:
```
let g:ranger_command_override = 'ranger --cmd "set show_hidden=true"'
```

## Common issues

### Using fish shell (issue #42)
Expand Down

0 comments on commit 118afa2

Please sign in to comment.