Created
July 17, 2012 16:02
-
-
Save agraves/3130293 to your computer and use it in GitHub Desktop.
.vimrc
This file contains 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 tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set ai | |
syntax on | |
set ruler | |
set smarttab | |
nnoremap <F7> :call TogglePasteMode()<CR> | |
inoremap <F7> <ESC><F7> | |
function TogglePasteMode () | |
if (&paste) | |
set nopaste | |
echo "paste mode off" | |
else | |
set paste | |
echo "paste mode on" | |
endif | |
endfunction | |
au BufRead,BufNewFile *.scss set filetype=scss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment