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
" Basic settings | |
set nocompatible " behave like vim, not old vi | |
set modelines=0 " don't use modelines | |
set viminfo='20,\"50 " use a viminfo file,... | |
set history=50 " and limit history | |
set ruler " show the cursor position | |
set title " show title on the window | |
set autoread " reload file if changed outside vim | |
set autowrite " save file on some commands | |
set scrolloff=1 " minimal no. of lines around cursor |
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
<?xml version='1.0'?> | |
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<match target="font"> | |
<edit mode="assign" name="autohint"> | |
<bool>true</bool> | |
</edit> | |
</match> | |
<!-- Enable sub-pixel rendering --> | |
<match target="font"> |
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
#!/usr/bin/env bash | |
INFMT="markdown" | |
INEXT="md" | |
OUTFMT="html" | |
OUTEXT="html" | |
CSSFILE="./pandoc.css" | |
for INFILE in $(ls *.$INEXT) | |
do |
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
/* | |
This is a simple CSS file I pass as -c when generating a HTML | |
file out of my markdown file with a bunch of links inside, using | |
Pandoc. | |
*/ | |
body { | |
width: 960px; | |
margin: 0 150px 50px; | |
font: 13px/1.3 'DejaVu Sans', sans-serif; |
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
" I'm using the following config to make my code look the same everywhere. | |
set bs=indent,eol,start " allow backspacing over everything | |
set autoindent " enable auto-indentation | |
set tabstop=2 " no. of spaces for tab in file | |
set shiftwidth=2 " no. of spaces for step in autoindent | |
set softtabstop=2 " no. of spaces for tab when editing | |
set expandtab " expand tabs into spaces | |
set smarttab " smart tabulation and backspace |
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
// Trying to set icon | |
let icon = new St.Icon({ icon_name: 'emblem-cm-symbolic', | |
icon_type: St.IconType.SYMBOLIC, | |
icon_size: 16 }); | |
this.actor.get_children().forEach(function(c) { c.destroy() }); | |
this.actor.add_actor(icon); | |
// Place the 'emblem-cm-symbolic.svg' in the same directory |
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
# .bashrc | |
# Cool bash prompt (with git goodness) | |
function parse_git_branch { | |
BRANCH_PROMPT=$(__git_ps1) | |
if [ -n "$BRANCH_PROMPT" ]; then | |
BR_GIT_STATUS=$(get_git_status) | |
echo $BRANCH_PROMPT$BR_GIT_STATUS | |
fi | |
} |
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
set guifont=DejaVu\ Sans\ Mono\ 11 | |
set columns=80 | |
set guioptions-=T | |
set guioptions-=r | |
set guioptions-=L | |
colorscheme monokai |
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
" Set the key to launch conque - terminal | |
nnoremap <leader>t :ConqueTermSplit bash<cr> |
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
" Disabling filetype before Pathogen. Loaded later. | |
filetype off | |
" Invoke pathogen | |
call pathogen#runtime_append_all_bundles() |
NewerOlder