This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Forked from https://gist.github.com/fedir/5466075 | |
| Changes: | |
| - allows to import Github gists into a local DASH database (https://kapeli.com/dash) | |
| - gists are added to any existing snippet already in database | |
| - filetypes are added, but support is very basic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- SOURCE: https://github.com/wez/wezterm/issues/1751#issuecomment-2014752114 | |
| -- brew install --cask hammerspoon | |
| -- ~/.hammerspoon/init.lua | |
| -- Import necessary Hammerspoon modules | |
| local hotkey = require "hs.hotkey" | |
| local application = require "hs.application" | |
| local mouse = require "hs.mouse" | |
| local screen = require "hs.screen" | |
| local geometry = require "hs.geometry" | |
| local spaces = require "hs.spaces" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Save as ~/.vim/ftplugin/netrw_icons.vim | |
| if exists('b:netrw_icons_loaded') | |
| finish | |
| endif | |
| let b:netrw_icons_loaded = 1 | |
| autocmd TextChanged <buffer> call s:NetrwAddIcons() | |
| if empty(prop_type_get('netrw_file_icon', {'bufnr': bufnr('%')})) |
OlderNewer