1
0
Fork 0
mirror of synced 2024-06-28 11:41:10 -04:00
ultimate-vim/my_configs.vim

45 lines
1.1 KiB
VimL
Raw Normal View History

2016-08-16 23:00:18 -04:00
if has("mac") || has("macunix")
set gfn=Hack:h24,Source\ Code\ Pro:h24,Menlo:h24
elseif has("win16") || has("win32")
set gfn=Hack:h18,Source\ Code\ Pro:h16,Bitstream\ Vera\ Sans\ Mono:h15
elseif has("gui_gtk2")
set gfn=Hack\ 18,Source\ Code\ Pro\ 16,Bitstream\ Vera\ Sans\ Mono\ 15
elseif has("linux")
set gfn=Hack\ 18,Source\ Code\ Pro\ 16,Bitstream\ Vera\ Sans\ Mono\ 15
elseif has("unix")
set gfn=Monospace\ 20
endif
2016-08-17 09:35:55 -04:00
" move around tabs. conflict with the original screen top/bottom
" comment them out if you want the original H/L
" go to prev tab
map <S-H> gT
" go to next tab
map <S-L> gt
" mv current tab left
map <C-H> :execute 'tabmove ' . (tabpagenr()-2)<CR>
" mv current tab right
map <C-L> :execute 'tabmove ' . tabpagenr()<CR>
" new tab
map <C-t><C-t> :tabnew<CR>
" close tab
map <C-t><C-w> :tabclose<CR>
" toggle NerdTree
map <F4> :NERDTreeToggle<CR>
set expandtab
set shiftwidth=2
set tabstop=2
set softtabstop=2
set cmdheight=1
2016-08-18 22:21:59 -04:00
set number
" Mark, highlight multiple words
source ~/.vim_runtime/sources_non_forked/Mark/plugin/mark.vim
let g:mwDefaultHighlightingPalette = 'maximum'
let g:mwDefaultHighlightingNum = 10
2016-08-17 09:35:55 -04:00