A bunch of small changes
0527798a0dce6767986813fe201a490e18eac34f
1 parent
a8dcfd28
.ghci
+4 -1
| 1 | - | :set prompt "λ " |
|
| 1 | + | :set prompt "λ> " |
|
| 2 | 2 | :set +m |
|
| 3 | 3 | :set prompt2 "| " |
|
| 4 | 4 | :def hoogle \x -> return $ ":!hoogle --color \"" ++ x ++ "\"" |
|
| 5 | 5 | :def doc \x -> return $ ":!hoogle --color --info \"" ++ x ++ "\"" |
|
| 6 | 6 | :set -Wno-type-defaults |
| 9 | 9 | import Data.Set (Set) |
|
| 10 | 10 | import qualified Data.Map as Map |
|
| 11 | 11 | import Data.Map (Map) |
|
| 12 | 12 | import qualified Data.IntMap as IntMap |
|
| 13 | 13 | import Data.IntMap (IntMap) |
|
| 14 | + | import Data.Maybe |
|
| 15 | + | import Data.Foldable |
|
| 16 | + | import Control.Monad |
|
| 14 | 17 | import Control.Arrow |
.st/config.h
+1 -1
| 84 | 84 | static unsigned int tabspaces = 8; |
|
| 85 | 85 | ||
| 86 | 86 | /* Terminal colors (16 first used in escape sequence) */ |
|
| 87 | 87 | static const char *colorname[] = { |
|
| 88 | 88 | /* 8 normal colors */ |
|
| 89 | - | "#0A0A0A", |
|
| 89 | + | "#000000", |
|
| 90 | 90 | "#AA0000", |
|
| 91 | 91 | "#00AA00", |
|
| 92 | 92 | "yellow", |
|
| 93 | 93 | "#0000AA", |
|
| 94 | 94 | "#AA00AA", |
.vimrc
+2 -0
| 213 | 213 | " Ack |
|
| 214 | 214 | cnoreabbrev ack Ack! |
|
| 215 | 215 | ||
| 216 | 216 | " File navigation/search |
|
| 217 | 217 | nnoremap <Leader>o :FuzzyOpen<CR> |
|
| 218 | + | nnoremap <Leader>f :FuzzyGrep<CR> |
|
| 218 | 219 | ||
| 219 | 220 | " Navigate relative to the current file |
|
| 220 | 221 | cmap %/ %:p:h/ |
|
| 221 | 222 | ||
| 222 | 223 | map <Leader>m :make<CR> |
| 288 | 289 | Plug 'cloudhead/neovim-fuzzy' |
|
| 289 | 290 | Plug 'tikhomirov/vim-glsl' |
|
| 290 | 291 | Plug 'vim-pandoc/vim-pandoc-syntax' |
|
| 291 | 292 | Plug 'junegunn/goyo.vim' |
|
| 292 | 293 | Plug 'vim-scripts/fountain.vim' |
|
| 294 | + | Plug 'vimwiki/vimwiki' |
|
| 293 | 295 | ||
| 294 | 296 | call plug#end() |
.xmobarrc
+2 -2
| 3 | 3 | Config { |
|
| 4 | 4 | font = "xft:Inconsolata:size=14,monospace:size=12" |
|
| 5 | 5 | , borderColor = "black" |
|
| 6 | 6 | , border = TopB |
|
| 7 | 7 | , bgColor = "black" |
|
| 8 | - | , fgColor = "#AA0000" |
|
| 8 | + | , fgColor = "#777777" |
|
| 9 | 9 | , position = TopW L 100 |
|
| 10 | 10 | , commands = [ Run DynNetwork [ "--template", "<dev> <tx> <rx>", "-w", "7", "-S", "True" ] 10 |
|
| 11 | 11 | , Run MultiCpu [ "--template", "<total0>% <total1>% <total2>% <total3>%", "-w", "3" ] 50 |
|
| 12 | 12 | , Run Memory [ "--template", "<usedratio>%" ] 10 |
|
| 13 | 13 | , Run Date "%a %b %d %Y %H:%M:%S" "date" 10 |
| 17 | 17 | , Run CoreTemp [ "--template", "<core0>° <core1>° <core2>° <core3>°" ] 50 |
|
| 18 | 18 | , Run StdinReader |
|
| 19 | 19 | ] |
|
| 20 | 20 | , sepChar = "%" |
|
| 21 | 21 | , alignSep = "}{" |
|
| 22 | - | , template = "%StdinReader% }{┊ %seedbox% ┊ %dropbox% ┊ %coretemp% ┊ %multicpu% ┊ %memory% ┊ %disku% ┊ %dynnetwork% ┊ <fc=#aa0000>%date%</fc> " |
|
| 22 | + | , template = "%StdinReader% }{┊ %seedbox% ┊ %dropbox% ┊ %coretemp% ┊ %multicpu% ┊ %memory% ┊ %disku% ┊ %dynnetwork% ┊ <fc=#aaaaaa>%date%</fc> " |
|
| 23 | 23 | } |
.zshrc
+2 -1
| 159 | 159 | zle accept-line |
|
| 160 | 160 | } |
|
| 161 | 161 | zle -N fg-command |
|
| 162 | 162 | bindkey '^Z' fg-command |
|
| 163 | 163 | ||
| 164 | - | source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
|
| 164 | + | # Zsh syntax highlighting |
|
| 165 | + | # source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |