diff --git a/modules/home-manager/tmux/tmux.conf b/modules/home-manager/tmux/tmux.conf index e69de29..abb7510 100644 --- a/modules/home-manager/tmux/tmux.conf +++ b/modules/home-manager/tmux/tmux.conf @@ -0,0 +1,11 @@ +set -g default-terminal "tmux-256color" + +# Configure the catppuccin plugin +set -g @catppuccin_flavor "mocha" +set -g @catppuccin_window_status_style "rounded" + +# Make the status line pretty and add some modules +set -g status-right-length 100 +set -g status-left-length 100 +set -g status-left "" +set -g status-right "#{E:@catppuccin_status_application}" diff --git a/modules/home-manager/vim/init.lua b/modules/home-manager/vim/init.lua index cab8b97..c7f480c 100644 --- a/modules/home-manager/vim/init.lua +++ b/modules/home-manager/vim/init.lua @@ -27,10 +27,14 @@ vim.keymap.set("n", "p", "bp") vim.keymap.set("n", "", "nohlsearch") -- Bufferline (tabs) -require("bufferline").setup{} +require("bufferline").setup {} -- Lualine (status line) -require("lualine").setup{} +require("lualine").setup { + options = { + section_separators = { left = '', right = '' } + } +} -- Telescope (anything search) vim.keymap.set("n", "b", "Telescope buffers") @@ -53,7 +57,7 @@ vim.api.nvim_create_autocmd('LspAttach', { desc = 'LSP actions', callback = function() local bufmap = function(mode, lhs, rhs) - local opts = {buffer = true} + local opts = { buffer = true } vim.keymap.set(mode, lhs, rhs, opts) end @@ -72,7 +76,7 @@ vim.api.nvim_create_autocmd('LspAttach', { -- Jumps to the definition of the type symbol bufmap('n', 'go', vim.lsp.buf.type_definition) - -- Lists all the references + -- Lists all the references bufmap('n', 'gr', vim.lsp.buf.references) -- Displays a function's signature information @@ -91,4 +95,3 @@ vim.api.nvim_create_autocmd('LspAttach', { bufmap('n', ']d', vim.diagnostic.goto_next) end }) -