added persistent folding
This commit is contained in:
@@ -90,6 +90,9 @@ vim.api.nvim_set_keymap('t', keymap.navigation_move_to_panel_up, '<cmd>wincmd k<
|
|||||||
vim.api.nvim_set_keymap('t', keymap.navigation_move_to_panel_right, '<cmd>wincmd l<CR>', {silent = true})
|
vim.api.nvim_set_keymap('t', keymap.navigation_move_to_panel_right, '<cmd>wincmd l<CR>', {silent = true})
|
||||||
vim.cmd [[ autocmd BufEnter * if &buftype == 'terminal' | :startinsert | endif ]]
|
vim.cmd [[ autocmd BufEnter * if &buftype == 'terminal' | :startinsert | endif ]]
|
||||||
|
|
||||||
|
vim.cmd [[ autocmd BufWinLeave *.* mkview ]]
|
||||||
|
vim.cmd [[ autocmd BufWinEnter *.* silent loadview ]]
|
||||||
|
|
||||||
vim.g.c_syntax_for_h = 1
|
vim.g.c_syntax_for_h = 1
|
||||||
vim.g.python_indent = { -- Fixes retarded default python indentation.
|
vim.g.python_indent = { -- Fixes retarded default python indentation.
|
||||||
open_paren = 'shiftwidth()',
|
open_paren = 'shiftwidth()',
|
||||||
|
|||||||
Reference in New Issue
Block a user