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
| #include <stdio.h> | |
| /* copy input to ouput and replace each tab by \t, | |
| * each backspace by \b, and each backslash by \\ | |
| */ | |
| main() | |
| { | |
| int c; |
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
| " replace 'function' with λ | |
| au BufNewFile,BufRead *.js syntax keyword javasScriptFunction function conceal cchar=λ | |
| au BufNewFile,BufRead *.js hi! link javasScriptFunction Conceal | |
| au BufNewFile,BufRead *.js setlocal conceallevel=2 | |
| " add abbreviations for JS | |
| " f_ | |
| " expands to | |
| " function() { | |
| " <cursor> | |
| " |
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
| order += "disk /home" | |
| order += "wireless wlan0" | |
| order += "ethernet ppp0" | |
| order += "cpu_usage" | |
| order += "volume master" | |
| order += "tztime local" | |
| wireless wlan0 { | |
| format_up = "WiFi: %ip %quality %essid %bitrate" | |
| format_down = "WiFi: (/)" |
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
| URxvt.font: xft:Inconsolata\\-g:style=g:size=12:weight=110 | |
| URxvt.letterSpace: -1 | |
| URxvt.boldFont: | |
| ! --- Disable scrollbar | |
| URxvt.scrollBar: false | |
| ! --- Change the font size with the up and down arrow keys | |
| URxvt.perl-ext-common: ...,font-size | |
| URxvt.keysym.C-Up: font-size:increase | |
| URxvt.keysym.C-Down: font-size:decrease |
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 nocompatible | |
| set laststatus=2 | |
| set tabstop=4 | |
| set softtabstop=4 | |
| set shiftwidth=4 | |
| set expandtab | |
| set wildmode=longest,list | |
| set wildmenu | |
| set autoindent | |
| set smartindent |
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
| // See comments below. | |
| // This code sample and justification brought to you by | |
| // Isaac Z. Schlueter, aka isaacs | |
| // standard style | |
| var a = "ape", | |
| b = "bat", | |
| c = "cat", | |
| d = "dog", |
NewerOlder