update dots
This commit is contained in:
parent
9c023c015c
commit
0f1a4d33d1
9 changed files with 24 additions and 4 deletions
|
|
@ -62,3 +62,5 @@ vim.keymap.set({ "n", "v" }, "<Leader>p", [["+p]], default("Paste from system cl
|
||||||
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv", default("Move selection down"))
|
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv", default("Move selection down"))
|
||||||
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv", default("Move selection up"))
|
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv", default("Move selection up"))
|
||||||
vim.keymap.set("n", "<Leader>uI", fixIdentation, default("Fix identation"))
|
vim.keymap.set("n", "<Leader>uI", fixIdentation, default("Fix identation"))
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<Leader>uh", ":nohl<CR>", default("Remove search highlight"))
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ return {
|
||||||
{ "<leader>bp", "<Cmd>BufferLineTogglePin<CR>", desc = "Toggle pin" },
|
{ "<leader>bp", "<Cmd>BufferLineTogglePin<CR>", desc = "Toggle pin" },
|
||||||
{ "<leader>bP", "<Cmd>BufferLineGroupClose ungrouped<CR>", desc = "Close non-pinned buffers" },
|
{ "<leader>bP", "<Cmd>BufferLineGroupClose ungrouped<CR>", desc = "Close non-pinned buffers" },
|
||||||
{ "<leader>bO", "<Cmd>BufferLineCloseOthers<CR>", desc = "Close non focused buffers" },
|
{ "<leader>bO", "<Cmd>BufferLineCloseOthers<CR>", desc = "Close non focused buffers" },
|
||||||
|
{ "<leader>bA", "<Cmd>bufdo bd<CR>", desc = "Close all buffers" },
|
||||||
{ "<leader>bh", "<Cmd>BufferLineMovePrev<CR>", desc = "Move buffer to right" },
|
{ "<leader>bh", "<Cmd>BufferLineMovePrev<CR>", desc = "Move buffer to right" },
|
||||||
{ "<leader>bl", "<Cmd>BufferLineMoveNext<CR>", desc = "Move buffer to left" },
|
{ "<leader>bl", "<Cmd>BufferLineMoveNext<CR>", desc = "Move buffer to left" },
|
||||||
{ "<S-h>", "<cmd>BufferLineCyclePrev<cr>", desc = "Prev buffer" },
|
{ "<S-h>", "<cmd>BufferLineCyclePrev<cr>", desc = "Prev buffer" },
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ return {
|
||||||
javascriptreact = { { "prettierd", "prettier" } },
|
javascriptreact = { { "prettierd", "prettier" } },
|
||||||
typescriptreact = { { "prettierd", "prettier" } },
|
typescriptreact = { { "prettierd", "prettier" } },
|
||||||
css = { { "prettierd", "prettier" } },
|
css = { { "prettierd", "prettier" } },
|
||||||
|
scss = { { "prettierd", "prettier" } },
|
||||||
|
html = { "prettierd" },
|
||||||
sh = { "shfmt" },
|
sh = { "shfmt" },
|
||||||
-- Use the "_" filetype to run formatters on filetypes that don't
|
-- Use the "_" filetype to run formatters on filetypes that don't
|
||||||
-- have other formatters configured.
|
-- have other formatters configured.
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,9 @@ return {
|
||||||
{
|
{
|
||||||
"tpope/vim-fugitive",
|
"tpope/vim-fugitive",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
keys = {
|
||||||
|
{ "<Leader>gL", ":Git log -p -- %<CR>", desc = "Log of open file" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -66,12 +66,21 @@ return {
|
||||||
hint = icons.diagnostics.Hint,
|
hint = icons.diagnostics.Hint,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
-- Macro recording status
|
||||||
|
function()
|
||||||
|
return require("noice").api.status.mode.get()
|
||||||
|
end,
|
||||||
|
cond = function()
|
||||||
|
return package.loaded["noice"] and require("noice").api.status.mode.has()
|
||||||
|
end,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
lualine_x = {
|
lualine_x = {
|
||||||
{},
|
{ "searchcount" },
|
||||||
},
|
},
|
||||||
lualine_y = {
|
lualine_y = {
|
||||||
{ "location", padding = 0 },
|
{ "location" },
|
||||||
{
|
{
|
||||||
"progress",
|
"progress",
|
||||||
fmt = position_scrollbar,
|
fmt = position_scrollbar,
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ return {
|
||||||
|
|
||||||
-- Git
|
-- Git
|
||||||
vim.keymap.set("n", "<leader>gb", builtin.git_branches, { desc = "Change branch" })
|
vim.keymap.set("n", "<leader>gb", builtin.git_branches, { desc = "Change branch" })
|
||||||
vim.keymap.set("n", "<leader>gL", builtin.git_bcommits, { desc = "Commits of buffer" })
|
vim.keymap.set("n", "<leader>gc", builtin.git_bcommits, { desc = "Commits of buffer" })
|
||||||
|
|
||||||
-- Diagnosticos
|
-- Diagnosticos
|
||||||
-- Disabled, handle by trouble
|
-- Disabled, handle by trouble
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,7 @@ set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||||
set -g @plugin 'sainnhe/tmux-fzf'
|
set -g @plugin 'sainnhe/tmux-fzf'
|
||||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||||
|
set -g @plugin '27medkamal/tmux-session-wizard'
|
||||||
|
|
||||||
|
|
||||||
## Plugin Config
|
## Plugin Config
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ plugins=(
|
||||||
# git # disabled because I only ocasionally use git from the terminal
|
# git # disabled because I only ocasionally use git from the terminal
|
||||||
safe-paste # don't run code when pasting
|
safe-paste # don't run code when pasting
|
||||||
systemd
|
systemd
|
||||||
z # TODO: replace plugin with zoxide
|
# z # TODO: replace plugin with zoxide
|
||||||
zsh-autocomplete
|
zsh-autocomplete
|
||||||
zsh-autopair
|
zsh-autopair
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
|
|
@ -110,3 +110,4 @@ fi
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
eval "$(rtx activate zsh)"
|
eval "$(rtx activate zsh)"
|
||||||
# eval "$(zellij setup --generate-auto-start zsh)"
|
# eval "$(zellij setup --generate-auto-start zsh)"
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
|
|
||||||
|
|
@ -22,4 +22,5 @@ starship
|
||||||
tealdeer
|
tealdeer
|
||||||
tmux
|
tmux
|
||||||
tree-sitter-cli
|
tree-sitter-cli
|
||||||
|
zoxide
|
||||||
zsh
|
zsh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue