Merge branch 'main' of github.com:d0zingcat/dotfiles into main

This commit is contained in:
Lee Tang
2022-03-30 17:29:14 +08:00
4 changed files with 20 additions and 15 deletions

View File

@@ -25,6 +25,8 @@ brew "coreutils"
brew "ctags", link: false
brew "dosbox"
brew "dpkg"
brew "exa"
brew "fd"
brew "fzf"
brew "gcc"
brew "gh"
@@ -61,8 +63,9 @@ brew "luarocks"
brew "lzlib"
brew "maven"
brew "minikube"
brew "mongosh"
brew "protobuf"
brew "mosh"
brew "mosh", args: ["HEAD"]
brew "mysql"
brew "neofetch"
brew "neovim"
@@ -89,6 +92,7 @@ brew "socat"
brew "sshuttle"
brew "starship"
brew "stylua"
brew "syncthing", restart_service: true
brew "telnet"
brew "the_silver_searcher"
brew "thrift"

View File

@@ -153,8 +153,6 @@ map('i', '<F1>', '<nop>')
-- map('n', '<leader>e', '1<c-w>w')
-- map('n', '<leader>p', ':wincmd p<CR>')
--" Plug 'airblade/vim-gitgutter'
map('i', '<C-e>', 'copilot#Accept()', { expr = true })
vim.g.copilot_no_tab_map = 1
vim.g.copilot_no_maps = 1
@@ -162,23 +160,11 @@ vim.g.copilot_assume_mapped = 1
require('plugins')
-- Plug settings
-- map("n", "<space>e", ":NvimTreeToggle<CR>", {noremap = false})
-- map("n", "<space>R", ":NvimTreeRefresh<CR>", {noremap = false})
-- Neoformat
if not fn.executable('luafmt') then
cmd([[ :!npm install -g lua-fmt]])
end
-- todo-comments
-- require("todo-comments").setup {}
-- spaceline
g['spaceline_seperate_style'] = 'arrow'
g['spaceline_colorscheme'] = 'one'
-- barbar
local opts = { noremap = true, silent = true }
map('n', '=', ':BufferPick<CR>', opts)

View File

@@ -5,6 +5,7 @@ return {
schemas = {
['https://json.schemastore.org/github-workflow.json'] = '/.github/workflows/*',
Kubernetes = { '/*k8s.yaml', '/*k8s.yml' },
--['https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.0-standalone-strict/all.json'] = '/*.k8s.yaml',
},
},
},

File diff suppressed because one or more lines are too long