feat: add jdtls...
This commit is contained in:
parent
69cbead564
commit
5c646250a7
4 changed files with 6 additions and 3 deletions
1
.zshrc
1
.zshrc
|
|
@ -40,6 +40,7 @@ alias gl='git pull origin'
|
||||||
alias gm='git commit -m'
|
alias gm='git commit -m'
|
||||||
alias ga="git add -A"
|
alias ga="git add -A"
|
||||||
alias g+='bear -- g++ -Wextra -Werror -std=c++20'
|
alias g+='bear -- g++ -Wextra -Werror -std=c++20'
|
||||||
|
alias s="kitty +kitten ssh"
|
||||||
|
|
||||||
# zoxide
|
# zoxide
|
||||||
## =============================================================================
|
## =============================================================================
|
||||||
|
|
|
||||||
|
|
@ -98,6 +98,7 @@ windowrule=forceinput,^(.*)(ota)(.*)$
|
||||||
windowrule=size 1200 800,^(org.gnome.NautilusPreviewer)$
|
windowrule=size 1200 800,^(org.gnome.NautilusPreviewer)$
|
||||||
windowrule=center,^(.*)(swappy)(.*)$
|
windowrule=center,^(.*)(swappy)(.*)$
|
||||||
windowrule=opacity 80,^(.*)(dunst)(.*)$
|
windowrule=opacity 80,^(.*)(dunst)(.*)$
|
||||||
|
windowrule=float,title:^(.*)(Spirit)(.*)$
|
||||||
#windowrule=tile,xyz
|
#windowrule=tile,xyz
|
||||||
#windowrule=float,abc
|
#windowrule=float,abc
|
||||||
#windowrule=pseudo,abc
|
#windowrule=pseudo,abc
|
||||||
|
|
|
||||||
|
|
@ -36,9 +36,9 @@ keymap("n", "<leader>ge", ":lua require('telescope.builtin').git_branches()<CR>"
|
||||||
keymap("n", "<leader>gr", ":lua require('telescope.builtin').git_status()<CR>", opts)
|
keymap("n", "<leader>gr", ":lua require('telescope.builtin').git_status()<CR>", opts)
|
||||||
keymap("n", "<leader>ga", ":lua require('telescope.builtin').git_stash()<CR>", opts)
|
keymap("n", "<leader>ga", ":lua require('telescope.builtin').git_stash()<CR>", opts)
|
||||||
|
|
||||||
-- window switching
|
-- window switching
|
||||||
function _G.set_terminal_keymaps()
|
function _G.set_terminal_keymaps()
|
||||||
local opts = {buffer = 0}
|
local opts = { buffer = 0 }
|
||||||
vim.keymap.set('t', '<esc>', [[<C-\><C-n>]], opts)
|
vim.keymap.set('t', '<esc>', [[<C-\><C-n>]], opts)
|
||||||
vim.keymap.set('t', 'jk', [[<C-\><C-n>]], opts)
|
vim.keymap.set('t', 'jk', [[<C-\><C-n>]], opts)
|
||||||
vim.keymap.set('t', '<A-h>', [[<Cmd>wincmd h<CR>]], opts)
|
vim.keymap.set('t', '<A-h>', [[<Cmd>wincmd h<CR>]], opts)
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,8 @@ require("mason-lspconfig").setup({
|
||||||
"marksman", -- markdown
|
"marksman", -- markdown
|
||||||
"asm_lsp", -- assembly
|
"asm_lsp", -- assembly
|
||||||
"tsserver", -- js and ts
|
"tsserver", -- js and ts
|
||||||
"ltex" -- latex
|
"ltex", -- latex
|
||||||
|
"jdtls" -- jafuck
|
||||||
},
|
},
|
||||||
automatic_installation = true,
|
automatic_installation = true,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue