Last active
May 21, 2024 12:51
-
-
Save kensleDev/6242d9ff05b19bc90447a731c67d4af7 to your computer and use it in GitHub Desktop.
Windows neovim install
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
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | |
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression | |
scoop bucket add extras | |
scoop bucket add versions | |
scoop install git | |
scoop install neovim | |
scoop install lazygit | |
scoop install mingw | |
scoop install sed | |
scoop install ripgrep | |
scoop install versions/python310 | |
scoop install nvm | |
scoop install neovide | |
scoop install gh | |
scoop install fzf | |
scoop install eza | |
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck | |
Install-Module -Name z -Force | |
Install-Module -Name PSFzf -Scope CurrentUser -Force | |
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+f' -PSReadlineChordReverseHistoryArgs 'Ctrl+r' | |
# Install rust - https://doc.rust-lang.org/cargo/getting-started/installation.html | |
cargo install fd-find | |
nvm.exe install latest | |
nvm.exe use latest | |
npm i -g neovim | |
pip install neovim | |
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
# Shows navigable menu of all options when hitting Tab | |
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete | |
# Autocompletion for arrow keys | |
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward | |
# Auto suggestions - Run: Install-Module PSReadLine -RequiredVersion 2.1.0 | |
Import-Module PSReadLine | |
Set-PSReadLineOption -PredictionSource History | |
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+f' -PSReadlineChordReverseHistoryArgs 'Ctrl+r' | |
# Alias | |
New-Alias open ii | |
New-Alias c clear | |
New-Alias p pnpm | |
New-Alias n npm | |
New-Alias b bun | |
function .. { set-location ".." } | |
function l { eza } | |
function ld { eza -l } | |
function la { eza -a } | |
function lad { eza -a -l } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment