From cdeec913099c108788f8b87f9886d52d783538c7 Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Tue, 12 Sep 2023 11:47:09 -0500 Subject: [PATCH] neovim md autocommands, also tmux config tweak --- nvim/lua/autocmd.lua | 3 +++ tmux/tmux.conf | 1 + 2 files changed, 4 insertions(+) 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