Skip to content

Instantly share code, notes, and snippets.

@nikhan
nikhan / 16color.vim
Last active January 3, 2017 19:19
modified 16color.vim 12/31/2016
let g:colors_name = "16color"
hi Normal ctermfg=none
hi Boolean ctermfg=12
hi Comment ctermfg=8 ctermbg=none cterm=none
hi Conditional ctermfg=10
hi Constant ctermfg=11
hi Cursor ctermbg=none
hi Debug ctermfg=13
hi Define ctermfg=11
@nikhan
nikhan / .vimrc
Created January 4, 2017 05:40
01-03-2017
set t_Co=256
set t_ut=
execute pathogen#infect()
syntax on
filetype plugin indent on
colorscheme zazen
set nu
set shiftwidth=2
@nikhan
nikhan / .Xresources
Created January 4, 2017 05:41
01-03-2017
Xft.antialias: true
Xft.rgba: none
Xft.hinting: true
Xft.autohint: true
Xft.hintstyle: hintslight
URxvt*termName: screen-256color
URxvt*scrollBar: false
URxvt*visualBell: false
URxvt*urgentOnBell: true
@nikhan
nikhan / zazen.vim
Created January 4, 2017 05:42
01-03-2017
" =============================================================================
" File: zazen.vim
" Description: Vim color scheme file
" Maintainer: Zoltan Dezso
" =============================================================================
" (fixed status line)
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
@nikhan
nikhan / .Xresources
Created March 11, 2017 18:01
.Xresources
Xft.antialias: true
Xft.rgba: none
!
Xft.hinting: true
Xft.autohint: true
Xft.hintstyle: hintslight
URxvt*termName: screen-256color
URxvt*scrollBar: false
URxvt*visualBell: false
@nikhan
nikhan / .Xmodmap
Last active April 29, 2017 06:39
ubuntu/macbook
! macbook 2015/ubuntu 17.04
! Exchange left Alt and left Win
remove mod1 = Alt_L
remove mod4 = Super_L
add mod1 = Super_L
add mod4 = Alt_L
! Exchange tilde and lesser/greater
keycode 94 = grave asciitilde dead_grave dead_tilde grave asciitilde
keycode 49 = less greater less greater bar brokenbar bar brokenbar
@nikhan
nikhan / .vimrc
Created April 29, 2017 06:39
ubuntu/macbook
set t_Co=256
set t_ut=
syntax on
filetype plugin indent on
colorscheme zazen
set nu
set shiftwidth=2
set tabstop=2
@nikhan
nikhan / .Xresources
Created April 29, 2017 06:41
ubuntu/macbook
! for hidpi
Xft.dpi:120
Xft.antialias: true
Xft.rgba: none
!
Xft.hinting: true
Xft.autohint: true
Xft.hintstyle: hintslight
@nikhan
nikhan / zazen.vim
Created April 29, 2017 06:41
ubuntu/macbook (fixed for 256 color)
" =============================================================================
" File: zazen.vim
" Description: Vim color scheme file
" Maintainer: Zoltan Dezso
" =============================================================================
" (fixed status line)
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
@nikhan
nikhan / color_test
Created April 29, 2017 06:42
bash 256 color test
for i in {0..255} ; do
printf "\x1b[48;5;%sm%3d\e[0m " "$i" "$i"
if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then
printf "\n";
fi
done