Skip to content

Instantly share code, notes, and snippets.

@gavinmyers
Last active December 11, 2015 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gavinmyers/4544036 to your computer and use it in GitHub Desktop.
Save gavinmyers/4544036 to your computer and use it in GitHub Desktop.
default conf files, I didn't write most of these but I'm keeping them here as a reference for when I build a new machine.
alias tmux="TERM=screen-256color-bce tmux -2"
alias geany="sublime"
# -- Conky settings -- #
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
double_buffer yes
no_buffers yes
text_buffer_size 2048
imlib_cache_size 0
# -- Window specifications -- #
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
minimum_size 290 270
alignment br
gap_x 0
gap_y 0
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
# -- Lua Load -- #
lua_load ~/bin/conky/rings.lua
lua_draw_hook_pre clock_rings
TEXT
OPTIONS=name:Rincewind, gender:female, race:elf, align:random
OPTIONS=fruit:orange, dogname:Lou, catname:Moose, horsename:Ed
# Graphics
OPTIONS=windowtype=TTY, !silent
OPTIONS=color, lit_corridor, standout, use_inverse, hilite_pet, boulder=0
OPTIONS=time, showexp, showscore
# Menus
OPTIONS=menustyle:full, menu_headings:bold, extmenu
OPTIONS=sortpack, lootabc, fixinv
# Messages: ctrl-p to view old messages
OPTIONS=msg_window:reversed, msghistory:20
OPTIONS=wraptext
# Controls
OPTIONS=number_pad=0, !cmdassist
OPTIONS=runmode:walk
OPTIONS=autodig
# Safe Options
OPTIONS=safe_pet, pickup_burden:Burdened, !autopickup
#
# MenuColors is a 3rd-party patch, ymmv
#
OPTIONS=menucolors
MENUCOLOR=" cursed"=red&bold
MENUCOLOR=" unholy"=red
MENUCOLOR=" blessed"=cyan&bold
MENUCOLOR=" holy"=green&bold
MENUCOLOR="gold piece"=yellow
MENUCOLOR="Amulet of Yendor named"=magenta
#
# Menu navigations keys:
#
# menu_invert_all:@
# menu_select_all:.
# menu_deselect_all:-
# menu_select_page:,
# menu_deselect_page:\
# menu_invert_page:~
#
# menu_first_page:^
# menu_last_page:~
# menu_next_page:>
# menu_previous_page:<
#
# menu_search::
set -g base-index 1
#set-option -g default-shell /bin/zsh
unbind C-b
# Set status bar
set-option -g prefix `
bind-key ` send-prefix
# move around panes with hjkl, as one would in vim after pressing ctrl-w
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# resize panes like vim
# feel free to change the "1" to however many lines you want to resize by, only
# one at a time can be slow
bind H resize-pane -L 10
bind J resize-pane -D 10
bind K resize-pane -U 10
bind L resize-pane -R 10
bind | split-window -h
bind - split-window -v
set-option -g status-utf8 on
setw -g aggressive-resize on
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-fg black
set -g status-bg black
set -g status-fg red
setw -g mode-mouse on
set -g default-terminal "screen-256color"
execute pathogen#infect()
au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces
let g:slime_target = "tmux"
syntax on
colorscheme wombat256
set t_Co=256
set ruler
set number
set showmatch
set cursorline
set showcmd
set ttyfast
set relativenumber
set autochdir
set expandtab
set tabstop=2
set shiftwidth=2
set softtabstop=2
set colorcolumn=80
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
highlight OverLength ctermbg=235 ctermfg=DarkGray guibg=#FFD9D9
match OverLength /\%>80v.\+/
map <Left><Left> :split <cr> :e . <cr> <C-w>H<C-w> <cr>
map <Right><Right> :split <cr> :e . <cr> <C-w>L<C-w> <cr>
map <Up><Up> :split <cr> :e . <cr> <C-w>K<C-w> <cr>
map <Down><Down> :split <cr> :e . <cr> <C-w>J<C-w> <cr>
autocmd FileType clojure map <Esc><Esc> :w\|Require<cr>
autocmd FileType go map <Esc><Esc> :w\|! go build %<cr>
alias ls="ls -alG --color=always"
autoload -U colors
colors
PS1="%{$fg[red]%}░ %{$reset_color%}"
setopt menucomplete
" =============================================================================
"
" File: newspaper.vim
" Description: Vim color scheme file
" Maintainer: Jimmy Paul; Clayton Parker (cterm colors)
"
" =============================================================================
set background=light
highlight clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "newspaper"
" =============================================================================
hi Normal gui=NONE guifg=#000000 guibg=#dbdbd2
hi ColorColumn guifg=NONE guibg=#EEEEDD
hi Cursor guifg=bg guibg=fg gui=NONE
hi CursorColumn guifg=NONE guibg=#FFFDD0 gui=NONE
hi CursorLine guifg=NONE guibg=#a4a061 gui=NONE
hi CursorIM guifg=bg guibg=fg gui=NONE
hi lCursor guifg=bg guibg=fg gui=NONE
hi DiffAdd guifg=NONE guibg=#6bb269 gui=NONE
hi DiffChange guifg=NONE guibg=#a2c6cc gui=NONE
hi DiffDelete guifg=NONE guibg=#c15e78 gui=NONE
hi DiffText guifg=#000000 guibg=#c7eae9 gui=NONE
hi Directory guifg=#1600FF guibg=bg gui=NONE
hi ErrorMsg guifg=#a22727 guibg=NONE gui=NONE
hi FoldColumn guifg=#40587c guibg=#dcdda8 gui=bold
hi Folded guifg=#40587c guibg=#b3b3ae gui=italic
hi IncSearch guifg=#000000 guibg=#d3d47a gui=NONE
hi Search guifg=#000000 guibg=#d3d47a gui=NONE
hi LineNr guifg=#666677 guibg=#cccfbf gui=NONE
hi MatchParen guifg=#000000 guibg=#949555 gui=bold
hi ModeMsg guifg=#ffffff guibg=#a15c55 gui=bold
hi MoreMsg guifg=#3c613b guibg=bg gui=bold
hi NonText guifg=#93aaab guibg=bg gui=bold
hi Pmenu guifg=#866a45 guibg=#b7b7a7 gui=NONE
hi PmenuSel guifg=#a5a5a5 guibg=#716d51 gui=bold
hi PmenuSbar guifg=#ffffff guibg=#999666 gui=NONE
hi PmenuThumb guifg=#ffffff guibg=#7B7939 gui=NONE
hi Question guifg=#496844 guibg=bg gui=bold
hi SignColumn guifg=#ffffff guibg=#b7b7a7 gui=NONE
hi SpecialKey guifg=#ffffff guibg=#adadad gui=NONE
hi SpellBad guisp=#883629 gui=undercurl
hi SpellCap guisp=#1920b2 gui=undercurl
hi SpellLocal guisp=#41796c gui=undercurl
hi SpellRare guisp=#bb36d7 gui=undercurl
hi StatusLine guifg=#FFFEEE guibg=#557788 gui=NONE
hi StatusLineNC guifg=#F4F4EE guibg=#99aabb gui=italic
hi TabLine guifg=fg guibg=#bcbcbc gui=underline
hi TabLineFill guifg=fg guibg=bg gui=reverse
hi TabLineSel guifg=fg guibg=bg gui=bold
hi Title guifg=#124560 guibg=bg gui=NONE
hi VertSplit guifg=#99aabb guibg=#99aabb
hi Visual guifg=#ffffff guibg=#0a7383 gui=NONE
hi WarningMsg guifg=#883629 guibg=bg gui=NONE
hi WildMenu guifg=#000000 guibg=#7ab4cf gui=NONE
" 256-Color Terminal Colors, by Clayton Parker {{{1
" =============================================================================
hi Normal cterm=NONE ctermfg=16 ctermbg=231
hi Comment ctermfg=110
hi Constant ctermfg=214
hi String ctermfg=30
hi Boolean ctermfg=88
hi Identifier ctermfg=160
hi Function ctermfg=132
hi Statement ctermfg=21
hi Keyword ctermfg=45
hi PreProc ctermfg=27
hi Type ctermfg=147
hi Special ctermfg=64
hi Ignore ctermfg=255
hi Error ctermfg=196 ctermbg=255 term=none
hi Todo ctermfg=136 ctermbg=255 cterm=NONE
hi VimError ctermfg=160 ctermbg=16
hi VimCommentTitle ctermfg=110
hi qfLineNr ctermfg=16 ctermbg=167 cterm=NONE
hi pythonDecorator ctermfg=208 ctermbg=255 cterm=NONE
hi Cursor ctermfg=255 ctermbg=16 cterm=NONE
hi CursorColumn ctermfg=NONE ctermbg=255 cterm=NONE
hi CursorIM ctermfg=255 ctermbg=16 cterm=NONE
hi CursorLine ctermfg=NONE ctermbg=254 cterm=NONE
hi lCursor ctermfg=255 ctermbg=16 cterm=NONE
hi DiffAdd ctermfg=16 ctermbg=48 cterm=NONE
hi DiffChange ctermfg=16 ctermbg=153 cterm=NONE
hi DiffDelete ctermfg=16 ctermbg=203 cterm=NONE
hi DiffText ctermfg=16 ctermbg=226 cterm=NONE
hi Directory ctermfg=21 ctermbg=255 cterm=NONE
hi ErrorMsg ctermfg=160 ctermbg=NONE cterm=NONE
hi FoldColumn ctermfg=24 ctermbg=252 cterm=NONE
hi Folded ctermfg=24 ctermbg=252 cterm=NONE
hi IncSearch ctermfg=255 ctermbg=160 cterm=NONE
hi LineNr ctermfg=253 ctermbg=52 cterm=NONE
hi NonText ctermfg=110 ctermbg=255 cterm=NONE
hi Pmenu ctermfg=fg ctermbg=195 cterm=NONE
hi PmenuSbar ctermfg=255 ctermbg=153 cterm=NONE
hi PmenuSel ctermfg=255 ctermbg=21 cterm=NONE
hi PmenuThumb ctermfg=111 ctermbg=255 cterm=NONE
hi SignColumn ctermfg=110 ctermbg=254 cterm=NONE
hi Search ctermfg=255 ctermbg=160 cterm=NONE
hi SpecialKey ctermfg=255 ctermbg=144 cterm=NONE
hi SpellBad ctermfg=16 ctermbg=229 cterm=NONE
hi SpellCap ctermfg=16 ctermbg=231 cterm=NONE
hi SpellLocal ctermfg=16 ctermbg=231 cterm=NONE
hi SpellRare ctermfg=16 ctermbg=226 cterm=NONE
hi StatusLine ctermfg=255 ctermbg=24 cterm=NONE
hi StatusLineNC ctermfg=253 ctermbg=110 cterm=NONE
hi Title ctermfg=75 ctermbg=255 cterm=NONE
hi VertSplit ctermfg=255 ctermbg=24 cterm=NONE
hi Visual ctermfg=255 ctermbg=153 cterm=NONE
hi WildMenu ctermfg=16 ctermbg=117 cterm=NONE
hi Comment guifg=#4e5968 guibg=NONE gui=italic
hi Constant guifg=#881a1a guibg=NONE gui=NONE
hi String guifg=#1e5432 guibg=NONE gui=NONE
hi Boolean guifg=#6f3d3d guibg=NONE gui=NONE
hi Identifier guifg=#7e473a guibg=NONE gui=NONE
hi Function guifg=#590b33 guibg=NONE gui=NONE
hi Statement guifg=#0f58af guibg=NONE gui=NONE
hi Keyword guifg=#2c4869 guibg=NONE gui=NONE
hi PreProc guifg=#2e3081 guibg=NONE gui=NONE
hi Type guifg=#4d69a7 guibg=NONE gui=NONE
hi Special guifg=#2c694a guibg=NONE gui=NONE
hi Ignore guifg=bg guibg=NONE gui=NONE
hi Error guifg=#5a2d2d guibg=NONE gui=undercurl
hi Todo guifg=#675220 guibg=NONE gui=bold
" -----------------------------------------------------------------------------
hi VimError guifg=#9e3224 guibg=#000000 gui=bold
hi VimCommentTitle guifg=#5a7471 guibg=bg gui=bold,italic
hi qfFileName guifg=#5b7982 guibg=NONE gui=italic
hi qfLineNr guifg=#e87334 guibg=NONE gui=bold
hi qfError guifg=#673420 guibg=NONE gui=bold
" -----------------------------------------------------------------------------
hi pythonDecorator guifg=#6c1111 guibg=NONE gui=bold
hi link pythonDecoratorFunction pythonDecorator
" -----------------------------------------------------------------------------
--[[
Clock Rings by londonali1010 (2009) - edited by h0zza (2012) [http://blog.hozzamedia.com/software/conky-resource-dialrings/]
This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.
IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
lua_load ~/scripts/clock_rings-v1.1.1.lua
lua_draw_hook_pre clock_rings
Changelog:
+ v1.1.2 -- Added some things, changed some stuff. (2012-12-12)
+ v1.1.1 -- Fixed minor bug that caused the script to crash if conky_parse() returns a nil value (20.10.2009)
+ v1.1 -- Added colour option for clock hands (07.10.2009)
+ v1.0 -- Original release (30.09.2009)
]]
settings_table = {
{
-- Edit this table to customise your rings.
-- You can create more rings simply by adding more elements to settings_table.
-- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
name='time',
-- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
arg='%I.%M',
-- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
max=12,
-- "bg_colour" is the colour of the base ring.
bg_colour=0xff3300,
-- "bg_alpha" is the alpha value of the base ring.
bg_alpha=0.1,
-- "fg_colour" is the colour of the indicator part of the ring.
fg_colour=0xff3300,
-- "fg_alpha" is the alpha value of the indicator part of the ring.
fg_alpha=0.2,
-- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
x=160, y=155,
-- "radius" is the radius of the ring.
radius=50,
-- "thickness" is the thickness of the ring, centred around the radius.
thickness=5,
-- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
start_angle=0,
-- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
end_angle=360
},
{
name='time',
arg='%M.%S',
max=60,
bg_colour=0xff3300,
bg_alpha=0.1,
fg_colour=0xff3300,
fg_alpha=0.4,
x=160, y=155,
radius=56,
thickness=5,
start_angle=0,
end_angle=360
},
{
name='time',
arg='%S',
max=60,
bg_colour=0xff3300,
bg_alpha=0.1,
fg_colour=0xff3300,
fg_alpha=0.6,
x=160, y=155,
radius=62,
thickness=5,
start_angle=0,
end_angle=360
},
{
name='cpu',
arg='cpu1',
max=100,
bg_colour=0xFF3300,
bg_alpha=0.2,
fg_colour=0xFFB000,
fg_alpha=0.3,
x=160, y=155,
radius=75,
thickness=4,
start_angle=93,
end_angle=208
},
{
name='cpu',
arg='cpu2',
max=100,
bg_colour=0x000000,
bg_alpha=0.2,
fg_colour=0xFFB000,
fg_alpha=0.3,
x=160, y=155,
radius=79,
thickness=4,
start_angle=93,
end_angle=208
},
{
name='cpu',
arg='cpu3',
max=100,
bg_colour=0xff3300,
bg_alpha=0.2,
fg_colour=0xFFB000,
fg_alpha=0.3,
x=160, y=155,
radius=83,
thickness=4,
start_angle=93,
end_angle=208
},
{
name='cpu',
arg='cpu4',
max=100,
bg_colour=0xff3300,
bg_alpha=0.2,
fg_colour=0xFFB000,
fg_alpha=0.3,
x=160, y=155,
radius=87,
thickness=4,
start_angle=93,
end_angle=208
},
{
name='cpu',
arg='cpu0',
max=100,
bg_colour=0xff3300,
bg_alpha=0.2,
fg_colour=0xFFB000,
fg_alpha=0.6,
x=160, y=155,
radius=93,
thickness=6,
start_angle=93,
end_angle=208
},
{
name='memperc',
arg='',
max=100,
bg_colour=0xff3300,
bg_alpha=0.2,
fg_colour=0xff3300,
fg_alpha=0.5,
x=160, y=155,
radius=78,
thickness=11,
start_angle=212,
end_angle=329
},
{
name='swapperc',
arg='',
max=100,
bg_colour=0xff3300,
bg_alpha=0.2,
fg_colour=0xff3300,
fg_alpha=0.5,
x=160, y=155,
radius=90,
thickness=11,
start_angle=212,
end_angle=329
},
{
name='upspeedf',
arg='eth0',
max=5000,
bg_colour=0xff3300,
bg_alpha=0.2,
fg_colour=0xff0000,
fg_alpha=0.3,
x=160, y=155,
radius=78,
thickness=11,
start_angle=-28,
end_angle=90
},
{
name='downspeedf',
arg='eth0',
max=5000,
bg_colour=0xff3300,
bg_alpha=0.2,
fg_colour=0x006f00,
fg_alpha=0.3,
x=160, y=155,
radius=90,
thickness=11,
start_angle=-28,
end_angle=90
},
{
name='fs_used_perc',
arg='/',
max=100,
bg_colour=0xff3300,
bg_alpha=0.2,
fg_colour=0xff3300,
fg_alpha=0.5,
x=160, y=155,
radius=105,
thickness=3,
start_angle=-120,
end_angle=-13
},
{
name='fs_used_perc',
arg='/home',
max=100,
bg_colour=0xff3300,
bg_alpha=0.2,
fg_colour=0xff3300,
fg_alpha=0.5,
x=160, y=155,
radius=105,
thickness=3,
start_angle=-10,
end_angle=93
},
}
-- Use these settings to define the origin and extent of your clock.
clock_r=400
-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
clock_x=160
clock_y=155
-- Colour & alpha of the clock hands
clock_colour=0xFF3300
clock_alpha=0.9
-- Do you want to show the seconds hand?
show_seconds=true
require 'cairo'
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function draw_ring(cr,t,pt)
local w,h=conky_window.width,conky_window.height
local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
local angle_0=sa*(2*math.pi/360)-math.pi/2
local angle_f=ea*(2*math.pi/360)-math.pi/2
local t_arc=t*(angle_f-angle_0)
-- Draw background ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
cairo_set_line_width(cr,ring_w)
cairo_stroke(cr)
-- Draw indicator ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
cairo_stroke(cr)
end
function draw_clock_hands(cr,xc,yc)
local secs,mins,hours,secs_arc,mins_arc,hours_arc
local xh,yh,xm,ym,xs,ys
secs=os.date("%S")
mins=os.date("%M")
hours=os.date("%I")
secs_arc=(2*math.pi/60)*secs
mins_arc=(2*math.pi/60)*mins+secs_arc/60
hours_arc=(2*math.pi/12)*hours+mins_arc/12
-- Draw hour hand
xh=xc+0.7*clock_r*math.sin(hours_arc)
yh=yc-0.7*clock_r*math.cos(hours_arc)
cairo_move_to(cr,xc,yc)
cairo_line_to(cr,xh,yh)
cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
cairo_set_line_width(cr,5)
cairo_set_source_rgba(cr,rgb_to_r_g_b(clock_colour,clock_alpha))
cairo_stroke(cr)
-- Draw minute hand
xm=xc+clock_r*math.sin(mins_arc)
ym=yc-clock_r*math.cos(mins_arc)
cairo_move_to(cr,xc,yc)
cairo_line_to(cr,xm,ym)
cairo_set_line_width(cr,3)
cairo_stroke(cr)
-- Draw seconds hand
if show_seconds then
xs=xc+clock_r*math.sin(secs_arc)
ys=yc-clock_r*math.cos(secs_arc)
cairo_move_to(cr,xc,yc)
cairo_line_to(cr,xs,ys)
cairo_set_line_width(cr,1)
cairo_stroke(cr)
end
end
function conky_clock_rings()
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
if value == nil then value = 0 end
pct=value/pt['max']
draw_ring(cr,pct,pt)
end
-- Check that Conky has been running for at least 5s
if conky_window==nil then return end
local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
local cr=cairo_create(cs)
local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num>5 then
for i in pairs(settings_table) do
setup_rings(cr,settings_table[i])
end
end
draw_clock_hands(cr,clock_x,clock_y)
end
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/IDLE.tmTheme",
"font_size": 12,
// Set to false to prevent line numbers being drawn in the gutter
"line_numbers": true,
// Set to false to hide the gutter altogether
"gutter": true,
// Fold buttons are the triangles shown in the gutter to fold regions of text
"fold_buttons": true,
// Hides the fold buttons unless the mouse is over the gutter
"fade_fold_buttons": true,
// Columns in which to display vertical rulers
"rulers": [80],
// Set to true to turn spell checking on by default
"spell_check": false,
// The number of spaces a tab is considered equal to
"tab_size": 2,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
// If translate_tabs_to_spaces is true, use_tab_stops will make tab and
// backspace insert/delete up to the next tabstop
"use_tab_stops": true,
// Set to false to disable detection of tabs vs. spaces on load
"detect_indentation": true,
// Set to false to disable automatic indentation
"auto_indent": true,
// Set to false to not trim white space added by auto_indent
"trim_automatic_white_space": true,
// Set to false for horizontal scrolling
// NOTE: word_wrap is explicitly turned off in several syntax specific
// settings, you'll need to set it via your user syntax specific settings
// to ensure these are overridden.
"word_wrap": false,
// Set to false to prevent word wrapped lines from being indented to the same
// level
"indent_subsequent_lines": true,
// Set to false to stop auto pairing quotes, brackets etc
"auto_match_enabled": true,
// Set to true to draw a border around the visible rectangle on the minimap.
// The color of the border will be determined by the "minimapBorder" key in
// the color scheme
"draw_minimap_border": true,
// Set to false to disable highlighting any line with a caret
"highlight_line": true,
// Valid values are "smooth", "phase", "blink", "wide" and "solid".
"caret_style": "smooth",
// Set to false to disable underlining the brackets surrounding the caret
"match_brackets": true,
// Set to false if you'd rather only highlight the brackets when the caret is
// next to one
"match_brackets_content": true,
// Set to false to not highlight square brackets. This only takes effect if
// matchBrackets is true
"match_brackets_square": true,
// Set to false to not highlight curly brackets. This only takes effect if
// matchBrackets is true
"match_brackets_braces": true,
// Enable visualisation of the matching tag in HTML and XML
"match_tags": true,
// Additional spacing at the top of each line, in pixels
"line_padding_top": 0,
// Additional spacing at the bottom of each line, in pixels
"line_padding_bottom": 0,
// Set to false to disable scrolling past the end of the buffer.
// On OS X, this value is overridden in the platform specific settings, so
// you'll need to place this line in your user settings to override it.
"scroll_past_end": true,
// Set to "none" to turn off drawing white space, "selection" to draw only the
// white space within the selection, and "all" to draw all white space
"draw_white_space": "selection",
// Set to false to turn off the indentation guides.
// The color and width of the indent guides may be customized by editing
// the corresponding .tmTheme file, and specifying the colors "guide",
// "activeGuide" and "stackGuide"
"draw_indent_guides": true,
// Controls how the indent guides are drawn, valid options are
// "draw_normal" and "draw_active". draw_active will draw the indent
// guides containing the caret in a different color.
"indent_guide_options": ["draw_active"],
// Set to true to removing trailing white space on save
"trim_trailing_white_space_on_save": true,
// Set to true to ensure the last line of the file ends in a newline
// character when saving
"ensure_newline_at_eof_on_save": true,
// The encoding to use when the encoding can't be determined automatically.
// ASCII, UTF-8 and UTF-16 encodings will be automatically detected.
"fallback_encoding": "UTF-8",
// Encoding used when saving new files, and files opened with an undefined
// encoding (e.g., plain ascii files). If a file is opened with a specific
// encoding (either detected or given explicitly), this setting will be
// ignored, and the file will be saved with the encoding it was opened
// with.
"default_encoding": "UTF-8",
// Determines what character(s) are used to terminate each line in new files.
// Valid values are 'system' (whatever the OS uses), 'windows' (CRLF) and
// 'unix' (LF only).
"default_line_ending": "system",
// When enabled, pressing tab will insert the best matching completion.
// When disabled, tab will only trigger snippets or insert a tab.
// Shift+tab can be used to insert an explicit tab when tab_completion is
// enabled.
"tab_completion": true,
// Enable auto complete to be triggered automatically when typing.
"auto_complete": true,
// The maximum file size where auto complete will be automatically triggered.
"auto_complete_size_limit": 4194304,
// The delay, in ms, before the auto complete window is shown after typing
"auto_complete_delay": 50,
// Controls what scopes auto complete will be triggered in
"auto_complete_selector": "source - comment",
// Additional situations to trigger auto complete
"auto_complete_triggers": [ {"selector": "text.html", "characters": "<"} ],
// By default, auto complete will commit the current completion on enter.
// This setting can be used to make it complete on tab instead.
// Completing on tab is generally a superior option, as it removes
// ambiguity between committing the completion and inserting a newline.
"auto_complete_commit_on_tab": true,
// Controls if auto complete is shown when snippet fields are active.
// Only relevant if auto_complete_commit_on_tab is true.
"auto_complete_with_fields": false,
// By default, shift+tab will only unindent if the selection spans
// multiple lines. When pressing shift+tab at other times, it'll insert a
// tab character - this allows tabs to be inserted when tab_completion is
// enabled. Set this to true to make shift+tab always unindent, instead of
// inserting tabs.
"shift_tab_unindent": false,
// If true, the selected text will be copied into the find panel when it's
// shown.
// On OS X, this value is overridden in the platform specific settings, so
// you'll need to place this line in your user settings to override it.
"find_selected_text": true
}
" Vim color file
" Original Maintainer: Lars H. Nielsen (dengmao@gmail.com)
" Last Change: 2010-07-23
"
" Converting for 256-color terminals by
" Danila Bespalov (danila.bespalov@gmail.com)
" with great help of tool by Wolfgang Frisch (xororand@frexx.de)
" inspired by David Liang's version (bmdavll@gmail.com)
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "wombat256"
" General colors
hi Normal ctermfg=254 ctermbg=234 cterm=none guifg=#f6f3e8 guibg=#242424 gui=none
hi Cursor ctermfg=none ctermbg=241 cterm=none guifg=NONE guibg=#656565 gui=none
hi Visual ctermfg=7 ctermbg=238 cterm=none guifg=#f6f3e8 guibg=#444444 gui=none
" hi VisualNOS
" hi Search
hi Folded ctermfg=103 ctermbg=238 cterm=none guifg=#a0a8b0 guibg=#384048 gui=none
hi Title ctermfg=7 ctermbg=none cterm=bold guifg=#f6f3e8 guibg=NONE gui=bold
hi StatusLine ctermfg=7 ctermbg=238 cterm=none guifg=#f6f3e8 guibg=#444444 gui=italic
hi VertSplit ctermfg=8 ctermbg=8 cterm=none guifg=#444444 guibg=#444444 gui=none
hi StatusLineNC ctermfg=243 ctermbg=238 cterm=none guifg=#857b6f guibg=#444444 gui=none
hi LineNr ctermfg=243 ctermbg=0 cterm=none guifg=#857b6f guibg=#000000 gui=none
hi SpecialKey ctermfg=244 ctermbg=236 cterm=none guifg=#808080 guibg=#343434 gui=none
hi NonText ctermfg=244 ctermbg=236 cterm=none guifg=#808080 guibg=#303030 gui=none
" Vim >= 7.0 specific colors
if version >= 700
hi CursorLine ctermbg=233 cterm=none guibg=#2d2d2d
hi MatchParen ctermfg=7 ctermbg=243 cterm=bold guifg=#f6f3e8 guibg=#857b6f gui=bold
hi Pmenu ctermfg=7 ctermbg=238 guifg=#f6f3e8 guibg=#444444
hi PmenuSel ctermfg=0 ctermbg=192 guifg=#000000 guibg=#cae682
endif
" Syntax highlighting5
hi ColorColumn ctermbg=235
hi Keyword ctermfg=111 cterm=none guifg=#8ac6f2 gui=none
hi Statement ctermfg=111 cterm=none guifg=#8ac6f2 gui=none
hi Constant ctermfg=173 cterm=none guifg=#e5786d gui=none
hi Number ctermfg=173 cterm=none guifg=#e5786d gui=none
hi PreProc ctermfg=173 cterm=none guifg=#e5786d gui=none
hi Function ctermfg=192 cterm=none guifg=#cae682 gui=none
hi Identifier ctermfg=192 cterm=none guifg=#cae682 gui=none
hi Type ctermfg=192 cterm=none guifg=#cae682 gui=none
hi Special ctermfg=194 cterm=none guifg=#e7f6da gui=none
hi String ctermfg=113 cterm=none guifg=#95e454 gui=italic
hi Comment ctermfg=246 cterm=none guifg=#99968b gui=italic
hi Todo ctermfg=245 cterm=none guifg=#8f8f8f gui=italic
" Links
hi! link FoldColumn Folded
hi! link CursorColumn CursorLine
" vim:set ts=4 sw=4 noet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment