home ~ socials ~ projects ~ rss

Command Line: Neovim Shortcut - nv

February 2024
function nv () {
  nvim $1
}

Notes

  • This is the function I use to launch Neovim from the command line
  • It lets me point to different versions of Neovim easily while working with the nightly builds
  • One optional argument can be passed to open a specific file, but I rarely do that. Instead I usually just open in the directory I want to work in
end of line
Share link:
https://www.alanwsmith.com/en/2c/eq/uh/db/?command-line-neovim-shortcut-nv