Skip to content

Instantly share code, notes, and snippets.

View agraul's full-sized avatar

Alexander Graul agraul

View GitHub Profile
@agraul
agraul / vim-plugins.md
Last active October 7, 2018 10:26
Vim Plugins getting started

General

  • Use a plugin manager (my favorite one is vim-plug)
  • Vim is not an IDE, just a text editor. Use shell tools and cli applications instead of stuffing everything into Vim (tmux can help with this)
  • I prefer Neovim over Vim, the community drives new features (which only get accepted in Vim after Neovim has proven people want it, Vim's upstream is a bit stubborn) and some plugins that I use require extra dependencies in Vim but not in Neovim

Plugins

The following notation maps to GitHub. tpope/vim-surround can be found at https://github.com/tpope/vim-surround

Top Tier

@agraul
agraul / auto_playlist.py
Last active January 27, 2017 03:01
auto_playlist.py - generate playlist of all Music in ~/Music
#!/usr/bin/python3
import os
import re
# auto_playlist.py - generate playlist of all Music in ~/Music. by Alexander Graul
music_path = os.path.expanduser('~/Music/')
# Ask for name for new playlist file with fallback to "playlist.m3u"
playlist_file_name = input("Please enter a name for the playlist:\t")
if playlist_file_name == '':
playlist_file_name = 'playlist'