]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add nvim config directory
authorEdward Delaporte <delaport@illinois.edu>
Wed, 19 Mar 2025 18:57:19 +0000 (13:57 -0500)
committerEdward Delaporte <delaport@illinois.edu>
Wed, 19 Mar 2025 18:57:19 +0000 (13:57 -0500)
files/Microsoft.PowerShell_profile.ps1

index 0f208832388160005e354d2b9d1ffdfd9d0741c5..ca65107c80a21a64f9c73a902ff6b3e8e84fb4b5 100644 (file)
@@ -17,7 +17,7 @@ New-Alias dash   Show-MyDashboard # from dash.psm1
 New-Alias today Get-JournalAgenda
 function journal {
     param(
 New-Alias today Get-JournalAgenda
 function journal {
     param(
-        [ValidateSet('limited','shared','journal', 'dotfiles')]
+        [ValidateSet('limited','shared','journal', 'dotfiles', 'nvim')]
         [string]$key,
         [switch]$limited = $false,
         [switch]$shared = $false,
         [string]$key,
         [switch]$limited = $false,
         [switch]$shared = $false,
@@ -29,6 +29,7 @@ function journal {
         'shared' { $path = "$HOME\Box\Privacy & Cybersecurity\Cybersecurity Development" }
         'journal' { $path = "$HOME\Box\Journal" }
         'dotfiles' { $path = "$HOME\dotfiles" }
         'shared' { $path = "$HOME\Box\Privacy & Cybersecurity\Cybersecurity Development" }
         'journal' { $path = "$HOME\Box\Journal" }
         'dotfiles' { $path = "$HOME\dotfiles" }
+        'nvim' { $path = "$HOME\AppData\Local\nvim" }
     }
     cd $path; nvim $path
 }
     }
     cd $path; nvim $path
 }