added code folding bindings to vimrc

This commit is contained in:
Mike Cugini 2016-03-10 11:18:32 -05:00
parent b05fb2ed72
commit 5ec2b5583e

10
vimrc
View File

@ -24,13 +24,17 @@ syntax enable
filetype plugin on filetype plugin on
filetype plugin indent on filetype plugin indent on
"work
autocmd BufRead,BufNewFile *sr?/server/*.py set colorcolumn=100
autocmd BufRead,BufNewFile *src/client/*.py set colorcolumn=120
"enable mouse "enable mouse
"set mouse=a "set mouse=a
"indent and tab "indent and tab
set nowrap set nowrap
set expandtab set expandtab
set tabstop=4 shiftwidth=4 set tabstop=4 shiftwidth=4 softtabstop=4
set backspace=indent,eol,start set backspace=indent,eol,start
"search "search
@ -43,6 +47,10 @@ set smartcase
set wildmenu set wildmenu
set wildmode=longest:full,full set wildmode=longest:full,full
"configure code folding bindings
nnoremap <space> za
vnoremap <space> zf
"turn paste mode on and off with F3 "turn paste mode on and off with F3
set pastetoggle=<F3> set pastetoggle=<F3>