From 682697c1855e0abfd6609263415d8e23d524dcd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Fri, 5 Nov 2021 10:56:28 +0100 Subject: [PATCH] Add more DAP config --- symlinks/config/.gitignore | 4 + symlinks/config/nvim/after/ftplugin/mint.vim | 2 + symlinks/config/nvim/lua/init/plugins.lua | 4 + symlinks/config/nvim/plugin/dap.lua | 44 +--- .../config/nvim/plugin/packer_compiled.lua | 240 +++++++++++++----- symlinks/config/nvim/plugin/statusline.vim | 3 + symlinks/config/qalculate/.gitignore | 1 + symlinks/config/qalculate/qalc.cfg | 76 ++++++ symlinks/config/tridactyl/tridactylrc | 1 + symlinks/ideavimrc | 1 + 10 files changed, 280 insertions(+), 96 deletions(-) create mode 100644 symlinks/config/nvim/after/ftplugin/mint.vim create mode 100644 symlinks/config/qalculate/.gitignore create mode 100644 symlinks/config/qalculate/qalc.cfg create mode 100644 symlinks/config/tridactyl/tridactylrc diff --git a/symlinks/config/.gitignore b/symlinks/config/.gitignore index c2d36a6..1e0337a 100644 --- a/symlinks/config/.gitignore +++ b/symlinks/config/.gitignore @@ -78,3 +78,7 @@ geary goa-1.0 touchegg exercism +evince +gedit +gnome-control-center +nautilus diff --git a/symlinks/config/nvim/after/ftplugin/mint.vim b/symlinks/config/nvim/after/ftplugin/mint.vim new file mode 100644 index 0000000..fa15b9a --- /dev/null +++ b/symlinks/config/nvim/after/ftplugin/mint.vim @@ -0,0 +1,2 @@ +setlocal ts=2 sts=2 sw=2 expandtab autoindent +let b:undo_ftplugin .= '|setlocal ts< sts< sw< expandtab< autoindent<' diff --git a/symlinks/config/nvim/lua/init/plugins.lua b/symlinks/config/nvim/lua/init/plugins.lua index a68f209..41f6566 100644 --- a/symlinks/config/nvim/lua/init/plugins.lua +++ b/symlinks/config/nvim/lua/init/plugins.lua @@ -42,8 +42,12 @@ return require('packer').startup { use 'dense-analysis/ale' -- Asynchronous Lint Engine - used for linting, not for LSP use 'nathunsmitty/nvim-ale-diagnostic' -- Neovim LSP + ALE integration use 'mfussenegger/nvim-dap' -- Debug Adapter Protocol + use 'rcarriga/nvim-dap-ui' -- UI components for DAP use 'theHamsta/nvim-dap-virtual-text' -- Virtual text display for DAP use 'diepm/vim-rest-console' -- REST console for vim + use 'Pocco81/DAPInstall.nvim' -- Easy DAP configuration + use 'jamestthompson3/nvim-remote-containers' -- devcontainer.json support + use 'jbyuki/one-small-step-for-vimkind' -- Debugger for Nvim-Lua -- Snippets -- if vim.g.loaded_python3_provider ~= 0 -- diff --git a/symlinks/config/nvim/plugin/dap.lua b/symlinks/config/nvim/plugin/dap.lua index 1e369ec..2d073e6 100644 --- a/symlinks/config/nvim/plugin/dap.lua +++ b/symlinks/config/nvim/plugin/dap.lua @@ -3,45 +3,18 @@ ------------------------------------------------------------------------------- local dap = require('dap') +local dap_install = require('dap-install') -dap.adapters.python = { - type = 'executable'; - command = 'python'; - args = { '-m', 'debugpy.adapter' }; -} +local dbg_list = require("dap-install.api.debuggers").get_installed_debuggers() -dap.configurations.python = { - { - -- The first three options are required by nvim-dap - type = 'python'; -- the type here established the link to the adapter definition: `dap.adapters.python` - request = 'launch'; - name = "Launch file"; +for _, debugger in ipairs(dbg_list) do + dap_install.config(debugger) +end - - program = "${file}"; -- This configuration will launch the current file if used. - }, -} - -local netcoredbg_bin = vim.fn.glob('$HOME') .. "/dap/netcoredbg/netcoredbg" -dap.adapters.netcoredbg = { - type = 'executable', - command = netcoredbg_bin, - args = {'--interpreter=vscode'} -} - -dap.configurations.cs = { - { - type = "netcoredbg", - name = "launch - netcoredbg", - request = "launch", - program = function() - return vim.fn.input('Path to dll', vim.fn.getcwd() .. '/bin/Debug/', 'file') - end, - }, -} +vim.cmd [[ au FileType dap-repl lua require('dap.ext.autocompl').attach() ]] -- Nvim DAP Treesitter integration -vim.g.dap_virtual_text = true +require("nvim-dap-virtual-text").setup() -- Keymaps local function set_keymap(...) vim.api.nvim_set_keymap(...) end @@ -53,6 +26,9 @@ set_keymap('n', 'dso', "lua require'dap'.step_over()", default_ set_keymap('n', 'dsi', "lua require'dap'.step_into()", default_opts) set_keymap('n', 'dro', "lua require'dap'.open()", default_opts) +-- Nvim DAP UI +require("dapui").setup() + -- Debugger Hover map local api = vim.api local keymap_restore = {} diff --git a/symlinks/config/nvim/plugin/packer_compiled.lua b/symlinks/config/nvim/plugin/packer_compiled.lua index 735b8e7..aecbbda 100644 --- a/symlinks/config/nvim/plugin/packer_compiled.lua +++ b/symlinks/config/nvim/plugin/packer_compiled.lua @@ -69,247 +69,363 @@ end time([[try_loadstring definition]], false) time([[Defining packer_plugins]], true) _G.packer_plugins = { + ["DAPInstall.nvim"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/DAPInstall.nvim", + url = "https://github.com/Pocco81/DAPInstall.nvim" + }, ale = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/ale" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/ale", + url = "https://github.com/dense-analysis/ale" }, ["astronauta.nvim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/astronauta.nvim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/astronauta.nvim", + url = "https://github.com/tjdevries/astronauta.nvim" + }, + ["cmp-buffer"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-buffer", + url = "https://github.com/hrsh7th/cmp-buffer" + }, + ["cmp-nvim-lsp"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", + url = "https://github.com/hrsh7th/cmp-nvim-lsp" + }, + ["cmp-nvim-lua"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", + url = "https://github.com/hrsh7th/cmp-nvim-lua" + }, + ["cmp-nvim-ultisnips"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-nvim-ultisnips", + url = "https://github.com/quangnguyen30192/cmp-nvim-ultisnips" + }, + ["cmp-path"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-path", + url = "https://github.com/hrsh7th/cmp-path" }, ["direnv.vim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/direnv.vim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/direnv.vim", + url = "https://github.com/direnv/direnv.vim" + }, + ["editorconfig.nvim"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/editorconfig.nvim", + url = "https://github.com/gpanders/editorconfig.nvim" }, ["flutter-tools.nvim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/flutter-tools.nvim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/flutter-tools.nvim", + url = "https://github.com/akinsho/flutter-tools.nvim" }, ["lsp_extensions.nvim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/lsp_extensions.nvim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/lsp_extensions.nvim", + url = "https://github.com/nvim-lua/lsp_extensions.nvim" }, ["nlua.nvim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nlua.nvim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nlua.nvim", + url = "https://github.com/tjdevries/nlua.nvim" }, ["nvim-ale-diagnostic"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-ale-diagnostic" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-ale-diagnostic", + url = "https://github.com/nathunsmitty/nvim-ale-diagnostic" }, - ["nvim-compe"] = { + ["nvim-cmp"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-compe" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-cmp", + url = "https://github.com/hrsh7th/nvim-cmp" }, ["nvim-dap"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap", + url = "https://github.com/mfussenegger/nvim-dap" + }, + ["nvim-dap-ui"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap-ui", + url = "https://github.com/rcarriga/nvim-dap-ui" }, ["nvim-dap-virtual-text"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap-virtual-text" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap-virtual-text", + url = "https://github.com/theHamsta/nvim-dap-virtual-text" }, ["nvim-jdtls"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-jdtls" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-jdtls", + url = "https://github.com/mfussenegger/nvim-jdtls" }, ["nvim-lspconfig"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-lspconfig" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + url = "https://github.com/neovim/nvim-lspconfig" }, ["nvim-lspupdate"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-lspupdate" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-lspupdate", + url = "https://github.com/alexaandru/nvim-lspupdate" + }, + ["nvim-remote-containers"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-remote-containers", + url = "https://github.com/jamestthompson3/nvim-remote-containers" }, ["nvim-treesitter"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-treesitter" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + url = "https://github.com/nvim-treesitter/nvim-treesitter" + }, + ["one-small-step-for-vimkind"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/one-small-step-for-vimkind", + url = "https://github.com/jbyuki/one-small-step-for-vimkind" }, ["packer.nvim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/packer.nvim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/packer.nvim", + url = "https://github.com/wbthomason/packer.nvim" }, ["phoenix.vim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/phoenix.vim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/phoenix.vim", + url = "https://github.com/c-brenn/phoenix.vim" }, playground = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/playground" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/playground", + url = "https://github.com/nvim-treesitter/playground" }, ["plenary.nvim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/plenary.nvim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/plenary.nvim", + url = "https://github.com/nvim-lua/plenary.nvim" }, ["popup.nvim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/popup.nvim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/popup.nvim", + url = "https://github.com/nvim-lua/popup.nvim" }, tabular = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/tabular" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/tabular", + url = "https://github.com/godlygeek/tabular" }, ["targets.vim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/targets.vim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/targets.vim", + url = "https://github.com/wellle/targets.vim" }, ["telescope-dap.nvim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim", + url = "https://github.com/nvim-telescope/telescope-dap.nvim" }, ["telescope.nvim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/telescope.nvim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/telescope.nvim", + url = "https://github.com/nvim-telescope/telescope.nvim" }, ultisnips = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/ultisnips" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/ultisnips", + url = "https://github.com/SirVer/ultisnips" }, undotree = { commands = { "UndotreeToggle" }, loaded = false, needs_bufread = false, - path = "/home/ensar/.local/share/nvim/site/pack/packer/opt/undotree" + only_cond = false, + path = "/home/ensar/.local/share/nvim/site/pack/packer/opt/undotree", + url = "https://github.com/mbbill/undotree" }, ["utl.vim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/utl.vim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/utl.vim", + url = "https://github.com/vim-scripts/utl.vim" }, ["vim-colorschemes"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-colorschemes" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-colorschemes", + url = "https://github.com/flazz/vim-colorschemes" }, ["vim-commentary"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-commentary" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-commentary", + url = "https://github.com/tpope/vim-commentary" }, ["vim-dadbod"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dadbod" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dadbod", + url = "https://github.com/tpope/vim-dadbod" }, ["vim-dadbod-ui"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dadbod-ui" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dadbod-ui", + url = "https://github.com/kristijanhusak/vim-dadbod-ui" }, ["vim-devdocs"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-devdocs" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-devdocs", + url = "https://github.com/romainl/vim-devdocs" }, ["vim-dispatch"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dispatch" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dispatch", + url = "https://github.com/tpope/vim-dispatch" }, ["vim-dispatch-neovim"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dispatch-neovim" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dispatch-neovim", + url = "https://github.com/radenling/vim-dispatch-neovim" }, ["vim-docile"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-docile" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-docile", + url = "https://github.com/tandrewnichols/vim-docile" }, ["vim-endwise"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-endwise" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-endwise", + url = "https://github.com/tpope/vim-endwise" }, ["vim-fireplace"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-fireplace" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-fireplace", + url = "https://github.com/tpope/vim-fireplace" }, ["vim-fugitive"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-fugitive" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-fugitive", + url = "https://github.com/tpope/vim-fugitive" }, ["vim-gitgutter"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-gitgutter" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-gitgutter", + url = "https://github.com/airblade/vim-gitgutter" }, ["vim-godot"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-godot" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-godot", + url = "https://github.com/habamax/vim-godot" }, ["vim-grepper"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-grepper" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-grepper", + url = "https://github.com/mhinz/vim-grepper" }, ["vim-ledger"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-ledger" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-ledger", + url = "https://github.com/ledger/vim-ledger" }, ["vim-obsession"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-obsession" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-obsession", + url = "https://github.com/tpope/vim-obsession" }, ["vim-polyglot"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-polyglot" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-polyglot", + url = "https://github.com/sheerun/vim-polyglot" }, ["vim-projectionist"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-projectionist" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-projectionist", + url = "https://github.com/tpope/vim-projectionist" }, ["vim-qf"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-qf" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-qf", + url = "https://github.com/romainl/vim-qf" }, ["vim-rails"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-rails" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-rails", + url = "https://github.com/tpope/vim-rails" }, ["vim-repeat"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-repeat" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-repeat", + url = "https://github.com/tpope/vim-repeat" + }, + ["vim-rest-console"] = { + loaded = true, + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-rest-console", + url = "https://github.com/diepm/vim-rest-console" }, ["vim-salve"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-salve" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-salve", + url = "https://github.com/tpope/vim-salve" }, ["vim-sensible"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sensible" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sensible", + url = "https://github.com/tpope/vim-sensible" }, ["vim-sexp"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sexp" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sexp", + url = "https://github.com/guns/vim-sexp" }, ["vim-sexp-mappings-for-regular-people"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sexp-mappings-for-regular-people" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sexp-mappings-for-regular-people", + url = "https://github.com/tpope/vim-sexp-mappings-for-regular-people" }, ["vim-sleuth"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sleuth" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sleuth", + url = "https://github.com/tpope/vim-sleuth" }, ["vim-snippets"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-snippets" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-snippets", + url = "https://github.com/honza/vim-snippets" }, ["vim-speeddating"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-speeddating" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-speeddating", + url = "https://github.com/tpope/vim-speeddating" }, ["vim-surround"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-surround" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-surround", + url = "https://github.com/tpope/vim-surround" }, ["vim-test"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-test" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-test", + url = "https://github.com/vim-test/vim-test" }, ["vim-unimpaired"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-unimpaired" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-unimpaired", + url = "https://github.com/tpope/vim-unimpaired" }, ["vim-vinegar"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-vinegar" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-vinegar", + url = "https://github.com/tpope/vim-vinegar" }, vimwiki = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vimwiki" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vimwiki", + url = "https://github.com/vimwiki/vimwiki" }, ["vimwiki-reviews-lua"] = { loaded = true, - path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vimwiki-reviews-lua" + path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vimwiki-reviews-lua", + url = "https://github.com/esensar/vimwiki-reviews-lua" } } @@ -317,7 +433,7 @@ time([[Defining packer_plugins]], false) -- Command lazy-loads time([[Defining lazy-load commands]], true) -pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file UndotreeToggle lua require("packer.load")({'undotree'}, { cmd = "UndotreeToggle", l1 = , l2 = , bang = , args = }, _G.packer_plugins)]]) +pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file UndotreeToggle lua require("packer.load")({'undotree'}, { cmd = "UndotreeToggle", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) time([[Defining lazy-load commands]], false) if should_profile then save_profiles() end diff --git a/symlinks/config/nvim/plugin/statusline.vim b/symlinks/config/nvim/plugin/statusline.vim index 13e5f49..f0f98c6 100644 --- a/symlinks/config/nvim/plugin/statusline.vim +++ b/symlinks/config/nvim/plugin/statusline.vim @@ -171,6 +171,9 @@ function GetStatusLine() let l:status_line_left .= "%2*" . l:coc_status . "%*" endif endif + if exists('g:currentContainer') + let l:status_line_left .= "%5*" . g:currentContainer . "%*" + endif let l:status_line_right = "%= " " Align right statusline if exists('g:loaded_ale') let l:status_line_right .= s:LinterStatus() " ALE status diff --git a/symlinks/config/qalculate/.gitignore b/symlinks/config/qalculate/.gitignore new file mode 100644 index 0000000..a0d6f8a --- /dev/null +++ b/symlinks/config/qalculate/.gitignore @@ -0,0 +1 @@ +qalc.history diff --git a/symlinks/config/qalculate/qalc.cfg b/symlinks/config/qalculate/qalc.cfg new file mode 100644 index 0000000..43940c2 --- /dev/null +++ b/symlinks/config/qalculate/qalc.cfg @@ -0,0 +1,76 @@ + +[General] +version=3.3.0 +save_mode_on_exit=1 +save_definitions_on_exit=1 +ignore_locale=0 +auto_update_exchange_rates=-1 +spacious=1 +excessive_parenthesis=0 +short_multiplication=1 +use_unicode_signs=0 +lower_case_numbers=0 +lower_case_e=0 +base_display=1 +twos_complement=1 +hexadecimal_twos_complement=0 +spell_out_logical_operators=1 +digit_grouping=0 +decimal_comma=-1 +dot_as_separator=0 +comma_as_separator=0 +multiplication_sign=0 +division_sign=0 + +[Mode] +min_deci=0 +use_min_deci=0 +max_deci=2 +use_max_deci=0 +precision=8 +interval_arithmetic=1 +interval_display=0 +min_exp=-1 +negative_exponents=0 +sort_minus_last=1 +number_fraction_format=0 +complex_number_form=0 +use_prefixes=1 +use_prefixes_for_all_units=0 +use_prefixes_for_currencies=0 +abbreviate_names=1 +all_prefixes_enabled=0 +denominator_prefix_enabled=1 +place_units_separately=1 +auto_post_conversion=3 +mixed_units_conversion=3 +local_currency_conversion=1 +number_base=10 +number_base_expression=10 +read_precision=0 +assume_denominators_nonzero=1 +warn_about_denominators_assumed_nonzero=1 +structuring=1 +angle_unit=1 +caret_as_xor=0 +functions_enabled=1 +variables_enabled=1 +calculate_variables=1 +calculate_functions=1 +variable_units_enabled=1 +sync_units=1 +unknownvariables_enabled=0 +units_enabled=1 +allow_complex=1 +allow_infinite=1 +indicate_infinite_series=0 +show_ending_zeroes=1 +round_halfway_to_even=0 +approximation=1 +interval_calculation=1 +in_rpn_mode=0 +rpn_syntax=0 +limit_implicit_multiplication=0 +parsing_mode=0 +default_assumption_type=4 +default_assumption_sign=0 diff --git a/symlinks/config/tridactyl/tridactylrc b/symlinks/config/tridactyl/tridactylrc new file mode 100644 index 0000000..7b1cf40 --- /dev/null +++ b/symlinks/config/tridactyl/tridactylrc @@ -0,0 +1 @@ +" Trydactyl (Firefox VIM addon) config file diff --git a/symlinks/ideavimrc b/symlinks/ideavimrc index 8e0a01e..6d13d09 100644 --- a/symlinks/ideavimrc +++ b/symlinks/ideavimrc @@ -42,3 +42,4 @@ command! Gpro action Github.Create.Pull.Request command! Gblame action Annotate command! TODO action ActivateTODOToolWindow command! te action ActivateTerminalToolWindow +command! Sync action Android.SyncProject \ No newline at end of file