I've only noticed this problem in vim so far, but sometimes the text blinks instead of being colored. I don't like blinking text in the console at all, so I figured it would be worth it to just disable it altogether. How do I do this? I haven't been able to find any references to this by googling or looking through the documentation. Even this suggestion to put
in my .vimrc doesn't work. Why aren't these lines just colored for syntax highlighting, anyway? How many colors does the FreeBSD console support? I thought it was at least 256 but apparently something's not working.
Perhaps this is a kernel option. I've never recompiled the FreeBSD kernel with a custom file before, but it shouldn't be too hard (I've also done it successfully on Linux, and I hear it's even easier here).
In case this problem is specific to vim, here is my .vimrc:
Code:
autocmd VimEnter * set vb t_vb=
Perhaps this is a kernel option. I've never recompiled the FreeBSD kernel with a custom file before, but it shouldn't be too hard (I've also done it successfully on Linux, and I hear it's even easier here).
In case this problem is specific to vim, here is my .vimrc:
Code:
set wrap lbr
set backup
function InitBackupDir()
let separator = "."
let parent = $HOME .'/' . separator . 'vim/'
let backup = parent . 'backup/'
let tmp = parent . 'tmp/'
if exists ("*mkdir")
if !isdirectory(parent)
call mkdir(parent)
endif
if !isdirectory(backup)
call mkdir(tmp)
endif
endif
let missing_dir = 0
if isdirectory(tmp)
execute 'set backupdir=' . escape(backup, " ") . "/,."
else
let missing_dir = 1
endif
if isdirectory(backup)
execute 'set directory=' . escape(tmp, " ") . "/,."
else
let missing_dir = 1
endif
if missing_dir
echo "Warning: Unable to create backup directory"
. backup ." and " . tmp
echo "Try: mkdir -p " . backup
echo "and: mkdir -p " . tmp
set backupdir=.
set directory=.
endif
endfunction
call InitBackupDir()
nnoremap <F2> :set invpaste paste?<CR>
imap <F2> <C-O><F2>
set pastetoggle=<F2>
set softtabstop=4
set cindent
set smartindent
set autoindent
set expandtab
set shiftwidth=2
set mouse=a
set laststatus=2
set statusline=%<%F%=\ [%M%R%H%Y]\ (%(%l,%c%))\ %P[%L]
set number
au WinLeave * set nocursorline nocursorcolumn
au WinEnter * set cursorline cursorcolumn
set cursorline cursorcolumn
syn on
set t_Co=256
colorscheme pablo
noremap <buffer> <silent> k gk
noremap <buffer> <silent> j gj
noremap <buffer> <silent> 0 g0
noremap <buffer> <silent> $ g$
noremap <buffer> <silent> <Up> gk
noremap <buffer> <silent> <Down> gj
noremap <buffer> <silent> <Home> g<Home>
noremap <buffer> <silent> <End> g<End>
inoremap <buffer> <silent> <Up> <C-o>gk
inoremap <buffer> <silent> <Down> <C-o>gj
inoremap <buffer> <silent> <Home> <C-o>g<Home>
inoremap <buffer> <silent> <End> <C-o>g<End>