Revert "Make buffer readonly"

This reverts commit 5c4ed4a34a.
This commit is contained in:
Marco Hinz 2017-01-19 13:16:31 +01:00
parent 5c4ed4a34a
commit 42a317bc9e
No known key found for this signature in database
GPG key ID: 1C980A1B657B4A4F

View file

@ -53,7 +53,6 @@ function! startify#insane_in_the_membrane() abort
silent! setlocal silent! setlocal
\ bufhidden=wipe \ bufhidden=wipe
\ colorcolumn=
\ nobuflisted \ nobuflisted
\ nocursorcolumn \ nocursorcolumn
\ nocursorline \ nocursorline
@ -62,7 +61,7 @@ function! startify#insane_in_the_membrane() abort
\ norelativenumber \ norelativenumber
\ nospell \ nospell
\ noswapfile \ noswapfile
\ readonly \ colorcolumn=
if empty(&statusline) if empty(&statusline)
setlocal statusline=\ startify setlocal statusline=\ startify
endif endif
@ -766,7 +765,7 @@ function! s:set_mark(type, ...) abort
\ 'T': 'tabnew', \ 'T': 'tabnew',
\ } \ }
setlocal noreadonly modifiable setlocal modifiable
if entry.marked && index[0] == a:type if entry.marked && index[0] == a:type
let entry.cmd = 'edit' let entry.cmd = 'edit'
@ -780,7 +779,7 @@ function! s:set_mark(type, ...) abort
execute 'normal! ci]'. repeat(a:type, len(index)) execute 'normal! ci]'. repeat(a:type, len(index))
endif endif
setlocal readonly nomodifiable nomodified setlocal nomodifiable nomodified
endfunction endfunction
" Function: s:sort_by_tick {{{1 " Function: s:sort_by_tick {{{1