feat: rounded tmux and vim status
This commit is contained in:
parent
87219d0a5a
commit
6c4495ba95
2 changed files with 19 additions and 5 deletions
|
@ -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}"
|
|
@ -27,10 +27,14 @@ vim.keymap.set("n", "<leader>p", "<cmd>bp<CR>")
|
|||
vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>")
|
||||
|
||||
-- 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", "<leader>b", "<cmd>Telescope buffers<CR>")
|
||||
|
@ -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
|
||||
|
||||
|
@ -91,4 +95,3 @@ vim.api.nvim_create_autocmd('LspAttach', {
|
|||
bufmap('n', ']d', vim.diagnostic.goto_next)
|
||||
end
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue