diff options
author | christianchiarulli <[email protected]> | 2021-04-12 19:50:04 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-04-12 19:50:04 -0400 |
commit | f6ddae028e2c4dd4aecf15fed35990418d99f8c7 (patch) | |
tree | 9a023081ae08e533567c3123f2c83c094466ef50 /lua/settings.lua | |
parent | f13f15a3b3efe5ecb60c650b28066037b4e1c5e5 (diff) |
update
Diffstat (limited to 'lua/settings.lua')
-rw-r--r-- | lua/settings.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/settings.lua b/lua/settings.lua index 29621435..050b7a77 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -3,7 +3,8 @@ vim.cmd('set shortmess+=c') -- Don't pass messages to |ins-completion-menu|. vim.cmd('set inccommand=split') -- Make substitution work in realtime vim.o.hidden = O.hidden_files -- Required to keep multiple buffers open multiple buffers vim.o.title = true --- vim.o.titlestring = "filename nvim" +TERMINAL = vim.fn.expand('$TERMINAL') +vim.cmd('let &titleold="'..TERMINAL..'"') vim.o.titlestring="%<%F%=%l/%L - nvim" vim.wo.wrap = O.wrap_lines -- Display long lines as just one line vim.cmd('set whichwrap+=<,>,[,],h,l') -- move to next line with theses keys |