Last active
August 23, 2022 19:45
-
-
Save trufae/a24de241d9fcbbe7048b13bb94e51419 to your computer and use it in GitHub Desktop.
pancake's vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cinoptions=p0,t0,:0,=8 | |
set cindent | |
colorscheme desert | |
" peachpuff | |
set noexpandtab | |
set hlsearch | |
set nu | |
set mouse=a | |
sy on | |
" pancake's exposee for vim: | |
let fs=0 | |
fun Exposee() | |
if (g:fs == 0) | |
res 1000 | |
vertical res 1000 | |
let g:fs=1 | |
else | |
exe "normal \<C-W>=" | |
let g:fs=0 | |
endif | |
endfun | |
map <F10> :call Exposee()<cr> | |
"some nice keymappings | |
map <F1> :vsp<cr> | |
map <F2> :sp<cr> | |
map <F3> :sp<cr>:e .<cr> | |
map <F4> :q<cr> | |
map <F5> <C-W>= | |
" fine zooming | |
map <C-J> 2<C-W>+ | |
map <C-K> 2<C-W>- | |
map <C-L> 2<C-W>> | |
map <C-H> 2<C-W>< | |
" fine frame moving | |
map <C-Y> <C-W>h | |
map <C-U> <C-W>j | |
map <C-I> <C-W>k | |
map <C-O> <C-W>l | |
au BufRead,BufNewFile *.v set filetype=go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment