unexist.dev

Changeset 365:d7079aa8e69e

Added W command
author unexist
date Fri, 05 Aug 2011 21:36:26 +0200
parents d0a9bcadf697
children e0eba56587f2
files .vimrc
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.vimrc	Tue Aug 02 21:13:44 2011 +0200
+++ b/.vimrc	Fri Aug 05 21:36:26 2011 +0200
@@ -83,6 +83,15 @@
 imap <F12> <C-O><F12>
 set pastetoggle=<F12>
 
+" Brackets
+"inoremap {      {}<Left>
+"inoremap {<CR>  {<CR>}<Tab><Esc>O
+"inoremap {{     {
+"inoremap {}     {}
+
+" Commands
+command W w !sudo tee % /dev/null
+
 " Filetype
 if has("autocmd")
   filetype plugin on