aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2017-03-07 13:41:52 -0700
committerkatherine <shmibs@shmibbles.me>2017-03-07 13:41:52 -0700
commit9676f43ffad81ac477ae3989e6b2b1e129f85d98 (patch)
treec08eca44c160f69d5e221ce415e559e0bb265762 /.vimrc
parent5aba9de367932be46aa471c71076d9e623d5abce (diff)
downloaddotfiles-9676f43ffad81ac477ae3989e6b2b1e129f85d98.tar.gz
preliminary support for light backgrounds
haven't managed to make one that felt ok yet, but still nice to have the option
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 68108f1..02cad08 100644
--- a/.vimrc
+++ b/.vimrc
@@ -268,7 +268,9 @@ function! Settings_c()
setlocal tabstop=4
setlocal softtabstop=4
"mappings
+ "note: these mappings are in weird reverse order to avoid opening folds
nnoremap <buffer> -- O<Space>*/<Esc>hhi/*<Space>
+ inoremap {<CR> }<Esc>i{<CR><Esc>O
endfunction
function! Settings_coffee()