add permanent undo (#197)
This commit is contained in:
parent
8ac85a03af
commit
5236893e5e
@ -1,6 +1,7 @@
|
|||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
local g = vim.g
|
local g = vim.g
|
||||||
|
|
||||||
|
opt.undofile = true
|
||||||
opt.ruler = false
|
opt.ruler = false
|
||||||
opt.hidden = true
|
opt.hidden = true
|
||||||
opt.ignorecase = true
|
opt.ignorecase = true
|
||||||
@ -64,5 +65,10 @@ for _, plugin in pairs(disabled_built_ins) do
|
|||||||
vim.g["loaded_" .. plugin] = 1
|
vim.g["loaded_" .. plugin] = 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Opening a file from its last left off position
|
||||||
|
--vim.cmd(
|
||||||
|
-- [[au BufReadPost * if expand('%:p') !~# '\m/\.git/' && line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif]]
|
||||||
|
--)
|
||||||
|
|
||||||
-- file extension specific tabbing
|
-- file extension specific tabbing
|
||||||
-- vim.cmd([[autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4]])
|
-- vim.cmd([[autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4]])
|
||||||
|
Loading…
Reference in New Issue
Block a user