Rubble from my attempt to do an impromptu screen-share to chrome on my google-tv for my kids.
Doesn't work, but I think it might be kind of close.
Links:
| function Start-EmacsClient { | |
| [CmdletBinding()] | |
| param( | |
| [switch] $NewWindow, | |
| [switch] $CreateFrame, | |
| [switch] $Wait, | |
| $AlternateEditor = 'notepad', | |
| [Parameter(Position=0, ValueFromRemainingArguments)] | |
| [string[]] $RestArgs) | |
| [user] | |
| email = [email protected] | |
| name = Chris Bilson | |
| [core] | |
| editor = "'C:/ProgramData/Chocolatey/bin/emacsclientw.exe' --quiet --alternate-editor=notepad $*" | |
| [diff] | |
| tool = bc4 | |
| {:user | |
| {:offline? false | |
| :plugins | |
| [[lein-pprint "1.1.2"] | |
| [lein-ancient "0.5.5"] | |
| ;; [cider/cider-nrepl "0.7.0"] | |
| [cider/cider-nrepl "0.8.0-SNAPSHOT"]] | |
| :dependencies | |
| [[im.chit/iroh "0.1.11"] | |
| [im.chit/vinyasa "0.2.2"] |
| function Find-MaybeChocolateyProgram($Path, $Name, $ChocolateyPackageName) { | |
| if (!$Path) { | |
| $commandFromEnvPath = Get-Command $Name | |
| if ($commandFromEnvPath -ne $null) { | |
| return $commandFromEnvPath.Definition | |
| } | |
| if (!(Test-Path env:ChocolateyInstall)) { | |
| throw "Chocolately not installed. Please tell me where $Name is." |
| # Set the prefix to ^z | |
| #unbind-key C-b | |
| set-option -g prefix C-z | |
| bind-key C-z send-prefix | |
| # screen ^C c | |
| unbind-key ^C | |
| bind-key ^C new-window | |
| unbind-key c | |
| bind-key c new-window |
| if (Test-Path ~\.emacs.d\server) { | |
| $acl = Get-Acl ~\.emacs.d\server | |
| $acct = [Security.Principal.NTAccount] "$env:USERDOMAIN\$env:USERNAME" | |
| $acl.SetOwner($acct) | |
| Set-Acl ~\.emacs.d\server $acl | |
| } |
| Update-ExecutionPolicy Unrestricted | |
| if (!(Test-Path $env:UserProfile\OneDrive\Documents)) { | |
| New-Item -Force -Path $env:UserProfile\OneDrive\Documents -Type Directory | |
| } | |
| Move-LibraryDirectory "Personal" "$env:UserProfile\OneDrive\Documents" | |
| Set-ExplorerOptions -ShowHidenFilesFoldersDrives -ShowProtectedOSFiles -ShowFileExtensions | |
| Set-TaskbarSmall |
| set incsearch | |
| set hlsearch | |
| set smartcase | |
| let mapleader="," | |
| map <Leader>n :nohl<cr> | |
| set hintchars=aoeuidhtns | |
| set editor='gvim' |
| " | |
| " VsVim Specific Settings | |
| " | |
| set vsvim_useeditordefaults | |
| set incsearch | |
| set clipboard=unnamed | |
| set number | |
| set hlsearch | |
| set smartcase |
Rubble from my attempt to do an impromptu screen-share to chrome on my google-tv for my kids.
Doesn't work, but I think it might be kind of close.
Links: