fix tmux stuff, add markdown specific config

master
RageCage64 9 months ago
parent e422f901f5
commit 5b78c227e9

@ -2,7 +2,7 @@
set -sg escape-time 0 set -sg escape-time 0
# This is convenient sometimes # This is convenient sometimes
set -g mouse set -g mouse on
# Attempting to get terminal colour # Attempting to get terminal colour
# set -g default-terminal "tmux-256color" # set -g default-terminal "tmux-256color"
@ -15,3 +15,8 @@ set -g status-bg default
set -g status-position top set -g status-position top
set -g status-interval 1 set -g status-interval 1
set -g status-left "" set -g status-left ""
# Copy mode with vim bindings
setw -g mode-keys vi
bind C-c run "tmux save-buffer - | wlcopy"

@ -23,3 +23,11 @@ vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@") vim.opt.isfname:append("@-@")
vim.opt.updatetime = 50 vim.opt.updatetime = 50
vim.api.nvim_create_autocmd('FileType', {
pattern = 'markdown',
group = vim.api.nvim_create_augroup('markdown settings', { clear = true }),
callback = function()
vim.opt.wrap = true
end,
})

Loading…
Cancel
Save