fix italics not working in tmux

This commit is contained in:
talksik
2023-10-31 14:47:40 -07:00
parent 71e8082ea2
commit 8a97e9920d
3 changed files with 10 additions and 3 deletions
-1
View File
@@ -26,7 +26,6 @@ lsp.configure('sumneko_lua', {
} }
}) })
local cmp = require('cmp') local cmp = require('cmp')
local cmp_select = { behavior = cmp.SelectBehavior.Select } local cmp_select = { behavior = cmp.SelectBehavior.Select }
local cmp_mappings = lsp.defaults.cmp_mappings({ local cmp_mappings = lsp.defaults.cmp_mappings({
+7 -1
View File
@@ -1,10 +1,16 @@
vim.o.background = 'light' vim.o.background = 'light'
require('solarized').setup({ require('solarized').setup({
-- theme = 'neo' -- or comment to use solarized default theme. theme = 'default', -- or 'neo'
styles = { styles = {
comments = { italic = true, bold = false }, comments = { italic = true, bold = false },
functions = { italic = true }, functions = { italic = true },
variables = { italic = false }, variables = { italic = false },
} }
}) })
vim.cmd.colorscheme = 'solarized'
function test()
print('test')
end
+3 -1
View File
@@ -1,10 +1,12 @@
# 0 is too far from ` ;) # 0 is too far from ` ;)
set -g base-index 1 set -g base-index 1
set -g default-terminal "screen-256color" # set -g default-terminal "screen-256color"
set -g default-terminal "rxvt-unicode-256color" # fixes italics not working in nvim
set -g status-keys vi set -g status-keys vi
set -g history-limit 10000 set -g history-limit 10000
setw -g mode-keys vi setw -g mode-keys vi
setw -g mouse on setw -g mouse on
setw -g monitor-activity on setw -g monitor-activity on