Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: ISF/dotfiles
base: 93873f6b57
...
head fork: ISF/dotfiles
compare: 272f7efe56
  • 10 commits
  • 5 files changed
  • 0 commit comments
  • 1 contributor
3  .bcrc
View
@@ -1 +1,4 @@
scale=6
+history=10
+
+/* vim: set filetype=bc : */
3  .mutt/binds.muttrc
View
@@ -13,3 +13,6 @@ bind index G last-entry
bind index,pager R group-reply
bind editor <Tab> complete-query
+
+bind compose p postpone-message
+bind index p recall-message
8 .newsbeuter/config
View
@@ -1,4 +1,4 @@
-include "~/.newsbeuter/config.googlereader"
+include "~/.newsbeuter/config.ttrss"
include "~/.newsbeuter/colorschemes/solarized-dark"
browser "chromium %u"
@@ -11,12 +11,6 @@ reload-threads 4
goto-first-unread yes
goto-next-feed yes
-#notify-program "/usr/bin/notify-send"
-
-# Google Reader flagging keys
-googlereader-flag-share "S"
-googlereader-flag-star "b"
-
bind-key j down all
bind-key k up all
bind-key J next-feed all
48 .vimrc
View
@@ -25,7 +25,7 @@ set backspace=indent,eol,start
set sessionoptions=buffers,folds,tabpages,winpos,winsize,options,localoptions
" Backup and history options
-set backupdir+=~/.vim/backup " Put backup files (annoying ~ files) in another directory
+set backupdir=~/.vim/backup " Put backup files (annoying ~ files) in another directory
set history=1000 " Increase history size
set background=dark " Set best color scheme to dark consoles
set autoread " automagically reloads a file if it was externally modified
@@ -34,7 +34,7 @@ set formatoptions=cqrn1
" list chars
set list
-set listchars=tab:\ ,
+set listchars=tab:\ ,trail:·
" Appearance
set title " Change the terminal title
@@ -279,6 +279,9 @@ hi cBraces ctermfg=lightgreen guifg=lightgreen
hi link cUserFunction DefinedByUser
hi link cUserFunctionPointer DefinedByUser
+" SQL
+let g:sql_type_default = 'mysql'
+
" Global abbreviations
iab teh the
iab archc ArchC
@@ -287,9 +290,6 @@ if has("syntax")
syntax on
endif
-" Setting highlight to extra whitespaces at end of the line
-highlight ExtraWhitespace ctermbg=red guibg=red
-
if has("autocmd")
" Useful general options
@@ -302,8 +302,6 @@ if has("autocmd")
\ endif
endif
- autocmd BufEnter,InsertLeave * match ExtraWhitespace /\S\+\zs\s\+$/
-
autocmd BufEnter *.rl setl ft=ragel
autocmd BufEnter *.mips setl ft=mips
@@ -329,6 +327,9 @@ if has("autocmd")
autocmd FileType xml setl omnifunc=xmlcomplete#CompleteTags
autocmd FileType html setl omnifunc=htmlcomplete#CompleteTags
+ " SQL
+ autocmd FileType sql set ts=2 sw=2 sts=2
+
" Mail
autocmd FileType mail :autocmd InsertLeave * match none
autocmd FileType mail setl spell spelllang=pt,en_us
@@ -350,7 +351,6 @@ if has("autocmd")
endif
" Python options
- autocmd FileType python :autocmd InsertLeave * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd FileType python setl cinwords=if,elif,else,for,while,with,try,except,finally,def,class " better indentation
autocmd FileType python setl nosmartindent noautoindent keywordprg=pydoc2 textwidth=79
autocmd FileType python setl omnifunc=pythoncomplete#Complete " setting the omnifuncion for python
@@ -378,22 +378,22 @@ if has("autocmd")
" Tex, LaTeX
autocmd FileType tex,latex setl smartindent textwidth=80
autocmd FileType tex,latex setl spell spelllang=pt,en_us
- if exists("b:LatexBox_loaded")
- autocmd FileType tex,latex nmap <C-C>m :Latexmk<CR>
- autocmd FileType tex,latex nmap <C-C>c :LatexmkClean<CR>
- autocmd FileType tex,latex nmap <C-C>e :LatexErrors<CR>
- autocmd FileType tex,latex nmap <C-C>v :LatexView<CR>
- autocmd FileType tex,latex nmap <C-C>t :LatexTOC<CR>
- autocmd FileType tex,latex nmap <C-C>x <Plug>LatexChangeEnv
- autocmd FileType tex,latex nmap <C-C>w <Plug>LatexWrapSelection
- autocmd FileType tex,latex nmap <C-C>we <Plug>LatexEnvWrapSelection
- autocmd FileType tex,latex imap ]] <Plug>LatexCloseCurEnv
- endif
+ autocmd FileType tex,latex nmap <C-C>m :Latexmk<CR>
+ autocmd FileType tex,latex nmap <C-C>c :LatexmkClean<CR>
+ autocmd FileType tex,latex nmap <C-C>e :LatexErrors<CR>
+ autocmd FileType tex,latex nmap <C-C>v :LatexView<CR>
+ autocmd FileType tex,latex nmap <C-C>t :LatexTOC<CR>
+ autocmd FileType tex,latex nmap <C-C>x <Plug>LatexChangeEnv
+ autocmd FileType tex,latex nmap <C-C>w <Plug>LatexWrapSelection
+ autocmd FileType tex,latex nmap <C-C>we <Plug>LatexEnvWrapSelection
+ autocmd FileType tex,latex imap ]] <Plug>LatexCloseCurEnv
" Scheme
autocmd FileType scheme syn keyword schemeFunc string-concatenate read-line last-pair string-contains when unless
autocmd FileType scheme setl lispwords-=if
+ " Graphviz
+ autocmd FileType dot set cindent
endif
" Better behavior when browsing with h,j,k,l
@@ -501,13 +501,3 @@ nnoremap <F12> :SyntasticCheck<CR>
hi! link NonText Normal
hi! link SpecialKey Normal
-
-" Automatically sourcing local configurations
-if filereadable("./.vim_local_config")
- silent source ./.vim_local_config
-endif
-
-" Automatically sourcing a existing session if no files were passed as arguments
-if filereadable("Session.vim") && (argc() == 0)
- silent source Session.vim
-endif
11 .xmonad/xmonad.hs
View
@@ -90,9 +90,8 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
, ((modm .|. shiftMask, xK_m), workspacePrompt myXPConfig (windows . W.shift))
, ((modm, xK_g), workspacePrompt myXPConfig (windows . W.greedyView))
- -- execute shell commands
- , ((modm, xK_s), shellPrompt myXPConfig)
- , ((modm .|. shiftMask, xK_s), xmonadPrompt myXPConfig)
+ -- toggle struts
+ , ((modm, xK_b), sendMessage ToggleStruts)
 
-- Restart xmonad
, ((modm , xK_q ), spawn "xmonad --recompile; xmonad --restart")
@@ -146,6 +145,7 @@ myManageHook = composeAll
, resource =? "desktop_window" --> doIgnore
, resource =? "kdesktop" --> doIgnore ]
<+> manageScratchPad
+ <+> manageDocks
manageScratchPad :: ManageHook
manageScratchPad = scratchpadManageHook (W.RationalRect left top width height)
@@ -182,7 +182,10 @@ myPP h = defaultPP
main = do
dzen <- spawnPipe statusBarCmd
- xmonad $ withUrgencyHook dzenUrgencyHook { args = ["-fn", "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*","-bg", "green", "-fg", "#878787"] }
+ xmonad $
+ ewmh $
+ withUrgencyHook
+ dzenUrgencyHook { args = ["-fn", "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*","-bg", "green", "-fg", "#878787"] }
$ defaultConfig {
terminal = myTerminal,
focusFollowsMouse = False,

No commit comments for this range

Something went wrong with that request. Please try again.