Jump to content

Search the Community

Showing results for tags 'vim'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 9 results

  1. Would be great there's an option to turn on vim navigation (h,j,k,l). This would probably replace ctrl + n / ctrl + p.
  2. Hey everybody! I am working on this workflow where I have a file filter with the most important text files (for me, at least) to open with vim in iTerm. Currently I have it configured so that I can choose to just run vim and get a new document or I can choose to run "v $SOMEFILE" in Alfred to make it open that way. It's super cool, I've used https://github.com/stuartcryan/custom-iterm-applescripts-for-alfred/ and Macvimtoolbox as inspiration for this. There is one bug, however. When the active iTerm window is not just showing a prompt but engaged, then the script doesn't open a new windows but just pastes the "nvim /path/to/file" into the window. I'd like to configure the Apple-script to just open a new window in that case. How do I do that? The code I'm using is here, btw: on alfred_script(q) my runIniTerm( "nvim " & q & "" ) end alfred_script -- This is v0.5 of the custom script for AlfredApp for iTerm 2.9+ -- Please see https://github.com/stuartcryan/custom-iterm-applescripts-for-alfred/ -- for the latest changes. on is_running(app_name) tell application "System Events" to (name of processes) contains app_name end is_running -- Please note, if you store the iTerm binary in any other location than the Applications Folder -- please ensure you update the two locations below (in the format of : rather than / for folder dividers) -- this gets around issues with AppleScript not handling things well if you have two iTerm binaries on your system... which can happen on runIniTerm(q) if is_running("iTerm2") or is_running("iTerm") then run script " on run {q} tell application \":Applications:iTerm.app\" activate try select first window set onlywindow to true on error create window with default profile select first window set onlywindow to true end try tell the first window if onlywindow is false then create tab with default profile end if tell current session to write text q end tell end tell end run " with parameters {q} else run script " on run {q} tell application \":Applications:iTerm.app\" activate try select first window on error create window with default profile select first window end try tell the first window tell current session to write text q end tell end tell end run " with parameters {q} end if end runIniTerm The workflow can be found here: https://transfer.sh/Ul5L3/Open-files-with-Vim.alfredworkflow
  3. This workflow simply: 1. save clipboard to a temporary file 2. open that temp file with MacVim 3. Waiting for you to finish editing (by default, you have 30s to edit) 4. Send edited content to clipboard GitHub repo, download from GitHub
  4. Hello, I tried to use snippets and vim in the terminal. That works, but I used TAB after the // in the snippit in Alfred. When I inserted it in vim with snip, it look strange. I think something is going wrong with TABs Have someone tried this? or must I do it different Greetings from the Netherlands Wim Alsemgeest.
  5. 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://www.packal.org/workflow/macvim-toolkit GitHub: https://github.com/raguay/MyAlfred My Website: http://customct.com/alfred-2-workflows
  6. 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
  7. Dracula Dracula is a dark open-source theme for Alfred, SublimeText, TextMate, Vim and Chrome DevTools. Instructions and download links here.
  8. Hey guys, just upgraded to version 2 which turned out even better than expected! Here's a quick theme that I did. It's a the Monokai Theme some of you might know from editors like TextMate, SublimeText or Vim. Download: https://github.com/fniephaus/alfred-monokai/raw/master/Monokai.alfredappearance Cheers Fabio
  9. Here's my take on my favorite Vim/Sublime Text color scheme: Monokai Download link: https://github.com/benjaminwhite/Alfred-Themes
×
×
  • Create New...