diff --git a/nvim/lua/autocmd.lua b/nvim/lua/autocmd.lua index bd7d8aa..55e1aaa 100644 --- a/nvim/lua/autocmd.lua +++ b/nvim/lua/autocmd.lua @@ -9,3 +9,6 @@ vim.api.nvim_command([[au FileType sql lua require'cmp'.setup.buffer { { name = 'buffer' }, }} ]]) + +-- word break and spelling in markdown files +vim.api.nvim_command('au BufRead,BufNewFile *.md set spell lbr') diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 70fd395..e44fb39 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,6 +1,7 @@ set-option -g history-limit 100000 set-option -g status off set-option -g focus-events on +set-option -g detach-on-destroy off set -ga terminal-overrides ",*256col*:Tc" set -g mouse on