Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 10 commits
  • 5 files changed
  • 0 comments
  • 1 contributor
3  .bcrc
... ... @@ -1 +1,4 @@
1 1 scale=6
  2 +history=10
  3 +
  4 +/* vim: set filetype=bc : */
3  .mutt/binds.muttrc
@@ -13,3 +13,6 @@ bind index G last-entry
13 13 bind index,pager R group-reply
14 14
15 15 bind editor <Tab> complete-query
  16 +
  17 +bind compose p postpone-message
  18 +bind index p recall-message
8 .newsbeuter/config
... ... @@ -1,4 +1,4 @@
1   -include "~/.newsbeuter/config.googlereader"
  1 +include "~/.newsbeuter/config.ttrss"
2 2 include "~/.newsbeuter/colorschemes/solarized-dark"
3 3
4 4 browser "chromium %u"
@@ -11,12 +11,6 @@ reload-threads 4
11 11 goto-first-unread yes
12 12 goto-next-feed yes
13 13
14   -#notify-program "/usr/bin/notify-send"
15   -
16   -# Google Reader flagging keys
17   -googlereader-flag-share "S"
18   -googlereader-flag-star "b"
19   -
20 14 bind-key j down all
21 15 bind-key k up all
22 16 bind-key J next-feed all
48 .vimrc
@@ -25,7 +25,7 @@ set backspace=indent,eol,start
25 25 set sessionoptions=buffers,folds,tabpages,winpos,winsize,options,localoptions
26 26
27 27 " Backup and history options
28   -set backupdir+=~/.vim/backup " Put backup files (annoying ~ files) in another directory
  28 +set backupdir=~/.vim/backup " Put backup files (annoying ~ files) in another directory
29 29 set history=1000 " Increase history size
30 30 set background=dark " Set best color scheme to dark consoles
31 31 set autoread " automagically reloads a file if it was externally modified
@@ -34,7 +34,7 @@ set formatoptions=cqrn1
34 34
35 35 " list chars
36 36 set list
37   -set listchars=tab:▸\ ,
  37 +set listchars=tab:▸\ ,trail:·
38 38
39 39 " Appearance
40 40 set title " Change the terminal title
@@ -279,6 +279,9 @@ hi cBraces ctermfg=lightgreen guifg=lightgreen
279 279 hi link cUserFunction DefinedByUser
280 280 hi link cUserFunctionPointer DefinedByUser
281 281
  282 +" SQL
  283 +let g:sql_type_default = 'mysql'
  284 +
282 285 " Global abbreviations
283 286 iab teh the
284 287 iab archc ArchC
@@ -287,9 +290,6 @@ if has("syntax")
287 290 syntax on
288 291 endif
289 292
290   -" Setting highlight to extra whitespaces at end of the line
291   -highlight ExtraWhitespace ctermbg=red guibg=red
292   -
293 293 if has("autocmd")
294 294
295 295 " Useful general options
@@ -302,8 +302,6 @@ if has("autocmd")
302 302 \ endif
303 303 endif
304 304
305   - autocmd BufEnter,InsertLeave * match ExtraWhitespace /\S\+\zs\s\+$/
306   -
307 305 autocmd BufEnter *.rl setl ft=ragel
308 306
309 307 autocmd BufEnter *.mips setl ft=mips
@@ -329,6 +327,9 @@ if has("autocmd")
329 327 autocmd FileType xml setl omnifunc=xmlcomplete#CompleteTags
330 328 autocmd FileType html setl omnifunc=htmlcomplete#CompleteTags
331 329
  330 + " SQL
  331 + autocmd FileType sql set ts=2 sw=2 sts=2
  332 +
332 333 " Mail
333 334 autocmd FileType mail :autocmd InsertLeave * match none
334 335 autocmd FileType mail setl spell spelllang=pt,en_us
@@ -350,7 +351,6 @@ if has("autocmd")
350 351 endif
351 352
352 353 " Python options
353   - autocmd FileType python :autocmd InsertLeave * match ExtraWhitespace /\s\+\%#\@<!$/
354 354 autocmd FileType python setl cinwords=if,elif,else,for,while,with,try,except,finally,def,class " better indentation
355 355 autocmd FileType python setl nosmartindent noautoindent keywordprg=pydoc2 textwidth=79
356 356 autocmd FileType python setl omnifunc=pythoncomplete#Complete " setting the omnifuncion for python
@@ -378,22 +378,22 @@ if has("autocmd")
378 378 " Tex, LaTeX
379 379 autocmd FileType tex,latex setl smartindent textwidth=80
380 380 autocmd FileType tex,latex setl spell spelllang=pt,en_us
381   - if exists("b:LatexBox_loaded")
382   - autocmd FileType tex,latex nmap <C-C>m :Latexmk<CR>
383   - autocmd FileType tex,latex nmap <C-C>c :LatexmkClean<CR>
384   - autocmd FileType tex,latex nmap <C-C>e :LatexErrors<CR>
385   - autocmd FileType tex,latex nmap <C-C>v :LatexView<CR>
386   - autocmd FileType tex,latex nmap <C-C>t :LatexTOC<CR>
387   - autocmd FileType tex,latex nmap <C-C>x <Plug>LatexChangeEnv
388   - autocmd FileType tex,latex nmap <C-C>w <Plug>LatexWrapSelection
389   - autocmd FileType tex,latex nmap <C-C>we <Plug>LatexEnvWrapSelection
390   - autocmd FileType tex,latex imap ]] <Plug>LatexCloseCurEnv
391   - endif
  381 + autocmd FileType tex,latex nmap <C-C>m :Latexmk<CR>
  382 + autocmd FileType tex,latex nmap <C-C>c :LatexmkClean<CR>
  383 + autocmd FileType tex,latex nmap <C-C>e :LatexErrors<CR>
  384 + autocmd FileType tex,latex nmap <C-C>v :LatexView<CR>
  385 + autocmd FileType tex,latex nmap <C-C>t :LatexTOC<CR>
  386 + autocmd FileType tex,latex nmap <C-C>x <Plug>LatexChangeEnv
  387 + autocmd FileType tex,latex nmap <C-C>w <Plug>LatexWrapSelection
  388 + autocmd FileType tex,latex nmap <C-C>we <Plug>LatexEnvWrapSelection
  389 + autocmd FileType tex,latex imap ]] <Plug>LatexCloseCurEnv
392 390
393 391 " Scheme
394 392 autocmd FileType scheme syn keyword schemeFunc string-concatenate read-line last-pair string-contains when unless
395 393 autocmd FileType scheme setl lispwords-=if
396 394
  395 + " Graphviz
  396 + autocmd FileType dot set cindent
397 397 endif
398 398
399 399 " Better behavior when browsing with h,j,k,l
@@ -501,13 +501,3 @@ nnoremap <F12> :SyntasticCheck<CR>
501 501
502 502 hi! link NonText Normal
503 503 hi! link SpecialKey Normal
504   -
505   -" Automatically sourcing local configurations
506   -if filereadable("./.vim_local_config")
507   - silent source ./.vim_local_config
508   -endif
509   -
510   -" Automatically sourcing a existing session if no files were passed as arguments
511   -if filereadable("Session.vim") && (argc() == 0)
512   - silent source Session.vim
513   -endif
11 .xmonad/xmonad.hs
@@ -90,9 +90,8 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
90 90 , ((modm .|. shiftMask, xK_m), workspacePrompt myXPConfig (windows . W.shift))
91 91 , ((modm, xK_g), workspacePrompt myXPConfig (windows . W.greedyView))
92 92
93   - -- execute shell commands
94   - , ((modm, xK_s), shellPrompt myXPConfig)
95   - , ((modm .|. shiftMask, xK_s), xmonadPrompt myXPConfig)
  93 + -- toggle struts
  94 + , ((modm, xK_b), sendMessage ToggleStruts)
96 95  
97 96 -- Restart xmonad
98 97 , ((modm , xK_q ), spawn "xmonad --recompile; xmonad --restart")
@@ -146,6 +145,7 @@ myManageHook = composeAll
146 145 , resource =? "desktop_window" --> doIgnore
147 146 , resource =? "kdesktop" --> doIgnore ]
148 147 <+> manageScratchPad
  148 + <+> manageDocks
149 149
150 150 manageScratchPad :: ManageHook
151 151 manageScratchPad = scratchpadManageHook (W.RationalRect left top width height)
@@ -182,7 +182,10 @@ myPP h = defaultPP
182 182
183 183 main = do
184 184 dzen <- spawnPipe statusBarCmd
185   - xmonad $ withUrgencyHook dzenUrgencyHook { args = ["-fn", "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*","-bg", "green", "-fg", "#878787"] }
  185 + xmonad $
  186 + ewmh $
  187 + withUrgencyHook
  188 + dzenUrgencyHook { args = ["-fn", "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*","-bg", "green", "-fg", "#878787"] }
186 189 $ defaultConfig {
187 190 terminal = myTerminal,
188 191 focusFollowsMouse = False,

No commit comments for this range

Something went wrong with that request. Please try again.