Skip to content

Commit f3ab83b

Browse files
committed
Add 'Open in directory of current file' example to README (dylanaraps#11)
In response to issue dylanaraps#7
2 parents 726b9a1 + b9e8754 commit f3ab83b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ Then run `:PlugUpdate`
4545
nnoremap <silent> <Leader>f :F<CR>
4646
```
4747

48+
```vim
49+
" Open fff on press of 'f' in directory of current file
50+
nnoremap <expr> <silent>f ':F ' . expand('%:p:h:S') . "\n"
51+
```
52+
4853
## Customization
4954

5055
### Split Size

0 commit comments

Comments
 (0)