cd ~
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
sudo mv PowerlineSymbols.otf /usr/share/fonts/
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
# remove old vim | |
sudo apt purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo rm -rf /usr/local/share/vim | |
sudo rm /usr/bin/vim | |
# install dependence | |
sudo apt install liblua5.1-dev luajit libluajit-5.1 \ | |
python3-dev \ | |
ruby-dev \ | |
libperl-dev \ |
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
// unmap some system key | |
unmap('<Ctrl-j>'); | |
// mapping like vimum | |
map('u', 'e'); | |
mapkey('p', "Open the clipboard's URL in the current tab", function() { | |
Front.getContentFromClipboard(function(response) { | |
window.location.href = response.data; | |
}); | |
}); |