Skip to content

Commit

Permalink
Ranger edit with Vim
Browse files Browse the repository at this point in the history
  • Loading branch information
andys8 committed Oct 29, 2024
1 parent 3c65371 commit 59f6521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,4 @@ Add `/Users/username/bin` to `/etc/paths` to be able to overwrite system binarie

Use `duti` or `dutis` to configure.
Use `automator` to create an application that runs a shell script (e.g. `/opt/homebrew/bin/alacritty -e vim "$@"`)
Use `E` in ranger to edit.
2 changes: 2 additions & 0 deletions rc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ default_linemode devicons
set sort mtime
set sort_reverse False

set editor vim

# Open shell in dir
# https://wiki.archlinux.org/index.php/Ranger#A_simpler_solution
map S shell fish -c "cd %d; fish"
Expand Down

0 comments on commit 59f6521

Please sign in to comment.