add(base): thefuck & neotree bindings
This commit is contained in:
parent
1d2edd66c6
commit
64d95dfef5
@ -11,6 +11,7 @@
|
|||||||
profileExtra = ''
|
profileExtra = ''
|
||||||
SHELL="$BASH"
|
SHELL="$BASH"
|
||||||
PATH=~/.bin:$PATH
|
PATH=~/.bin:$PATH
|
||||||
|
eval "$(thefuck --alias)"
|
||||||
set -o vi
|
set -o vi
|
||||||
bind "set show-mode-in-prompt on"
|
bind "set show-mode-in-prompt on"
|
||||||
neofetch
|
neofetch
|
||||||
|
3
home.nix
3
home.nix
@ -20,7 +20,7 @@ in
|
|||||||
# Home Manager Config
|
# Home Manager Config
|
||||||
home.username = "evanreichard";
|
home.username = "evanreichard";
|
||||||
home.homeDirectory = "/Users/evanreichard";
|
home.homeDirectory = "/Users/evanreichard";
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "24.05";
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
# Global Packages
|
# Global Packages
|
||||||
@ -40,6 +40,7 @@ in
|
|||||||
pre-commit
|
pre-commit
|
||||||
python311
|
python311
|
||||||
ssm-session-manager-plugin
|
ssm-session-manager-plugin
|
||||||
|
thefuck
|
||||||
tldr
|
tldr
|
||||||
] ++ optionals isDarwin [
|
] ++ optionals isDarwin [
|
||||||
kitty
|
kitty
|
||||||
|
@ -184,9 +184,8 @@ end
|
|||||||
null_ls.setup({
|
null_ls.setup({
|
||||||
sources = {
|
sources = {
|
||||||
-- Prettier Formatting
|
-- Prettier Formatting
|
||||||
null_ls.builtins.formatting.prettier.with({
|
null_ls.builtins.formatting.prettier,
|
||||||
extra_filetypes = { "template" },
|
null_ls.builtins.formatting.prettier.with({ filetypes = { "template" } }),
|
||||||
}),
|
|
||||||
require("none-ls.diagnostics.eslint_d").with({
|
require("none-ls.diagnostics.eslint_d").with({
|
||||||
condition = function(utils)
|
condition = function(utils)
|
||||||
return has_eslint_in_parents(vim.fn.getcwd())
|
return has_eslint_in_parents(vim.fn.getcwd())
|
||||||
|
@ -1 +1,2 @@
|
|||||||
require("neo-tree").setup({ window = { mappings = { ["<space>"] = "none" } } })
|
require("neo-tree").setup({ window = { mappings = { ["<space>"] = "none" } } })
|
||||||
|
vim.keymap.set("n", "<leader>t", ":Neotree toggle<CR>", { silent = true })
|
||||||
|
@ -6,20 +6,22 @@ wk.register({
|
|||||||
K = { "Definition Hover" },
|
K = { "Definition Hover" },
|
||||||
["<C-k>"] = { "Signature Help" },
|
["<C-k>"] = { "Signature Help" },
|
||||||
["<leader>"] = {
|
["<leader>"] = {
|
||||||
|
a = { "Aerial" },
|
||||||
|
t = { "NeoTree" },
|
||||||
q = {
|
q = {
|
||||||
name = "Diagnostics",
|
name = "Diagnostics",
|
||||||
q = { "Toggle Diagnostic List" },
|
q = { "Toggle Diagnostic List" },
|
||||||
t = { "Toggle Inline Diagnostics" },
|
t = { "Toggle Inline Diagnostics" },
|
||||||
n = { "Next Diagnostic" },
|
n = { "Next Diagnostic" },
|
||||||
N = { "Previous Diagnostic" },
|
N = { "Previous Diagnostic" },
|
||||||
e = {"Open Diagnostic Float"}
|
e = { "Open Diagnostic Float" },
|
||||||
},
|
},
|
||||||
d = {
|
d = {
|
||||||
name = "Debug",
|
name = "Debug",
|
||||||
b = { "Toggle Breakpoint" },
|
b = { "Toggle Breakpoint" },
|
||||||
u = { "Toggle UI" },
|
u = { "Toggle UI" },
|
||||||
c = { "Continue" },
|
c = { "Continue" },
|
||||||
t = {"Run Test"}
|
t = { "Run Test" },
|
||||||
},
|
},
|
||||||
g = {
|
g = {
|
||||||
name = "DiffView",
|
name = "DiffView",
|
||||||
@ -28,11 +30,11 @@ wk.register({
|
|||||||
h = { "<cmd>DiffviewFileHistory<cr>", "Diff History" },
|
h = { "<cmd>DiffviewFileHistory<cr>", "Diff History" },
|
||||||
H = {
|
H = {
|
||||||
"<cmd>DiffviewFileHistory --range=origin..HEAD<cr>",
|
"<cmd>DiffviewFileHistory --range=origin..HEAD<cr>",
|
||||||
"Diff History - Main"
|
"Diff History - Main",
|
||||||
},
|
},
|
||||||
c = { "<cmd>DiffviewClose<cr>", "Close Diff" },
|
c = { "<cmd>DiffviewClose<cr>", "Close Diff" },
|
||||||
b = { "Git Blame Line" },
|
b = { "Git Blame Line" },
|
||||||
B = {"Git Blame Full"}
|
B = { "Git Blame Full" },
|
||||||
},
|
},
|
||||||
f = {
|
f = {
|
||||||
name = "Find - Telescope",
|
name = "Find - Telescope",
|
||||||
@ -40,7 +42,7 @@ wk.register({
|
|||||||
g = { "<cmd>Telescope live_grep<cr>", "Live Grep" },
|
g = { "<cmd>Telescope live_grep<cr>", "Live Grep" },
|
||||||
b = { "<cmd>Telescope buffers<cr>", "Find Buffer" },
|
b = { "<cmd>Telescope buffers<cr>", "Find Buffer" },
|
||||||
j = { "<cmd>Telescope jumplist<cr>", "Jump List" },
|
j = { "<cmd>Telescope jumplist<cr>", "Jump List" },
|
||||||
h = {"<cmd>Telescope help_tags<cr>", "Help Tags"}
|
h = { "<cmd>Telescope help_tags<cr>", "Help Tags" },
|
||||||
},
|
},
|
||||||
l = {
|
l = {
|
||||||
name = "LSP",
|
name = "LSP",
|
||||||
@ -50,14 +52,14 @@ wk.register({
|
|||||||
i = { "Implementation" },
|
i = { "Implementation" },
|
||||||
n = { "Rename" },
|
n = { "Rename" },
|
||||||
r = { "References" },
|
r = { "References" },
|
||||||
t = {"Type Definition"}
|
t = { "Type Definition" },
|
||||||
},
|
},
|
||||||
s = {
|
s = {
|
||||||
name = "Screenshot",
|
name = "Screenshot",
|
||||||
mode = {'v', 'n'},
|
mode = { "v", "n" },
|
||||||
b = {"Buffer Screenshot", mode = {'v', 'n'}},
|
b = { "Buffer Screenshot", mode = { "v", "n" } },
|
||||||
s = {"Selected Screenshot", mode = 'v'},
|
s = { "Selected Screenshot", mode = "v" },
|
||||||
v = {"Visual Screenshot", mode = 'n'}
|
v = { "Visual Screenshot", mode = "n" },
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user