Last active
July 5, 2022 14:22
-
-
Save Tirke/ccd4987d16677f734e30f7c532583f34 to your computer and use it in GitHub Desktop.
run vim in things without sudo
This file contains 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
process | |
.on('unhandledRejection', (reason, p) => { | |
console.error(reason, 'Unhandled Rejection at Promise', p); | |
}) | |
.on('uncaughtException', err => { | |
console.error(err, 'Uncaught Exception thrown'); | |
process.exit(1); | |
}); |
This file contains 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
mkdir ~/vim | |
cd ~/vim | |
# Staically linked vim version compiled from https://github.com/ericpruitt/static-vim | |
# Compiled on Jul 20 2017 | |
wget 'https://s3.amazonaws.com/bengoa/vim-static.tar.gz' | |
tar -xf ./vim-static.tar.gz | |
export VIMRUNTIME="$HOME/vim/runtime" | |
export PATH="$HOME/vim:$PATH" | |
cd - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment