Skip to content

Commit

Permalink
I really don't want vim inserting its own indents
Browse files Browse the repository at this point in the history
  • Loading branch information
natw committed Mar 17, 2013
1 parent c7c5657 commit a4a0015
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugin/keyboard_cat.vim
Expand Up @@ -2,6 +2,11 @@ command! -nargs=? -complete=file PlayMeOff call PlayMeOff(<f-args>)

function! PlayMeOff(...)
setlocal noautoindent
setlocal nosmartindent
setlocal nosmarttab
setlocal indentexpr=
setlocal indentkeys=
filetype indent off
let b:keyboard_cat_counter = 0
let s:letters = split('abcdefghijklmnopqrstuvwxyz;,.:<>?"{}/''', '\zs')
if a:0 > 0
Expand Down

0 comments on commit a4a0015

Please sign in to comment.