Permalink
Browse files

Changes pastetoggle back to F2, adds fixmyjs vim key

  • Loading branch information...
1 parent d982e69 commit 6e1c804531dc8edbf2961725195d3af2a3029496 @goatslacker committed Apr 17, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 .vimrc
View
4 .vimrc
@@ -54,7 +54,7 @@ set wildmenu
set encoding=utf8
set ffs=unix
" Paste toggle so formatting is not lost on paste
-set pastetoggle=<Leader>a
+set pastetoggle=<F2>
" Searching
set incsearch
set hlsearch
@@ -89,6 +89,8 @@ map <leader>w :w!<CR>
map <Leader>b :w !make<CR>
" JSHint file
map <Leader>l :call <SID>lint()<CR>
+" call fixmyjs on file
+map <Leader>k :execute ":w !fixmyjs " . expand("%")<CR>:edit<CR>
" Toggle Numbers On | Off
map <Leader>n :set number!<CR>
" Executes the current file

0 comments on commit 6e1c804

Please sign in to comment.