1
0
Fork 0
mirror of synced 2024-11-16 14:05:34 -05:00
ultimate-vim/my_configs.vim

27 lines
780 B
VimL
Raw Normal View History

2015-11-16 13:34:30 -05:00
" No Uganda message on startup"
set shortmess=I
2015-11-12 00:47:26 -05:00
2015-11-16 13:34:30 -05:00
" Mode shown in the statusline all the time"
set noshowmode
" Block can move outside of bounds"
set virtualedit=block
2015-11-16 15:34:12 -05:00
" Set font according to system
if has("mac") || has("macunix")
set guifont=Source\ Code\ Pro:h15,Menlo:h15
elseif has("win16") || has("win32")
2015-11-16 15:37:24 -05:00
set guifont=Source\ Code\ Pro\ 11,Bitstream\ Vera\ Sans\ Mono:h11
2015-11-16 15:34:12 -05:00
elseif has("linux")
2015-11-16 15:37:24 -05:00
set guifont=Source\ Code\ Pro\ 10,Bitstream\ Vera\ Sans\ Mono:h11
2015-11-16 15:34:12 -05:00
elseif has("unix")
set guifont=Monospace\ 11
endif
" set guifont=Source\ Code\ Pro\ 11
2015-11-16 13:34:30 -05:00
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