Search the Community
Showing results for tags 'MacVim'.
Since I work with a lot of ASCII text files which I like to edit with MacVim, I've set my macOS so that all files with a .txt extension are opened with MacVim. Then, if I want to edit one on the fly, I can just type my Alfred keyboard shortcut and then type "open somefile.txt" and Alfred will open it in MacVim. But what I've noticed is that MacVim doesn't appear to be reading my ~/.vimrc file when I open files using Alfred as the settings I have in that file aren't set in MacVim when the file is opened. On the other hand, if I were to open and terminal window and change to the directory whe
This searches for lines matching a regular expression like the grep command. You can install this workflow by downloading the .alfredworkflow file from: https://github.com/ichitaro/alfred-grep Notes: Input files are supposed to be encoded in UTF-8. For performance reasons, please consider using Alfred's File Buffer to reduce search scope, instead of passing a large directory tree to the file action.
MacVim Toolbox This workflow adds commands for working with MacVim. The commands are: vim:editterminal Edit the selected file from Finder or PathFinder in a terminal MacVim in Terminal.app. vim:edititerm Edit the selected file from Finder or PathFinder in a terminal MacVim in iTerm2 in a tab. vim:editgui Edit the selected file from Finder or PathFinder in a gui MacVim It also has commands for the Alfred Browser to edit with MacVim in terminal or gui. There are hotkey you can define as well. Version: 1.2 Date: Jan 5, 2016 Packal: http:/
Take the selected file (or folder) in Finder and edit it in MacVim. This would also be a good pattern for "Open Finder file in ThisOtherApplication" https://dl.dropboxusercontent.com/u/27500327/shared/Finder_to_MacVim.alfredworkflow