8000 GitHub - tomcam/utilities · GitHub
[go: up one dir, main page]

Skip to content
tomcamPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

nv: Run neovim like Midnight Command

# nv uses nvim to run as a file explorer
#!/bin/zsh
: If it's an existing file open in read only view and quit
[ -f $1 ] && nvim -R $1 && exit
: If it's an existing directory open it read only view and quit
[ -d $1 ] && nvim -c 'execute ":Ex"' -R $1 && exit
: Whatever, just open in read-only view
[ -d $1 ] && nvim -c 'execute ":Ex"' -R 

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

0