1
0
Fork 0
mirror of synced 2024-07-03 05:51:09 -04:00
ultimate-vim/my_configs.vim
2015-11-16 12:39:10 -08:00

27 lines
788 B
VimL

" No Uganda message on startup"
set shortmess=I
" Mode shown in the statusline all the time"
set noshowmode
" Block can move outside of bounds"
set virtualedit=block
" Set font according to system
if has("mac") || has("macunix")
set guifont=Source\ Code\ Pro:h15,Menlo:h15
elseif has("win16") || has("win32")
set guifont=Source\ Code\ Pro\ 11,Bitstream\ Vera\ Sans\ Mono:h11
elseif has("linux")
set guifont=Source\ Code\ Pro\ 10,Bitstream\ Vera\ Sans\ Mono:h11
elseif has("unix")
set guifont=Source\ Code\ Pro\ 10
endif
" set guifont=Source\ Code\ Pro\ 11
nmap <leader>rb :call DeleteTrailingWS()<cr>
" Filtering through vimgrep results using regular expressions (amix on github)
map <leader>cc :botright cope<cr>
map <leader>co ggVGy:tabnew<cr>:set syntax=qf<cr>pgg