From 0762b5b89604b76242fa9f27f703db542f76e6c8 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 23 Dec 2021 21:56:38 +0100 Subject: [PATCH] Chaned some settings --- nvim/.config/nvim/init.vim | 7 ++++--- nvim/.config/nvim/lua/plugins.lua | 18 ++++++++++-------- zsh/.zcompcache/docker_subcommands | 2 +- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index c40d339..6e7dab9 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -51,7 +51,7 @@ set updatetime=300 set noshowmode " Keybindings -map :NERDTreeToggle +map :NERDTreeToggle map :TmuxNavigateLeft map :TmuxNavigateDown map :TmuxNavigateUp @@ -61,8 +61,8 @@ map :bp map 10j map 10k map :Bdelete -map :call ToggleQuickfixList() -map :noh +map :call ToggleQuickfixList() +map :noh inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" @@ -72,6 +72,7 @@ imap pumvisible() ? "\\" : "delimitMateCR" nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers +nnoremap lc Telescope lsp_code_actions map ln :lua vim.lsp.diagnostic.goto_next() map lp :lua vim.lsp.diagnostic.goto_prev() map ll :lua vim.lsp.buf. diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 97b8a39..94dd820 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -35,13 +35,15 @@ require('packer').startup(function() use 'hrsh7th/cmp-buffer' -- LSP source for buffer use 'saadparwaiz1/cmp_luasnip' -- Snippets source for nvim-cmp use 'L3MON4D3/LuaSnip' -- Snippets plugin - use 'ray-x/lsp_signature.nvim' + -- use 'ray-x/lsp_signature.nvim' use 'leafgarland/typescript-vim' use 'peitalin/vim-jsx-typescript' use 'cespare/vim-toml' end) +require('telescope').setup{ defaults = { file_ignore_patterns = { "node_module" } } } + local nvim_lsp = require('lspconfig') -- Add additional capabilities supported by nvim-cmp @@ -75,13 +77,13 @@ vim.fn.sign_define("LspDiagnosticsSignWarning", { text="" }) vim.fn.sign_define("LspDiagnosticsSignInformation", { text="" }) vim.fn.sign_define("LspDiagnosticsSignHint", { text="" }) -require 'lsp_signature'.setup({ - bind = true, - hint_enable = false, - handler_opts = { - border = "none" - } -}) +-- require 'lsp_signature'.setup({ +-- bind = true, +-- hint_enable = false, +-- handler_opts = { +-- border = "none" +-- } +-- }) -- Set completeopt to have a better completion experience vim.o.completeopt = 'menuone,noselect' diff --git a/zsh/.zcompcache/docker_subcommands b/zsh/.zcompcache/docker_subcommands index 23b011c..9c7e771 100644 --- a/zsh/.zcompcache/docker_subcommands +++ b/zsh/.zcompcache/docker_subcommands @@ -1,4 +1,4 @@ _docker_subcommands=( ${(Q)"${(z)$(<<\EO:_docker_subcommands -'app*:Docker App (Docker Inc., v0.9.1-beta3)' 'builder:Manage builds' 'buildx*:Build with BuildKit (Docker Inc., v0.5.1-tp-docker)' 'config:Manage Docker configs' 'container:Manage containers' 'context:Manage contexts' 'image:Manage images' 'manifest:Manage Docker image manifests and manifest lists' 'network:Manage networks' 'node:Manage Swarm nodes' 'plugin:Manage plugins' 'secret:Manage Docker secrets' 'service:Manage services' 'stack:Manage Docker stacks' 'swarm:Manage Swarm' 'system:Manage Docker' 'trust:Manage trust on Docker images' 'volume:Manage volumes' 'attach:Attach local standard input, output, and error streams to a running container' 'build:Build an image from a Dockerfile' 'commit:Create a new image from a container''s changes' 'cp:Copy files/folders between a container and the local filesystem' 'create:Create a new container' 'diff:Inspect changes to files or directories on a container''s filesystem' 'events:Get real time events from the server' 'exec:Run a command in a running container' 'export:Export a container''s filesystem as a tar archive' 'history:Show the history of an image' 'images:List images' 'import:Import the contents from a tarball to create a filesystem image' 'info:Display system-wide information' 'inspect:Return low-level information on Docker objects' 'kill:Kill one or more running containers' 'load:Load an image from a tar archive or STDIN' 'login:Log in to a Docker registry' 'logout:Log out from a Docker registry' 'logs:Fetch the logs of a container' 'pause:Pause all processes within one or more containers' 'port:List port mappings or a specific mapping for the container' 'ps:List containers' 'pull:Pull an image or a repository from a registry' 'push:Push an image or a repository to a registry' 'rename:Rename a container' 'restart:Restart one or more containers' 'rm:Remove one or more containers' 'rmi:Remove one or more images' 'run:Run a command in a new container' 'save:Save one or more images to a tar archive (streamed to STDOUT by default)' 'search:Search the Docker Hub for images' 'start:Start one or more stopped containers' 'stats:Display a live stream of container(s) resource usage statistics' 'stop:Stop one or more running containers' 'tag:Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE' 'top:Display the running processes of a container' 'unpause:Unpause all processes within one or more containers' 'update:Update configuration of one or more containers' 'version:Show the Docker version information' 'wait:Block until one or more containers stop, then print their exit codes' 'daemon:Enable daemon mode' 'help:Show help for a command' +'builder:Manage builds' 'buildx*:Build with BuildKit (Docker Inc., v0.6.1-docker)' 'compose*:Docker Compose (Docker Inc., 2.2.0)' 'config:Manage Docker configs' 'container:Manage containers' 'context:Manage contexts' 'image:Manage images' 'manifest:Manage Docker image manifests and manifest lists' 'network:Manage networks' 'node:Manage Swarm nodes' 'plugin:Manage plugins' 'secret:Manage Docker secrets' 'service:Manage services' 'stack:Manage Docker stacks' 'swarm:Manage Swarm' 'system:Manage Docker' 'trust:Manage trust on Docker images' 'volume:Manage volumes' 'attach:Attach local standard input, output, and error streams to a running container' 'build:Build an image from a Dockerfile' 'commit:Create a new image from a container''s changes' 'cp:Copy files/folders between a container and the local filesystem' 'create:Create a new container' 'diff:Inspect changes to files or directories on a container''s filesystem' 'events:Get real time events from the server' 'exec:Run a command in a running container' 'export:Export a container''s filesystem as a tar archive' 'history:Show the history of an image' 'images:List images' 'import:Import the contents from a tarball to create a filesystem image' 'info:Display system-wide information' 'inspect:Return low-level information on Docker objects' 'kill:Kill one or more running containers' 'load:Load an image from a tar archive or STDIN' 'login:Log in to a Docker registry' 'logout:Log out from a Docker registry' 'logs:Fetch the logs of a container' 'pause:Pause all processes within one or more containers' 'port:List port mappings or a specific mapping for the container' 'ps:List containers' 'pull:Pull an image or a repository from a registry' 'push:Push an image or a repository to a registry' 'rename:Rename a container' 'restart:Restart one or more containers' 'rm:Remove one or more containers' 'rmi:Remove one or more images' 'run:Run a command in a new container' 'save:Save one or more images to a tar archive (streamed to STDOUT by default)' 'search:Search the Docker Hub for images' 'start:Start one or more stopped containers' 'stats:Display a live stream of container(s) resource usage statistics' 'stop:Stop one or more running containers' 'tag:Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE' 'top:Display the running processes of a container' 'unpause:Unpause all processes within one or more containers' 'update:Update configuration of one or more containers' 'version:Show the Docker version information' 'wait:Block until one or more containers stop, then print their exit codes' 'daemon:Enable daemon mode' 'help:Show help for a command' EO:_docker_subcommands )}"} )