Compare commits

..

5 commits

7 changed files with 21 additions and 2 deletions

View file

@ -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 :)"'

View file

@ -5,7 +5,7 @@ for _, language in ipairs {
"html", "html",
"cssls", "cssls",
"clangd", "clangd",
"denols", "tsserver",
"lua_ls", "lua_ls",
"solargraph", "solargraph",
"standardrb", "standardrb",

View file

@ -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 = {

View file

@ -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
View 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

View file

@ -1 +0,0 @@
lua require 'lsp.setup'

2
zshrc
View file

@ -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