" colors
set t_Co=256
set background=dark
+set cursorline
+set cursorcolumn
highlight linenr ctermfg=grey
highlight BadWhitespace ctermfg=red
match BadWhitespace /\s\+$/
-highlight Cursorline ctermbg=darkgrey
+highlight Cursorline cterm=NONE ctermbg=darkgrey
highlight Cursorcolumn ctermbg=darkgrey
-set cursorline
-set cursorcolumn
" fonts and chars
set list
else
let &listchars = 'tab:> ,extends:>,precedes:<,nbsp:.'
endif
-let &t_ti.="\e[1 q"
-let &t_SI.="\e[5 q"
-let &t_EI.="\e[1 q"
-let &t_te.="\e[0 q"
+"let &t_ti.="\e[1 q"
+"let &t_SI.="\e[5 q"
+"let &t_EI.="\e[1 q"
+"let &t_te.="\e[0 q"
" Mappings
let mapleader = "\<space>"
packadd vim-javascript
packadd vim-markdown
let g:previm_enable_realtime = 1
-nnoremap <Leader>md :PrevimOpen<cr>
-nnoremap <Leader>pd :call Pandoc_Preview()<CR>
+nnoremap <silent><Leader>md :PrevimOpen<cr>
+nnoremap <silent><Leader>pd :call Pandoc_Preview()<CR>
" Pick
packadd pick.vim
-nnoremap <Leader>pf :call PickFile()<CR>
-nnoremap <Leader>pb :call PickBuffer()<CR>
-nnoremap <Leader>pt :call PickTag()<CR>
+nnoremap <silent><Leader>pf :call PickFile()<CR>
+nnoremap <silent><Leader>pb :call PickBuffer()<CR>
+nnoremap <silent><Leader>pt :call PickTag()<CR>
let g:pick_height = 10