Skip to content

Instantly share code, notes, and snippets.

View mpjuers's full-sized avatar

Mark Juers mpjuers

View GitHub Profile
@mpjuers
mpjuers / diff
Created May 15, 2021 23:46
Vim overhaul diff.
1,3c1
< call plug#begin('~/.config/nvim/plugged')
< " Plug 'kopischke/vim-stay' " This isn't working properly for some reason
< " Plug 'vim-syntastic/syntastic'
---
> call plug#begin('~/.config/nvim/plugged/')
5d2
< Plug 'altercation/vim-colors-solarized'
7d3
< Plug 'christoomey/vim-tmux-navigator'
@mpjuers
mpjuers / init.vim
Created May 15, 2021 23:46
New vim setup.
call plug#begin('~/.config/nvim/plugged/')
Plug 'arcticicestudio/nord-vim'
Plug 'chrisbra/csv.vim'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'dag/vim-fish'
Plug 'elzr/vim-json'
Plug 'fs111/pydoc.vim'
Plug 'itchyny/lightline.vim'
Plug 'jalvesaq/Nvim-R'
Plug 'jeffkreeftmeijer/vim-numbertoggle'
@mpjuers
mpjuers / oldSetup.vim
Created May 15, 2021 23:46
Old vim setup.
call plug#begin('~/.config/nvim/plugged')
" Plug 'kopischke/vim-stay' " This isn't working properly for some reason
" Plug 'vim-syntastic/syntastic'
Plug 'arcticicestudio/nord-vim'
Plug 'altercation/vim-colors-solarized'
Plug 'chrisbra/csv.vim'
Plug 'christoomey/vim-tmux-navigator'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'dag/vim-fish'
Plug 'elzr/vim-json'
@mpjuers
mpjuers / paste
Last active June 16, 2020 00:44
new kernel #jupyter
python -m ipykernel install --user --name=myenv
@mpjuers
mpjuers / hammerspoonEject.lua
Last active June 4, 2020 21:44
Hammerspoon eject menu #lua #hammerspoon #desktopautomation
changeEjectMenuIcon = function (mods)
if mods:containExactly({'cmd'}) then
ejectMenu:setTitle('⮑')
elseif mods:containExactly({}) then
ejectMenu:setTitle('⏏')
end
return(0)
end
ejectAll = function ()