1 Answer
1

Open the Get Info dialog of the file (in the File menu, or Cmd-I, or in the context menu). Then select to open with MacVim and click the Change all… button just below the application selection popup menu.

Use RCDefaultApp (a System Preferences pane) to have greater control of file types.

If you want to control which application handles files without extension, see this answer of mine.