From 5ec2b5583effe40f460a9d49f3d3a9aa0cf7e849 Mon Sep 17 00:00:00 2001 From: Mike Cugini Date: Thu, 10 Mar 2016 11:18:32 -0500 Subject: [PATCH] added code folding bindings to vimrc --- vimrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index ae301aa..96279f4 100644 --- a/vimrc +++ b/vimrc @@ -24,13 +24,17 @@ syntax enable filetype plugin 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 "set mouse=a "indent and tab set nowrap set expandtab -set tabstop=4 shiftwidth=4 +set tabstop=4 shiftwidth=4 softtabstop=4 set backspace=indent,eol,start "search @@ -43,6 +47,10 @@ set smartcase set wildmenu set wildmode=longest:full,full +"configure code folding bindings +nnoremap za +vnoremap zf + "turn paste mode on and off with F3 set pastetoggle=