note
print("hello")| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| //help | |
| mapkey('?', 'Show usage', 'Normal.showUsage()'); | |
| //toggle | |
| Events.hotKey = 'i'; // hotkey must be one keystroke with/without modifier, it can not be a sequence of keystrokes like `gg`. | |
| // tab | |
| mapkey('ZQ', 'Quit', function() { | |
| RUNTIME('quit'); | |
| }); |
| # 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 \ |
| // 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; | |
| }); | |
| }); |
| 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/ | |
| sudo fc-cache -vf | |
| sudo mv 10-powerline-symbols.conf /etc/fonts/conf.d/ |
| "============================================================================= | |
| " Configuration for SpaceVim ( URL: https://spacevim.org ) | |
| " Edited by yech | |
| "============================================================================= | |
| " SpaceVim Wraped Options: {{{ | |
| let g:spacevim_enable_debug = 1 | |
| let g:spacevim_realtime_leader_guide = 1 | |
| let g:spacevim_enable_tabline_filetype_icon = 1 |
| /************************************************************* | |
| * File Name : surfingkeys_config.js | |
| * Created By : Ye Chang | |
| * Creation Date : [2017-12-22 21:55] | |
| * Last Modified : [2023-11-19 13:35] | |
| * Description : | |
| **************************************************************/ | |
| // ----------------------------------------------------------------------------------------------------------------------- | |
| // - Surfingkeys: https://github.com/brookhong/Surfingkeys#properties-list |