Compare commits
5 commits
f08e1712cf
...
1c1015d95f
Author | SHA1 | Date | |
---|---|---|---|
1c1015d95f | |||
90c7b98461 | |||
99c207d910 | |||
75917bd441 | |||
977c5aa769 |
7 changed files with 21 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
alias bat="batcat"
|
alias bat="batcat"
|
||||||
alias co='checkout'
|
alias co='checkout'
|
||||||
alias e="find-edit"
|
alias e="find-edit"
|
||||||
|
alias fcd="cd \$(find . -type d | fzf)"
|
||||||
alias ff="find_files"
|
alias ff="find_files"
|
||||||
alias getclip='xclip -selection clipboard -o'
|
alias getclip='xclip -selection clipboard -o'
|
||||||
alias hello='echo "Hello :)"'
|
alias hello='echo "Hello :)"'
|
||||||
|
|
|
@ -5,7 +5,7 @@ for _, language in ipairs {
|
||||||
"html",
|
"html",
|
||||||
"cssls",
|
"cssls",
|
||||||
"clangd",
|
"clangd",
|
||||||
"denols",
|
"tsserver",
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
"solargraph",
|
"solargraph",
|
||||||
"standardrb",
|
"standardrb",
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
return function()
|
return function()
|
||||||
require('neo-tree').setup {
|
require('neo-tree').setup {
|
||||||
window = {
|
window = {
|
||||||
|
position = "right";
|
||||||
width = 25;
|
width = 25;
|
||||||
};
|
};
|
||||||
filesystem = {
|
filesystem = {
|
||||||
|
|
|
@ -2,6 +2,7 @@ return function()
|
||||||
vim.keymap.set("n", "<leader>o", "<cmd>OutlineOpen<CR><cmd>OutlineFocus<CR>", { desc = "Toggle Outline" })
|
vim.keymap.set("n", "<leader>o", "<cmd>OutlineOpen<CR><cmd>OutlineFocus<CR>", { desc = "Toggle Outline" })
|
||||||
require("outline").setup {
|
require("outline").setup {
|
||||||
outline_window = {
|
outline_window = {
|
||||||
|
position = "left";
|
||||||
width = 20;
|
width = 20;
|
||||||
relative_width = false;
|
relative_width = false;
|
||||||
};
|
};
|
||||||
|
|
15
vim/plugin/lsp.lua
Normal file
15
vim/plugin/lsp.lua
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
local config = require 'lspconfig'
|
||||||
|
|
||||||
|
local default = { on_attach = require 'lsp.attach' }
|
||||||
|
for _, language in ipairs {
|
||||||
|
"html",
|
||||||
|
"cssls",
|
||||||
|
"clangd",
|
||||||
|
"tsserver",
|
||||||
|
"lua_ls",
|
||||||
|
"solargraph",
|
||||||
|
"standardrb",
|
||||||
|
"zls",
|
||||||
|
} do
|
||||||
|
config[language].setup(default)
|
||||||
|
end
|
|
@ -1 +0,0 @@
|
||||||
lua require 'lsp.setup'
|
|
2
zshrc
2
zshrc
|
@ -16,6 +16,8 @@ setopt hist_find_no_dups
|
||||||
setopt prompt_subst
|
setopt prompt_subst
|
||||||
setopt hist_ignore_space
|
setopt hist_ignore_space
|
||||||
|
|
||||||
|
autoload -U compinit; compinit
|
||||||
|
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
||||||
which task > /dev/null && which jq > /dev/null
|
which task > /dev/null && which jq > /dev/null
|
||||||
|
|
Loading…
Reference in a new issue