Commits

ZyX_I committed 139b1f6

@aurum/record: Fixed AuRecord Edit mapping

  • Participants
  • Parent commits 35e56cd
  • Tags release-1.4.2

Comments (0)

Files changed (1)

plugin/aurum/record.vim

             endif
         endif
         if ntype isnot 0
+            execute swnr.'wincmd w'
             if !modified
-                execute swnr.'wincmd w'
                 let status=3
                 let bvar.statuses[line('.')-1]=status
-                setlocal nomodifiable
-                execute lwnr.'wincmd w'
             endif
             call s:F.reset(bvar)
+            setlocal nomodifiable
+            execute lwnr.'wincmd w'
             call s:F.edit(bvar, fullpath, 0)
             if ntype is# 'm' || (modified && ntype is# 'a')
                 if !modified