commit 6f26737ed1c0b71100841a5427832d5f0add0183
parent 0d9e316168bcb1559c9b4aab3d5efb053c049a3e
Author: Tomas Nemec <nemi@skaut.cz>
Date: Fri, 5 Nov 2021 23:15:29 +0100
update
Diffstat:
8 files changed, 1260 insertions(+), 501 deletions(-)
diff --git a/init.lua b/init.lua
@@ -4,13 +4,9 @@ if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
vim.api.nvim_command('!git clone https://github.com/wbthomason/packer.nvim ' .. install_path)
end
+-- Meta setup
vim.cmd [[runtime plugin/astronauta.vim]]
-
-local colors = require('tms.colors')
-vim.g.mapleader = ','
-vim.cmd('syntax enable')
-vim.opt.background = colors.get_theme() or 'dark'
-vim.cmd('colorscheme ' .. (colors.get_scheme() or 'solarized'))
+require('impatient')
-- disable netrw
vim.g.loaded_netrw = true
@@ -63,12 +59,28 @@ vim.opt.scrolloff = 5
vim.opt.sidescrolloff = 5
vim.opt.signcolumn = 'yes:1'
+-- Load plugins
+require('tms.plugins')
+if vim.fn.empty(vim.fn.glob(vim.fn.stdpath('config') .. '/lua/packer_compiled.lua')) > 0 then
+ vim.cmd [[PackerCompile]]
+else
+ require('packer_compiled')
+end
+
+-- Colorscheme
+local colors = require('tms.colors')
+vim.cmd('syntax enable')
+vim.opt.background = colors.get_theme() or 'dark'
+vim.cmd('colorscheme ' .. (colors.get_scheme() or 'solarized'))
+require('tms.colors').setup()
+
-- MAPPINGS
local nmap = vim.keymap.nmap
local nnoremap = vim.keymap.nnoremap
local tnoremap = vim.keymap.tnoremap
local vnoremap = vim.keymap.vnoremap
local inoremap = vim.keymap.inoremap
+vim.g.mapleader = ','
-- forget visual
nmap {'Q', '<nop>'}
-- kb.nnoremap('<tab>', 'za')
@@ -129,9 +141,6 @@ nnoremap {'zk', 'zc'}
nnoremap {'zK', 'zC'}
nnoremap {'zl', 'zr'}
nnoremap {'zL', 'zR'}
--- add space
-nmap {'><space>', ']<space>'}
-nmap {'<<space>', '[<space>'}
-- copy / paste
vnoremap {'<c-c>', '\"*y'}
inoremap {'<c-v>', '<esc>lmv\"*P`v'}
diff --git a/lua/packer_compiled.lua b/lua/packer_compiled.lua
@@ -0,0 +1,752 @@
+-- Automatically generated packer.nvim plugin loader code
+
+if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then
+ vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')
+ return
+end
+
+vim.api.nvim_command('packadd packer.nvim')
+
+local no_errors, error_msg = pcall(function()
+
+ local time
+ local profile_info
+ local should_profile = false
+ if should_profile then
+ local hrtime = vim.loop.hrtime
+ profile_info = {}
+ time = function(chunk, start)
+ if start then
+ profile_info[chunk] = hrtime()
+ else
+ profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6
+ end
+ end
+ else
+ time = function(chunk, start) end
+ end
+
+local function save_profiles(threshold)
+ local sorted_times = {}
+ for chunk_name, time_taken in pairs(profile_info) do
+ sorted_times[#sorted_times + 1] = {chunk_name, time_taken}
+ end
+ table.sort(sorted_times, function(a, b) return a[2] > b[2] end)
+ local results = {}
+ for i, elem in ipairs(sorted_times) do
+ if not threshold or threshold and elem[2] > threshold then
+ results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms'
+ end
+ end
+
+ _G._packer = _G._packer or {}
+ _G._packer.profile_output = results
+end
+
+time([[Luarocks path setup]], true)
+local package_path_str = "/home/tms/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/tms/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/tms/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/tms/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
+local install_cpath_pattern = "/home/tms/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
+if not string.find(package.path, package_path_str, 1, true) then
+ package.path = package.path .. ';' .. package_path_str
+end
+
+if not string.find(package.cpath, install_cpath_pattern, 1, true) then
+ package.cpath = package.cpath .. ';' .. install_cpath_pattern
+end
+
+time([[Luarocks path setup]], false)
+time([[try_loadstring definition]], true)
+local function try_loadstring(s, component, name)
+ local success, result = pcall(loadstring(s))
+ if not success then
+ vim.schedule(function()
+ vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})
+ end)
+ end
+ return result
+end
+
+time([[try_loadstring definition]], false)
+time([[Defining packer_plugins]], true)
+_G.packer_plugins = {
+ ["Comment.nvim"] = {
+ config = { "\27LJ\2\nr\0\1\5\0\4\0\t6\1\0\0'\3\1\0B\1\2\0029\1\2\1B\1\1\0026\2\3\0\18\4\1\0B\2\2\1L\1\2\0\tdump\28calculate_commentstring&ts_context_commentstring.internal\frequireN\1\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0003\3\3\0=\3\5\2B\0\2\1K\0\1\0\rpre_hook\1\0\0\0\nsetup\fComment\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/Comment.nvim",
+ url = "https://github.com/numToStr/Comment.nvim"
+ },
+ LuaSnip = {
+ config = { "\27LJ\2\n;\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\18tms.p.luasnip\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/LuaSnip",
+ url = "https://github.com/L3MON4D3/LuaSnip"
+ },
+ ["actions.nvim"] = {
+ config = { "\27LJ\2\n;\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\18tms.p.actions\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/actions.nvim",
+ url = "https://github.com/amirrezaask/actions.nvim"
+ },
+ ["animate.vim"] = {
+ config = { "\27LJ\2\n\5\0\0\3\0\r\0-6\0\0\0009\0\1\0'\2\2\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\5\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\6\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\a\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\b\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\t\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\n\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\v\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\f\0B\0\2\1K\0\1\0\1\3\1\0\14<s-right>,:call animate#window_delta_width(1)<cr>\vsilent\2\1\3\1\0\r<s-left>-:call animate#window_delta_width(-1)<cr>\vsilent\2\1\3\1\0\r<s-down>.:call animate#window_delta_height(-1)<cr>\vsilent\2\1\3\1\0\v<s-up>-:call animate#window_delta_height(1)<cr>\vsilent\2\1\3\1\0\14<c-right>-:call animate#window_delta_width(10)<cr>\vsilent\2\1\3\1\0\r<c-left>.:call animate#window_delta_width(-10)<cr>\vsilent\2\1\3\1\0\r<c-down>/:call animate#window_delta_height(-10)<cr>\vsilent\2\1\3\1\0\v<c-up>.:call animate#window_delta_height(10)<cr>\vsilent\2\tnmap\vkeymap#let g:animate#duration = 100.0\bcmd\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/animate.vim",
+ url = "https://github.com/camspiers/animate.vim"
+ },
+ ["astronauta.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/astronauta.nvim",
+ url = "https://github.com/tjdevries/astronauta.nvim"
+ },
+ ["beacon.nvim"] = {
+ config = { "\27LJ\2\n\1\0\0\3\0\b\0\0156\0\0\0009\0\1\0005\1\3\0=\1\2\0006\0\0\0009\0\4\0009\0\5\0005\2\6\0B\0\2\0016\0\0\0009\0\4\0009\0\5\0005\2\a\0B\0\2\1K\0\1\0\1\3\0\0\6#\17#:Beacon<cr>\1\3\0\0\6*\17*:Beacon<cr>\tnmap\vkeymap\1\2\0\0\tvifm\28beacon_ignore_filetypes\6g\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/beacon.nvim",
+ url = "https://github.com/danilamihailov/beacon.nvim"
+ },
+ ["bez-diakritiky.vim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/bez-diakritiky.vim",
+ url = "https://github.com/xxdavid/bez-diakritiky.vim"
+ },
+ ["cmp-buffer"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/cmp-buffer",
+ url = "https://github.com/hrsh7th/cmp-buffer"
+ },
+ ["cmp-calc"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/cmp-calc",
+ url = "https://github.com/hrsh7th/cmp-calc"
+ },
+ ["cmp-dictionary"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/cmp-dictionary",
+ url = "https://github.com/uga-rosa/cmp-dictionary"
+ },
+ ["cmp-nvim-lsp"] = {
+ loaded = true,
+ path = "/home/tms/.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/tms/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua",
+ url = "https://github.com/hrsh7th/cmp-nvim-lua"
+ },
+ ["cmp-path"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/cmp-path",
+ url = "https://github.com/hrsh7th/cmp-path"
+ },
+ ["cmp-spell"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/cmp-spell",
+ url = "https://github.com/f3fora/cmp-spell"
+ },
+ ["cmp-treesitter"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/cmp-treesitter",
+ url = "https://github.com/ray-x/cmp-treesitter"
+ },
+ cmp_luasnip = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
+ url = "https://github.com/saadparwaiz1/cmp_luasnip"
+ },
+ ["colorbuddy.nvim"] = {
+ load_after = {},
+ loaded = true,
+ needs_bufread = false,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/colorbuddy.nvim",
+ url = "https://github.com/tjdevries/colorbuddy.nvim"
+ },
+ ["cryoline.nvim"] = {
+ config = { "\27LJ\2\n\1\0\0\5\0\b\1\0176\0\0\0009\0\1\0009\0\2\0B\0\1\2'\1\3\0\21\2\0\0\b\2\0\0X\2\4'\2\4\0\18\3\0\0'\4\5\0&\1\4\2'\2\6\0\18\3\1\0'\4\a\0&\2\4\2L\2\2\0\22%=%-14.(%l,%c%V%)\14%f %h%m%r\6]\6[\5\17FugitiveHead\afn\bvim\0{\1\0\4\0\b\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\0023\3\6\0=\3\a\2B\0\2\1K\0\1\0\tline\0\aft\1\0\0\1\0\1\rfugitive\28%{FugitiveStatusline()}\vconfig\rcryoline\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/cryoline.nvim",
+ url = "https://github.com/jandamm/cryoline.nvim"
+ },
+ ["dart-vim-plugin"] = {
+ loaded = false,
+ needs_bufread = true,
+ only_cond = false,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/dart-vim-plugin",
+ url = "https://github.com/dart-lang/dart-vim-plugin"
+ },
+ ["diffview.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/diffview.nvim",
+ url = "https://github.com/sindrets/diffview.nvim"
+ },
+ ["emmet-vim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/emmet-vim",
+ url = "https://github.com/mattn/emmet-vim"
+ },
+ ["equal.operator"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/equal.operator",
+ url = "https://github.com/romgrk/equal.operator"
+ },
+ ["filetype.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/filetype.nvim",
+ url = "https://github.com/nathom/filetype.nvim"
+ },
+ ["git-messenger.vim"] = {
+ config = { "\27LJ\2\nX\0\0\3\0\4\0\0066\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\3\0\0\15<leader>gm\26<plug>(git-messenger)\rnnoremap\vkeymap\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/git-messenger.vim",
+ url = "https://github.com/rhysd/git-messenger.vim"
+ },
+ ["git-worktree.nvim"] = {
+ config = { "\27LJ\2\n\2\0\0\6\0\14\0$6\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\0\0'\2\3\0B\0\2\0029\0\4\0'\2\5\0B\0\2\0016\0\6\0009\0\a\0009\0\b\0005\2\t\0006\3\0\0'\5\3\0B\3\2\0029\3\n\0039\3\5\0039\3\v\3>\3\2\2B\0\2\0016\0\6\0009\0\a\0009\0\b\0005\2\f\0006\3\0\0'\5\3\0B\3\2\0029\3\n\0039\3\5\0039\3\r\3>\3\2\2B\0\2\1K\0\1\0\24create_git_worktree\1\2\0\0\14<space>wi\18git_worktrees\15extensions\1\2\0\0\14<space>wo\rnnoremap\vkeymap\bvim\17git_worktree\19load_extension\14telescope\nsetup\17git-worktree\frequire\0" },
+ load_after = {},
+ loaded = true,
+ needs_bufread = false,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/git-worktree.nvim",
+ url = "https://github.com/ThePrimeagen/git-worktree.nvim"
+ },
+ ["gitsigns.nvim"] = {
+ config = { "\27LJ\2\n\t\0\0\3\0\22\0L6\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\3\0009\0\4\0009\0\5\0005\2\6\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\a\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\b\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\t\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\n\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\v\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\f\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\r\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\14\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\15\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\16\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\17\0B\0\2\0016\0\3\0009\0\4\0009\0\18\0005\2\19\0B\0\2\0016\0\3\0009\0\4\0009\0\20\0005\2\21\0B\0\2\1K\0\1\0\1\3\0\0\aig4:<C-U>lua require(\"gitsigns\").select_hunk()<cr>\txmap\1\3\0\0\aig4:<C-U>lua require(\"gitsigns\").select_hunk()<cr>\tomap\1\3\0\0\15<leader>hn4<cmd>lua require(\"gitsigns\").toggle_numhl()<cr>\1\3\0\0\15<leader>hl5<cmd>lua require(\"gitsigns\").toggle_linehl()<cr>\1\3\0\0\15<leader>hbA<cmd>lua require(\"gitsigns\").toggle_current_line_blame()<cr>\1\3\0\0\15<leader>hp4<cmd>lua require(\"gitsigns\").preview_hunk()<cr>\1\3\0\0\15<leader>hR4<cmd>lua require(\"gitsigns\").reset_buffer()<cr>\1\3\0\0\15<leader>hr2<cmd>lua require(\"gitsigns\").reset_hunk()<cr>\1\3\0\0\15<leader>hu7<cmd>lua require(\"gitsigns\").undo_stage_hunk()<cr>\1\3\0\0\15<leader>hs2<cmd>lua require(\"gitsigns\").stage_hunk()<cr>\1\3\0\0\a<[1<cmd>lua require(\"gitsigns\").prev_hunk()<cr>\1\3\0\0\a<c1<cmd>lua require(\"gitsigns\").prev_hunk()<cr>\1\3\0\0\a>[1<cmd>lua require(\"gitsigns\").next_hunk()<cr>\1\3\0\0\a>c1<cmd>lua require(\"gitsigns\").next_hunk()<cr>\tnmap\vkeymap\bvim\nsetup\19tms.p.gitsigns\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
+ url = "https://github.com/lewis6991/gitsigns.nvim"
+ },
+ gruvbox = {
+ after = { "colorbuddy.nvim" },
+ loaded = true,
+ only_config = true
+ },
+ hiPairs = {
+ config = { "\27LJ\2\nS\0\0\2\0\4\0\t6\0\0\0009\0\1\0)\1\1\0=\1\2\0006\0\0\0009\0\1\0)\1\5\0=\1\3\0K\0\1\0\20hiPairs_timeout\22loaded_matchparen\6g\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/hiPairs",
+ url = "https://github.com/Yggdroot/hiPairs"
+ },
+ ["impatient.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/impatient.nvim",
+ url = "https://github.com/lewis6991/impatient.nvim"
+ },
+ ["lexima.vim"] = {
+ config = { "\27LJ\2\n=\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\30let b:lexima_disabled = 1\bcmd\bvim\1\1\0\5\0\n\0\r6\0\0\0009\0\1\0'\1\3\0=\1\2\0006\0\4\0'\2\5\0B\0\2\0029\0\6\0'\2\a\0005\3\b\0003\4\t\0B\0\4\1K\0\1\0\0\1\2\0\0\29FileType TelescopePrompt\20lexima_disabled\16addListener\18tms.c.autocmd\frequire\5\22lexima_map_escape\6g\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/lexima.vim",
+ url = "https://github.com/cohama/lexima.vim"
+ },
+ ["lightspeed.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/lightspeed.nvim",
+ url = "https://github.com/ggandor/lightspeed.nvim"
+ },
+ ["limelight.vim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/limelight.vim",
+ url = "https://github.com/junegunn/limelight.vim"
+ },
+ ["lsp-trouble.nvim"] = {
+ config = { "\27LJ\2\n9\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\ftrouble\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/lsp-trouble.nvim",
+ url = "https://github.com/folke/lsp-trouble.nvim"
+ },
+ ["lua-dev.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/lua-dev.nvim",
+ url = "https://github.com/folke/lua-dev.nvim"
+ },
+ ["neoscroll.nvim"] = {
+ config = { "\27LJ\2\n\4\0\0\4\0\29\0,6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\0014\0\0\0005\1\a\0005\2\b\0>\2\2\1=\1\6\0005\1\n\0005\2\v\0>\2\2\1=\1\t\0005\1\r\0005\2\14\0>\2\2\1=\1\f\0005\1\16\0005\2\17\0>\2\2\1=\1\15\0005\1\19\0005\2\20\0>\2\2\1=\1\18\0005\1\22\0005\2\23\0>\2\2\1=\1\21\0005\1\25\0005\2\26\0>\2\2\1=\1\24\0006\1\0\0'\3\27\0B\1\2\0029\1\28\1\18\3\0\0B\1\2\1K\0\1\0\17set_mappings\21neoscroll.config\1\2\0\0\b100\1\2\0\0\azb\azb\1\2\0\0\b100\1\2\0\0\azz\azz\1\2\0\0\b100\1\2\0\0\azt\azt\1\4\0\0#vim.api.nvim_win_get_height(0)\ttrue\b100\1\2\0\0\vscroll\n<C-f>\1\4\0\0$-vim.api.nvim_win_get_height(0)\ttrue\b100\1\2\0\0\vscroll\n<C-b>\1\4\0\0\18vim.wo.scroll\ttrue\a80\1\2\0\0\vscroll\n<C-d>\1\4\0\0\19-vim.wo.scroll\ttrue\a80\1\2\0\0\vscroll\n<C-u>\rmappings\1\0\0\1\b\0\0\n<C-u>\n<C-d>\n<C-b>\n<C-f>\azt\azz\azb\nsetup\14neoscroll\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/neoscroll.nvim",
+ url = "https://github.com/karb94/neoscroll.nvim"
+ },
+ ["nette.vim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nette.vim",
+ url = "https://github.com/fpob/nette.vim"
+ },
+ ["nui.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nui.nvim",
+ url = "https://github.com/MunifTanjim/nui.nvim"
+ },
+ ["null-ls.nvim"] = {
+ config = { "\27LJ\2\nf\0\0\4\0\5\0\0146\0\0\0'\2\1\0B\0\2\0029\1\2\0004\3\0\0B\1\2\0016\1\0\0'\3\3\0B\1\2\0029\1\1\0019\1\4\0014\3\0\0B\1\2\1K\0\1\0\nsetup\14lspconfig\vconfig\fnull-ls\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/null-ls.nvim",
+ url = "https://github.com/jose-elias-alvarez/null-ls.nvim"
+ },
+ ["nvim-bqf"] = {
+ config = { "\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14tms.p.bqf\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-bqf",
+ url = "https://github.com/kevinhwang91/nvim-bqf"
+ },
+ ["nvim-cmp"] = {
+ config = { "\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14tms.p.cmp\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-cmp",
+ url = "https://github.com/hrsh7th/nvim-cmp"
+ },
+ ["nvim-colorizer.lua"] = {
+ config = { "\27LJ\2\n\1\0\0\4\0\5\0\b6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0B\0\3\1K\0\1\0\1\0\b\vcss_fn\2\bcss\2\vhsl_fn\2\vrgb_fn\2\rRRGGBBAA\2\nnames\2\vRRGGBB\2\bRGB\2\1\2\0\0\6*\nsetup\14colorizer\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua",
+ url = "https://github.com/norcalli/nvim-colorizer.lua"
+ },
+ ["nvim-dap"] = {
+ config = { "\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14tms.p.dap\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-dap",
+ url = "https://github.com/mfussenegger/nvim-dap"
+ },
+ ["nvim-dap-ui"] = {
+ config = { "\27LJ\2\n:\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\rsetup_ui\14tms.p.dap\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.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/tms/.local/share/nvim/site/pack/packer/start/nvim-dap-virtual-text",
+ url = "https://github.com/theHamsta/nvim-dap-virtual-text"
+ },
+ ["nvim-lsp-installer"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer",
+ url = "https://github.com/williamboman/nvim-lsp-installer"
+ },
+ ["nvim-lspconfig"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
+ url = "https://github.com/neovim/nvim-lspconfig"
+ },
+ ["nvim-notify"] = {
+ config = { "\27LJ\2\n\1\0\0\6\0\v\0\0216\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0006\3\0\0'\5\3\0B\3\2\2=\3\5\2B\0\2\0016\0\6\0009\0\a\0009\0\b\0005\2\t\0006\3\0\0'\5\1\0B\3\2\0029\3\n\3>\3\2\2B\0\2\1K\0\1\0\fdismiss\1\2\0\0\14<leader>N\rnnoremap\vkeymap\bvim\vstages\1\0\0\26tms.p.notify.my_stage\nsetup\vnotify\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-notify",
+ url = "https://github.com/rcarriga/nvim-notify"
+ },
+ ["nvim-solarized-lua"] = {
+ after = { "colorbuddy.nvim" },
+ loaded = true,
+ only_config = true
+ },
+ ["nvim-spectre"] = {
+ config = { "\27LJ\2\n\1\0\0\3\0\t\0\0166\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\3\0009\0\4\0009\0\5\0005\2\6\0B\0\2\0016\0\3\0009\0\4\0009\0\a\0005\2\b\0B\0\2\1K\0\1\0\1\3\0\0\14<leader>s2<cmd>lua require(\"spectre\").open_visual()<cr>\rvnoremap\1\3\0\0\14<leader>S+<cmd>lua require(\"spectre\").open()<cr>\rnnoremap\vkeymap\bvim\nsetup\18tms.p.spectre\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-spectre",
+ url = "https://github.com/windwp/nvim-spectre"
+ },
+ ["nvim-treesitter"] = {
+ config = { "\27LJ\2\n\3\0\0\4\0\17\0\0266\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0025\1\a\0005\2\4\0005\3\5\0=\3\6\2=\2\b\1=\1\3\0006\1\0\0'\3\t\0B\1\2\0029\1\n\1B\1\1\0016\1\v\0009\1\f\1'\3\r\0B\1\2\0016\1\v\0009\1\14\0019\1\15\0015\3\16\0B\1\2\1K\0\1\0\1\3\0\0\15<leader>su\24<cmd>TSHRefresh<cr>\rnnoremap\vkeymap>command! TSHRefresh execute 'write|TSBufEnable highlight'\bcmd\bvim\nsetup\21tms.p.treesitter\17install_info\1\0\0\nfiles\1\2\0\0\17src/parser.c\1\0\2\vbranch\tmain\burl5https://github.com/NTBBloodbath/tree-sitter-http\thttp\23get_parser_configs\28nvim-treesitter.parsers\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
+ url = "https://github.com/nvim-treesitter/nvim-treesitter"
+ },
+ ["nvim-treesitter-refactor"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor",
+ url = "https://github.com/nvim-treesitter/nvim-treesitter-refactor"
+ },
+ ["nvim-treesitter-textobjects"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-treesitter-textobjects",
+ url = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects"
+ },
+ ["nvim-ts-autotag"] = {
+ config = { "\27LJ\2\nA\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\20nvim-ts-autotag\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-ts-autotag",
+ url = "https://github.com/windwp/nvim-ts-autotag"
+ },
+ ["nvim-ts-context-commentstring"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-ts-context-commentstring",
+ url = "https://github.com/JoosepAlviste/nvim-ts-context-commentstring"
+ },
+ ["nvim-web-devicons"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
+ url = "https://github.com/kyazdani42/nvim-web-devicons"
+ },
+ ["packer.nvim"] = {
+ loaded = false,
+ needs_bufread = false,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/packer.nvim",
+ url = "https://github.com/wbthomason/packer.nvim"
+ },
+ playground = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/playground",
+ url = "https://github.com/nvim-treesitter/playground"
+ },
+ ["plenary.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/plenary.nvim",
+ url = "https://github.com/nvim-lua/plenary.nvim"
+ },
+ ["popup.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/popup.nvim",
+ url = "https://github.com/nvim-lua/popup.nvim"
+ },
+ ["refactoring.nvim"] = {
+ config = { "\27LJ\2\n?\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\22tms.p.refactoring\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/refactoring.nvim",
+ url = "https://github.com/ThePrimeagen/refactoring.nvim"
+ },
+ ["rest.nvim"] = {
+ config = { "\27LJ\2\n\2\0\0\3\0\b\0\0186\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\3\0009\0\4\0'\2\5\0B\0\2\0016\0\3\0009\0\4\0'\2\6\0B\0\2\0016\0\3\0009\0\4\0'\2\a\0B\0\2\1K\0\1\0007command! RestLast :lua require(\"rest-nvim\").last()=command! RestPreview :lua require(\"rest-nvim\").run(true)2command! Rest :lua require(\"rest-nvim\").run()\bcmd\bvim\nsetup\14rest-nvim\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/rest.nvim",
+ url = "https://github.com/NTBBloodbath/rest.nvim"
+ },
+ ["sideways.vim"] = {
+ config = { "\27LJ\2\n\5\0\0\3\0\18\0=6\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\4\0B\0\2\0016\0\0\0009\0\1\0009\0\5\0005\2\6\0B\0\2\0016\0\0\0009\0\1\0009\0\5\0005\2\a\0B\0\2\0016\0\0\0009\0\1\0009\0\b\0005\2\t\0B\0\2\0016\0\0\0009\0\1\0009\0\b\0005\2\n\0B\0\2\0016\0\0\0009\0\1\0009\0\5\0005\2\v\0B\0\2\0016\0\0\0009\0\1\0009\0\b\0005\2\f\0B\0\2\0016\0\0\0009\0\1\0009\0\r\0005\2\14\0B\0\2\0016\0\0\0009\0\1\0009\0\r\0005\2\15\0B\0\2\0016\0\0\0009\0\1\0009\0\r\0005\2\16\0B\0\2\0016\0\0\0009\0\1\0009\0\r\0005\2\17\0B\0\2\1K\0\1\0\1\3\0\0\15<leader>aL%<Plug>SidewaysArgumentAppendLast\1\3\0\0\15<leader>aH%<Plug>SidewaysArgumentInsertFirt\1\3\0\0\15<leader>al&<Plug>SidewaysArgumentAppendAfter\1\3\0\0\15<leader>ah'<Plug>SidewaysArgumentInsertBefore\tnmap\1\3\0\0\aia#<Plug>SidewaysArgumentTextobjI\1\3\0\0\aia#<Plug>SidewaysArgumentTextobjI\1\3\0\0\aa.#<Plug>SidewaysArgumentTextobjA\1\3\0\0\aaa#<Plug>SidewaysArgumentTextobjA\txmap\1\3\0\0\aa.#<Plug>SidewaysArgumentTextobjA\1\3\0\0\aaa#<Plug>SidewaysArgumentTextobjA\tomap\1\3\0\0\n<c-l>\23:SidewaysRight<cr>\1\3\0\0\n<c-h>\22:SidewaysLeft<cr>\rnnoremap\vkeymap\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/sideways.vim",
+ url = "https://github.com/AndrewRadev/sideways.vim"
+ },
+ ["snippets.nvim"] = {
+ config = { "\27LJ\2\n<\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\19tms.p.snippets\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/snippets.nvim",
+ url = "https://github.com/norcalli/snippets.nvim"
+ },
+ ["stabilize.nvim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/stabilize.nvim",
+ url = "https://github.com/luukvbaal/stabilize.nvim"
+ },
+ ["startuptime.vim"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/startuptime.vim",
+ url = "https://github.com/tweekmonster/startuptime.vim"
+ },
+ tabular = {
+ config = { "\27LJ\2\n\3\0\0\3\0\n\0\0316\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\0016\0\0\0009\0\1\0009\0\4\0005\2\5\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\6\0B\0\2\0016\0\0\0009\0\1\0009\0\4\0005\2\a\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\b\0B\0\2\0016\0\0\0009\0\1\0009\0\4\0005\2\t\0B\0\2\1K\0\1\0\1\3\0\0\15<leader>a,\27<cmd>Tabularize /,<cr>\1\3\0\0\15<leader>a,\27<cmd>Tabularize /,<cr>\1\3\0\0\15<leader>a:\30<cmd>Tabularize /:\\zs<cr>\1\3\0\0\15<leader>a:\30<cmd>Tabularize /:\\zs<cr>\1\3\0\0\15<leader>a=\27<cmd>Tabularize /=<cr>\tvmap\1\3\0\0\15<leader>a=\27<cmd>Tabularize /=<cr>\tnmap\vkeymap\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/tabular",
+ url = "https://github.com/godlygeek/tabular"
+ },
+ ["telescope-dap.nvim"] = {
+ config = { "\27LJ\2\nH\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\bdap\19load_extension\14telescope\frequire\0" },
+ load_after = {},
+ loaded = true,
+ needs_bufread = false,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/telescope-dap.nvim",
+ url = "https://github.com/nvim-telescope/telescope-dap.nvim"
+ },
+ ["telescope-fzy-native.nvim"] = {
+ config = { "\27LJ\2\nO\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\15fzy_native\19load_extension\14telescope\frequire\0" },
+ load_after = {},
+ loaded = true,
+ needs_bufread = false,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/telescope-fzy-native.nvim",
+ url = "https://github.com/nvim-telescope/telescope-fzy-native.nvim"
+ },
+ ["telescope-media-files.nvim"] = {
+ config = { "\27LJ\2\nP\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\16media_files\19load_extension\14telescope\frequire\0" },
+ load_after = {},
+ loaded = true,
+ needs_bufread = false,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/telescope-media-files.nvim",
+ url = "https://github.com/nvim-telescope/telescope-media-files.nvim"
+ },
+ ["telescope-packer.nvim"] = {
+ load_after = {},
+ loaded = true,
+ needs_bufread = false,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/telescope-packer.nvim",
+ url = "https://github.com/nvim-telescope/telescope-packer.nvim"
+ },
+ ["telescope-snippets.nvim"] = {
+ config = { "\27LJ\2\n\2\0\0\3\0\t\0\0176\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\0016\0\4\0009\0\5\0009\0\6\0005\2\a\0B\0\2\0016\0\4\0009\0\5\0009\0\6\0005\2\b\0B\0\2\1K\0\1\0\1\3\0\0\n<c-k>7<cmd>lua require\"snippets\".advance_snippet(-1)<cr>\1\3\0\0\n<c-j>7<cmd>lua require\"snippets\".expand_or_advance()<cr>\rinoremap\vkeymap\bvim\rsnippets\19load_extension\14telescope\frequire\0" },
+ load_after = {},
+ loaded = true,
+ needs_bufread = false,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/telescope-snippets.nvim",
+ url = "https://github.com/nvim-telescope/telescope-snippets.nvim"
+ },
+ ["telescope.nvim"] = {
+ after = { "telescope-dap.nvim", "telescope-media-files.nvim", "telescope-packer.nvim", "telescope-snippets.nvim", "git-worktree.nvim", "telescope-fzy-native.nvim" },
+ loaded = true,
+ only_config = true
+ },
+ ["trans.nvim"] = {
+ config = { '\27LJ\2\n\1\0\0\3\0\5\0\v6\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\4\0B\0\2\1K\0\1\0\1\3\0\0\bmtc2<cmd>lua require("trans").translate("cs")<cr>\1\3\0\0\bmtt.<cmd>lua require("trans").translate()<cr>\txmap\vkeymap\bvim\0' },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/trans.nvim",
+ url = "https://github.com/GenesisTMS/trans.nvim"
+ },
+ undotree = {
+ config = { "\27LJ\2\n\1\0\0\3\0\a\0\0146\0\0\0009\0\1\0)\1\2\0=\1\2\0006\0\0\0009\0\1\0)\0012\0=\1\3\0006\0\0\0009\0\4\0009\0\5\0005\2\6\0B\0\2\1K\0\1\0\1\3\0\0\t<F5>\28<cmd>UndotreeToggle<cr>\rnnoremap\vkeymap\24undotree_SplitWidth\26undotree_WindowLayout\6g\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/undotree",
+ url = "https://github.com/mbbill/undotree"
+ },
+ ["vifm.vim"] = {
+ config = { "\27LJ\2\n4\0\0\2\0\3\0\0056\0\0\0009\0\1\0+\1\2\0=\1\2\0K\0\1\0\23vifm_replace_netrw\6g\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vifm.vim",
+ url = "https://github.com/vifm/vifm.vim"
+ },
+ ["vim-be-good"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-be-good",
+ url = "https://github.com/ThePrimeagen/vim-be-good"
+ },
+ ["vim-composer"] = {
+ config = { "\27LJ\2\n7\0\0\2\0\4\0\0056\0\0\0009\0\1\0'\1\3\0=\1\2\0K\0\1\0\rcomposer\17composer_cmd\6g\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-composer",
+ url = "https://github.com/vim-php/vim-composer"
+ },
+ ["vim-eunuch"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-eunuch",
+ url = "https://github.com/tpope/vim-eunuch"
+ },
+ ["vim-fugitive"] = {
+ config = { "\27LJ\2\n\1\0\0\3\0\6\0\0166\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\4\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\5\0B\0\2\1K\0\1\0\1\3\0\0\15<leader>gb\23<cmd>Git blame<cr>\1\3\0\0\15<leader>gc\22<cmd>G commit<cr>\1\3\0\0\15<leader>gg\15<cmd>G<cr>\rnnoremap\vkeymap\bvim\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-fugitive",
+ url = "https://github.com/tpope/vim-fugitive"
+ },
+ ["vim-glsl"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-glsl",
+ url = "https://github.com/tikhomirov/vim-glsl"
+ },
+ ["vim-godot"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-godot",
+ url = "https://github.com/habamax/vim-godot"
+ },
+ ["vim-repeat"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-repeat",
+ url = "https://github.com/tpope/vim-repeat"
+ },
+ ["vim-surround"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-surround",
+ url = "https://github.com/tpope/vim-surround"
+ },
+ ["vim-sxhkdrc"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-sxhkdrc",
+ url = "https://github.com/baskerville/vim-sxhkdrc"
+ },
+ ["vim-wordmotion"] = {
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/vim-wordmotion",
+ url = "https://github.com/chaoren/vim-wordmotion"
+ },
+ ["zen-mode.nvim"] = {
+ config = { "\27LJ\2\n\1\0\0\3\0\a\0\f6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\6\0B\0\2\1K\0\1\0\1\3\0\0\14<leader>z\21<cmd>ZenMode<cr>\rnnoremap\vkeymap\bvim\nsetup\rzen-mode\frequire\0" },
+ loaded = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/start/zen-mode.nvim",
+ url = "https://github.com/folke/zen-mode.nvim"
+ }
+}
+
+time([[Defining packer_plugins]], false)
+-- Config for: vim-composer
+time([[Config for vim-composer]], true)
+try_loadstring("\27LJ\2\n7\0\0\2\0\4\0\0056\0\0\0009\0\1\0'\1\3\0=\1\2\0K\0\1\0\rcomposer\17composer_cmd\6g\bvim\0", "config", "vim-composer")
+time([[Config for vim-composer]], false)
+-- Config for: nvim-ts-autotag
+time([[Config for nvim-ts-autotag]], true)
+try_loadstring("\27LJ\2\nA\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\20nvim-ts-autotag\frequire\0", "config", "nvim-ts-autotag")
+time([[Config for nvim-ts-autotag]], false)
+-- Config for: vim-fugitive
+time([[Config for vim-fugitive]], true)
+try_loadstring("\27LJ\2\n\1\0\0\3\0\6\0\0166\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\4\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\5\0B\0\2\1K\0\1\0\1\3\0\0\15<leader>gb\23<cmd>Git blame<cr>\1\3\0\0\15<leader>gc\22<cmd>G commit<cr>\1\3\0\0\15<leader>gg\15<cmd>G<cr>\rnnoremap\vkeymap\bvim\0", "config", "vim-fugitive")
+time([[Config for vim-fugitive]], false)
+-- Config for: cryoline.nvim
+time([[Config for cryoline.nvim]], true)
+try_loadstring("\27LJ\2\n\1\0\0\5\0\b\1\0176\0\0\0009\0\1\0009\0\2\0B\0\1\2'\1\3\0\21\2\0\0\b\2\0\0X\2\4'\2\4\0\18\3\0\0'\4\5\0&\1\4\2'\2\6\0\18\3\1\0'\4\a\0&\2\4\2L\2\2\0\22%=%-14.(%l,%c%V%)\14%f %h%m%r\6]\6[\5\17FugitiveHead\afn\bvim\0{\1\0\4\0\b\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\0023\3\6\0=\3\a\2B\0\2\1K\0\1\0\tline\0\aft\1\0\0\1\0\1\rfugitive\28%{FugitiveStatusline()}\vconfig\rcryoline\frequire\0", "config", "cryoline.nvim")
+time([[Config for cryoline.nvim]], false)
+-- Config for: refactoring.nvim
+time([[Config for refactoring.nvim]], true)
+try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\22tms.p.refactoring\frequire\0", "config", "refactoring.nvim")
+time([[Config for refactoring.nvim]], false)
+-- Config for: rest.nvim
+time([[Config for rest.nvim]], true)
+try_loadstring("\27LJ\2\n\2\0\0\3\0\b\0\0186\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\3\0009\0\4\0'\2\5\0B\0\2\0016\0\3\0009\0\4\0'\2\6\0B\0\2\0016\0\3\0009\0\4\0'\2\a\0B\0\2\1K\0\1\0007command! RestLast :lua require(\"rest-nvim\").last()=command! RestPreview :lua require(\"rest-nvim\").run(true)2command! Rest :lua require(\"rest-nvim\").run()\bcmd\bvim\nsetup\14rest-nvim\frequire\0", "config", "rest.nvim")
+time([[Config for rest.nvim]], false)
+-- Config for: sideways.vim
+time([[Config for sideways.vim]], true)
+try_loadstring("\27LJ\2\n\5\0\0\3\0\18\0=6\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\4\0B\0\2\0016\0\0\0009\0\1\0009\0\5\0005\2\6\0B\0\2\0016\0\0\0009\0\1\0009\0\5\0005\2\a\0B\0\2\0016\0\0\0009\0\1\0009\0\b\0005\2\t\0B\0\2\0016\0\0\0009\0\1\0009\0\b\0005\2\n\0B\0\2\0016\0\0\0009\0\1\0009\0\5\0005\2\v\0B\0\2\0016\0\0\0009\0\1\0009\0\b\0005\2\f\0B\0\2\0016\0\0\0009\0\1\0009\0\r\0005\2\14\0B\0\2\0016\0\0\0009\0\1\0009\0\r\0005\2\15\0B\0\2\0016\0\0\0009\0\1\0009\0\r\0005\2\16\0B\0\2\0016\0\0\0009\0\1\0009\0\r\0005\2\17\0B\0\2\1K\0\1\0\1\3\0\0\15<leader>aL%<Plug>SidewaysArgumentAppendLast\1\3\0\0\15<leader>aH%<Plug>SidewaysArgumentInsertFirt\1\3\0\0\15<leader>al&<Plug>SidewaysArgumentAppendAfter\1\3\0\0\15<leader>ah'<Plug>SidewaysArgumentInsertBefore\tnmap\1\3\0\0\aia#<Plug>SidewaysArgumentTextobjI\1\3\0\0\aia#<Plug>SidewaysArgumentTextobjI\1\3\0\0\aa.#<Plug>SidewaysArgumentTextobjA\1\3\0\0\aaa#<Plug>SidewaysArgumentTextobjA\txmap\1\3\0\0\aa.#<Plug>SidewaysArgumentTextobjA\1\3\0\0\aaa#<Plug>SidewaysArgumentTextobjA\tomap\1\3\0\0\n<c-l>\23:SidewaysRight<cr>\1\3\0\0\n<c-h>\22:SidewaysLeft<cr>\rnnoremap\vkeymap\bvim\0", "config", "sideways.vim")
+time([[Config for sideways.vim]], false)
+-- Config for: lsp-trouble.nvim
+time([[Config for lsp-trouble.nvim]], true)
+try_loadstring("\27LJ\2\n9\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\ftrouble\frequire\0", "config", "lsp-trouble.nvim")
+time([[Config for lsp-trouble.nvim]], false)
+-- Config for: snippets.nvim
+time([[Config for snippets.nvim]], true)
+try_loadstring("\27LJ\2\n<\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\19tms.p.snippets\frequire\0", "config", "snippets.nvim")
+time([[Config for snippets.nvim]], false)
+-- Config for: neoscroll.nvim
+time([[Config for neoscroll.nvim]], true)
+try_loadstring("\27LJ\2\n\4\0\0\4\0\29\0,6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\0014\0\0\0005\1\a\0005\2\b\0>\2\2\1=\1\6\0005\1\n\0005\2\v\0>\2\2\1=\1\t\0005\1\r\0005\2\14\0>\2\2\1=\1\f\0005\1\16\0005\2\17\0>\2\2\1=\1\15\0005\1\19\0005\2\20\0>\2\2\1=\1\18\0005\1\22\0005\2\23\0>\2\2\1=\1\21\0005\1\25\0005\2\26\0>\2\2\1=\1\24\0006\1\0\0'\3\27\0B\1\2\0029\1\28\1\18\3\0\0B\1\2\1K\0\1\0\17set_mappings\21neoscroll.config\1\2\0\0\b100\1\2\0\0\azb\azb\1\2\0\0\b100\1\2\0\0\azz\azz\1\2\0\0\b100\1\2\0\0\azt\azt\1\4\0\0#vim.api.nvim_win_get_height(0)\ttrue\b100\1\2\0\0\vscroll\n<C-f>\1\4\0\0$-vim.api.nvim_win_get_height(0)\ttrue\b100\1\2\0\0\vscroll\n<C-b>\1\4\0\0\18vim.wo.scroll\ttrue\a80\1\2\0\0\vscroll\n<C-d>\1\4\0\0\19-vim.wo.scroll\ttrue\a80\1\2\0\0\vscroll\n<C-u>\rmappings\1\0\0\1\b\0\0\n<C-u>\n<C-d>\n<C-b>\n<C-f>\azt\azz\azb\nsetup\14neoscroll\frequire\0", "config", "neoscroll.nvim")
+time([[Config for neoscroll.nvim]], false)
+-- Config for: git-messenger.vim
+time([[Config for git-messenger.vim]], true)
+try_loadstring("\27LJ\2\nX\0\0\3\0\4\0\0066\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\3\0\0\15<leader>gm\26<plug>(git-messenger)\rnnoremap\vkeymap\bvim\0", "config", "git-messenger.vim")
+time([[Config for git-messenger.vim]], false)
+-- Config for: tabular
+time([[Config for tabular]], true)
+try_loadstring("\27LJ\2\n\3\0\0\3\0\n\0\0316\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\0016\0\0\0009\0\1\0009\0\4\0005\2\5\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\6\0B\0\2\0016\0\0\0009\0\1\0009\0\4\0005\2\a\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\b\0B\0\2\0016\0\0\0009\0\1\0009\0\4\0005\2\t\0B\0\2\1K\0\1\0\1\3\0\0\15<leader>a,\27<cmd>Tabularize /,<cr>\1\3\0\0\15<leader>a,\27<cmd>Tabularize /,<cr>\1\3\0\0\15<leader>a:\30<cmd>Tabularize /:\\zs<cr>\1\3\0\0\15<leader>a:\30<cmd>Tabularize /:\\zs<cr>\1\3\0\0\15<leader>a=\27<cmd>Tabularize /=<cr>\tvmap\1\3\0\0\15<leader>a=\27<cmd>Tabularize /=<cr>\tnmap\vkeymap\bvim\0", "config", "tabular")
+time([[Config for tabular]], false)
+-- Config for: Comment.nvim
+time([[Config for Comment.nvim]], true)
+try_loadstring("\27LJ\2\nr\0\1\5\0\4\0\t6\1\0\0'\3\1\0B\1\2\0029\1\2\1B\1\1\0026\2\3\0\18\4\1\0B\2\2\1L\1\2\0\tdump\28calculate_commentstring&ts_context_commentstring.internal\frequireN\1\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0003\3\3\0=\3\5\2B\0\2\1K\0\1\0\rpre_hook\1\0\0\0\nsetup\fComment\frequire\0", "config", "Comment.nvim")
+time([[Config for Comment.nvim]], false)
+-- Config for: zen-mode.nvim
+time([[Config for zen-mode.nvim]], true)
+try_loadstring("\27LJ\2\n\1\0\0\3\0\a\0\f6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\6\0B\0\2\1K\0\1\0\1\3\0\0\14<leader>z\21<cmd>ZenMode<cr>\rnnoremap\vkeymap\bvim\nsetup\rzen-mode\frequire\0", "config", "zen-mode.nvim")
+time([[Config for zen-mode.nvim]], false)
+-- Config for: LuaSnip
+time([[Config for LuaSnip]], true)
+try_loadstring("\27LJ\2\n;\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\18tms.p.luasnip\frequire\0", "config", "LuaSnip")
+time([[Config for LuaSnip]], false)
+-- Config for: gitsigns.nvim
+time([[Config for gitsigns.nvim]], true)
+try_loadstring("\27LJ\2\n\t\0\0\3\0\22\0L6\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\3\0009\0\4\0009\0\5\0005\2\6\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\a\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\b\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\t\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\n\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\v\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\f\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\r\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\14\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\15\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\16\0B\0\2\0016\0\3\0009\0\4\0009\0\5\0005\2\17\0B\0\2\0016\0\3\0009\0\4\0009\0\18\0005\2\19\0B\0\2\0016\0\3\0009\0\4\0009\0\20\0005\2\21\0B\0\2\1K\0\1\0\1\3\0\0\aig4:<C-U>lua require(\"gitsigns\").select_hunk()<cr>\txmap\1\3\0\0\aig4:<C-U>lua require(\"gitsigns\").select_hunk()<cr>\tomap\1\3\0\0\15<leader>hn4<cmd>lua require(\"gitsigns\").toggle_numhl()<cr>\1\3\0\0\15<leader>hl5<cmd>lua require(\"gitsigns\").toggle_linehl()<cr>\1\3\0\0\15<leader>hbA<cmd>lua require(\"gitsigns\").toggle_current_line_blame()<cr>\1\3\0\0\15<leader>hp4<cmd>lua require(\"gitsigns\").preview_hunk()<cr>\1\3\0\0\15<leader>hR4<cmd>lua require(\"gitsigns\").reset_buffer()<cr>\1\3\0\0\15<leader>hr2<cmd>lua require(\"gitsigns\").reset_hunk()<cr>\1\3\0\0\15<leader>hu7<cmd>lua require(\"gitsigns\").undo_stage_hunk()<cr>\1\3\0\0\15<leader>hs2<cmd>lua require(\"gitsigns\").stage_hunk()<cr>\1\3\0\0\a<[1<cmd>lua require(\"gitsigns\").prev_hunk()<cr>\1\3\0\0\a<c1<cmd>lua require(\"gitsigns\").prev_hunk()<cr>\1\3\0\0\a>[1<cmd>lua require(\"gitsigns\").next_hunk()<cr>\1\3\0\0\a>c1<cmd>lua require(\"gitsigns\").next_hunk()<cr>\tnmap\vkeymap\bvim\nsetup\19tms.p.gitsigns\frequire\0", "config", "gitsigns.nvim")
+time([[Config for gitsigns.nvim]], false)
+-- Config for: actions.nvim
+time([[Config for actions.nvim]], true)
+try_loadstring("\27LJ\2\n;\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\18tms.p.actions\frequire\0", "config", "actions.nvim")
+time([[Config for actions.nvim]], false)
+-- Config for: nvim-treesitter
+time([[Config for nvim-treesitter]], true)
+try_loadstring("\27LJ\2\n\3\0\0\4\0\17\0\0266\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0025\1\a\0005\2\4\0005\3\5\0=\3\6\2=\2\b\1=\1\3\0006\1\0\0'\3\t\0B\1\2\0029\1\n\1B\1\1\0016\1\v\0009\1\f\1'\3\r\0B\1\2\0016\1\v\0009\1\14\0019\1\15\0015\3\16\0B\1\2\1K\0\1\0\1\3\0\0\15<leader>su\24<cmd>TSHRefresh<cr>\rnnoremap\vkeymap>command! TSHRefresh execute 'write|TSBufEnable highlight'\bcmd\bvim\nsetup\21tms.p.treesitter\17install_info\1\0\0\nfiles\1\2\0\0\17src/parser.c\1\0\2\vbranch\tmain\burl5https://github.com/NTBBloodbath/tree-sitter-http\thttp\23get_parser_configs\28nvim-treesitter.parsers\frequire\0", "config", "nvim-treesitter")
+time([[Config for nvim-treesitter]], false)
+-- Config for: hiPairs
+time([[Config for hiPairs]], true)
+try_loadstring("\27LJ\2\nS\0\0\2\0\4\0\t6\0\0\0009\0\1\0)\1\1\0=\1\2\0006\0\0\0009\0\1\0)\1\5\0=\1\3\0K\0\1\0\20hiPairs_timeout\22loaded_matchparen\6g\bvim\0", "config", "hiPairs")
+time([[Config for hiPairs]], false)
+-- Config for: animate.vim
+time([[Config for animate.vim]], true)
+try_loadstring("\27LJ\2\n\5\0\0\3\0\r\0-6\0\0\0009\0\1\0'\2\2\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\5\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\6\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\a\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\b\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\t\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\n\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\v\0B\0\2\0016\0\0\0009\0\3\0009\0\4\0005\2\f\0B\0\2\1K\0\1\0\1\3\1\0\14<s-right>,:call animate#window_delta_width(1)<cr>\vsilent\2\1\3\1\0\r<s-left>-:call animate#window_delta_width(-1)<cr>\vsilent\2\1\3\1\0\r<s-down>.:call animate#window_delta_height(-1)<cr>\vsilent\2\1\3\1\0\v<s-up>-:call animate#window_delta_height(1)<cr>\vsilent\2\1\3\1\0\14<c-right>-:call animate#window_delta_width(10)<cr>\vsilent\2\1\3\1\0\r<c-left>.:call animate#window_delta_width(-10)<cr>\vsilent\2\1\3\1\0\r<c-down>/:call animate#window_delta_height(-10)<cr>\vsilent\2\1\3\1\0\v<c-up>.:call animate#window_delta_height(10)<cr>\vsilent\2\tnmap\vkeymap#let g:animate#duration = 100.0\bcmd\bvim\0", "config", "animate.vim")
+time([[Config for animate.vim]], false)
+-- Config for: nvim-dap
+time([[Config for nvim-dap]], true)
+try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14tms.p.dap\frequire\0", "config", "nvim-dap")
+time([[Config for nvim-dap]], false)
+-- Config for: gruvbox
+time([[Config for gruvbox]], true)
+try_loadstring("\27LJ\2\nh\0\0\2\0\6\0\t6\0\0\0009\0\1\0'\1\3\0=\1\2\0006\0\0\0009\0\1\0'\1\5\0=\1\4\0K\0\1\0\tsoft\27gruvbox_contrast_light\thard\26gruvbox_contrast_dark\6g\bvim\0", "config", "gruvbox")
+time([[Config for gruvbox]], false)
+-- Config for: lexima.vim
+time([[Config for lexima.vim]], true)
+try_loadstring("\27LJ\2\n=\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\30let b:lexima_disabled = 1\bcmd\bvim\1\1\0\5\0\n\0\r6\0\0\0009\0\1\0'\1\3\0=\1\2\0006\0\4\0'\2\5\0B\0\2\0029\0\6\0'\2\a\0005\3\b\0003\4\t\0B\0\4\1K\0\1\0\0\1\2\0\0\29FileType TelescopePrompt\20lexima_disabled\16addListener\18tms.c.autocmd\frequire\5\22lexima_map_escape\6g\bvim\0", "config", "lexima.vim")
+time([[Config for lexima.vim]], false)
+-- Config for: nvim-dap-ui
+time([[Config for nvim-dap-ui]], true)
+try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\rsetup_ui\14tms.p.dap\frequire\0", "config", "nvim-dap-ui")
+time([[Config for nvim-dap-ui]], false)
+-- Config for: telescope.nvim
+time([[Config for telescope.nvim]], true)
+try_loadstring("\27LJ\2\n\b\0\0\5\0,\0\0016\0\0\0'\2\1\0B\0\2\0029\1\2\0B\1\1\0016\1\3\0009\1\4\0019\1\5\0015\3\6\0009\4\a\0009\4\b\4>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\t\0009\4\n\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\v\0009\4\a\0009\4\n\4>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\f\0009\4\a\0009\4\r\4>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\14\0009\4\15\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\16\0009\4\17\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\18\0009\4\a\0009\4\19\4>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\20\0009\4\a\0009\4\21\4>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\22\0009\4\23\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\24\0009\4\25\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\26\0009\4\a\0009\4\27\4>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\28\0009\4\29\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\30\0009\4\31\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3 \0009\4!\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3\"\0009\4#\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3$\0009\4%\0>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3&\0009\4\a\0009\4'\4>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3(\0009\4\a\0009\4)\4>\4\2\3B\1\2\0016\1\3\0009\1\4\0019\1\5\0015\3*\0009\4+\0>\4\2\3B\1\2\1K\0\1\0\fplugins\1\2\0\0\r<space>P\15treesitter\1\2\0\0\r<space>t\roldfiles\1\2\0\0\r<space>o\16edit_neovim\1\2\0\0\r<space>n\16media_files\1\2\0\0\r<space>M\rsnippets\1\2\0\0\r<space>s\18spell_suggest\1\2\0\0\r<space>S\rreloader\1\2\0\0\r<space>p\14man_pages\1\2\0\0\r<space>m\fkeymaps\1\2\0\0\r<space>k\rquickfix\1\2\0\0\r<space>q\15git_status\1\2\0\0\r<space>c\16grep_string\1\2\0\0\r<space>e\nlines\1\2\0\0\r<space>l\fbuffers\1\2\0\0\r<space>b\14git_files\1\2\0\0\r<space>g\1\2\0\0\r<space>D\15find_files\1\2\0\0\r<space>d\14help_tags\6b\1\2\0\0\r<space>h\rnnoremap\vkeymap\bvim\nsetup\20tms.p.telescope\frequire\0", "config", "telescope.nvim")
+time([[Config for telescope.nvim]], false)
+-- Config for: nvim-bqf
+time([[Config for nvim-bqf]], true)
+try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14tms.p.bqf\frequire\0", "config", "nvim-bqf")
+time([[Config for nvim-bqf]], false)
+-- Config for: beacon.nvim
+time([[Config for beacon.nvim]], true)
+try_loadstring("\27LJ\2\n\1\0\0\3\0\b\0\0156\0\0\0009\0\1\0005\1\3\0=\1\2\0006\0\0\0009\0\4\0009\0\5\0005\2\6\0B\0\2\0016\0\0\0009\0\4\0009\0\5\0005\2\a\0B\0\2\1K\0\1\0\1\3\0\0\6#\17#:Beacon<cr>\1\3\0\0\6*\17*:Beacon<cr>\tnmap\vkeymap\1\2\0\0\tvifm\28beacon_ignore_filetypes\6g\bvim\0", "config", "beacon.nvim")
+time([[Config for beacon.nvim]], false)
+-- Config for: trans.nvim
+time([[Config for trans.nvim]], true)
+try_loadstring('\27LJ\2\n\1\0\0\3\0\5\0\v6\0\0\0009\0\1\0009\0\2\0005\2\3\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0005\2\4\0B\0\2\1K\0\1\0\1\3\0\0\bmtc2<cmd>lua require("trans").translate("cs")<cr>\1\3\0\0\bmtt.<cmd>lua require("trans").translate()<cr>\txmap\vkeymap\bvim\0', "config", "trans.nvim")
+time([[Config for trans.nvim]], false)
+-- Config for: nvim-notify
+time([[Config for nvim-notify]], true)
+try_loadstring("\27LJ\2\n\1\0\0\6\0\v\0\0216\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0006\3\0\0'\5\3\0B\3\2\2=\3\5\2B\0\2\0016\0\6\0009\0\a\0009\0\b\0005\2\t\0006\3\0\0'\5\1\0B\3\2\0029\3\n\3>\3\2\2B\0\2\1K\0\1\0\fdismiss\1\2\0\0\14<leader>N\rnnoremap\vkeymap\bvim\vstages\1\0\0\26tms.p.notify.my_stage\nsetup\vnotify\frequire\0", "config", "nvim-notify")
+time([[Config for nvim-notify]], false)
+-- Config for: null-ls.nvim
+time([[Config for null-ls.nvim]], true)
+try_loadstring("\27LJ\2\nf\0\0\4\0\5\0\0146\0\0\0'\2\1\0B\0\2\0029\1\2\0004\3\0\0B\1\2\0016\1\0\0'\3\3\0B\1\2\0029\1\1\0019\1\4\0014\3\0\0B\1\2\1K\0\1\0\nsetup\14lspconfig\vconfig\fnull-ls\frequire\0", "config", "null-ls.nvim")
+time([[Config for null-ls.nvim]], false)
+-- Config for: undotree
+time([[Config for undotree]], true)
+try_loadstring("\27LJ\2\n\1\0\0\3\0\a\0\0146\0\0\0009\0\1\0)\1\2\0=\1\2\0006\0\0\0009\0\1\0)\0012\0=\1\3\0006\0\0\0009\0\4\0009\0\5\0005\2\6\0B\0\2\1K\0\1\0\1\3\0\0\t<F5>\28<cmd>UndotreeToggle<cr>\rnnoremap\vkeymap\24undotree_SplitWidth\26undotree_WindowLayout\6g\bvim\0", "config", "undotree")
+time([[Config for undotree]], false)
+-- Config for: nvim-spectre
+time([[Config for nvim-spectre]], true)
+try_loadstring("\27LJ\2\n\1\0\0\3\0\t\0\0166\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\3\0009\0\4\0009\0\5\0005\2\6\0B\0\2\0016\0\3\0009\0\4\0009\0\a\0005\2\b\0B\0\2\1K\0\1\0\1\3\0\0\14<leader>s2<cmd>lua require(\"spectre\").open_visual()<cr>\rvnoremap\1\3\0\0\14<leader>S+<cmd>lua require(\"spectre\").open()<cr>\rnnoremap\vkeymap\bvim\nsetup\18tms.p.spectre\frequire\0", "config", "nvim-spectre")
+time([[Config for nvim-spectre]], false)
+-- Config for: nvim-cmp
+time([[Config for nvim-cmp]], true)
+try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14tms.p.cmp\frequire\0", "config", "nvim-cmp")
+time([[Config for nvim-cmp]], false)
+-- Config for: nvim-colorizer.lua
+time([[Config for nvim-colorizer.lua]], true)
+try_loadstring("\27LJ\2\n\1\0\0\4\0\5\0\b6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0B\0\3\1K\0\1\0\1\0\b\vcss_fn\2\bcss\2\vhsl_fn\2\vrgb_fn\2\rRRGGBBAA\2\nnames\2\vRRGGBB\2\bRGB\2\1\2\0\0\6*\nsetup\14colorizer\frequire\0", "config", "nvim-colorizer.lua")
+time([[Config for nvim-colorizer.lua]], false)
+-- Config for: vifm.vim
+time([[Config for vifm.vim]], true)
+try_loadstring("\27LJ\2\n4\0\0\2\0\3\0\0056\0\0\0009\0\1\0+\1\2\0=\1\2\0K\0\1\0\23vifm_replace_netrw\6g\bvim\0", "config", "vifm.vim")
+time([[Config for vifm.vim]], false)
+-- Config for: nvim-solarized-lua
+time([[Config for nvim-solarized-lua]], true)
+try_loadstring("\27LJ\2\n\v\0\0\1\0\0\0\1K\0\1\0\0", "config", "nvim-solarized-lua")
+time([[Config for nvim-solarized-lua]], false)
+-- Load plugins in order defined by `after`
+time([[Sequenced loading]], true)
+vim.cmd [[ packadd colorbuddy.nvim ]]
+vim.cmd [[ packadd telescope-media-files.nvim ]]
+
+-- Config for: telescope-media-files.nvim
+try_loadstring("\27LJ\2\nP\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\16media_files\19load_extension\14telescope\frequire\0", "config", "telescope-media-files.nvim")
+
+vim.cmd [[ packadd telescope-fzy-native.nvim ]]
+
+-- Config for: telescope-fzy-native.nvim
+try_loadstring("\27LJ\2\nO\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\15fzy_native\19load_extension\14telescope\frequire\0", "config", "telescope-fzy-native.nvim")
+
+vim.cmd [[ packadd telescope-dap.nvim ]]
+
+-- Config for: telescope-dap.nvim
+try_loadstring("\27LJ\2\nH\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\bdap\19load_extension\14telescope\frequire\0", "config", "telescope-dap.nvim")
+
+vim.cmd [[ packadd telescope-snippets.nvim ]]
+
+-- Config for: telescope-snippets.nvim
+try_loadstring("\27LJ\2\n\2\0\0\3\0\t\0\0176\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\0016\0\4\0009\0\5\0009\0\6\0005\2\a\0B\0\2\0016\0\4\0009\0\5\0009\0\6\0005\2\b\0B\0\2\1K\0\1\0\1\3\0\0\n<c-k>7<cmd>lua require\"snippets\".advance_snippet(-1)<cr>\1\3\0\0\n<c-j>7<cmd>lua require\"snippets\".expand_or_advance()<cr>\rinoremap\vkeymap\bvim\rsnippets\19load_extension\14telescope\frequire\0", "config", "telescope-snippets.nvim")
+
+vim.cmd [[ packadd git-worktree.nvim ]]
+
+-- Config for: git-worktree.nvim
+try_loadstring("\27LJ\2\n\2\0\0\6\0\14\0$6\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\0\0'\2\3\0B\0\2\0029\0\4\0'\2\5\0B\0\2\0016\0\6\0009\0\a\0009\0\b\0005\2\t\0006\3\0\0'\5\3\0B\3\2\0029\3\n\0039\3\5\0039\3\v\3>\3\2\2B\0\2\0016\0\6\0009\0\a\0009\0\b\0005\2\f\0006\3\0\0'\5\3\0B\3\2\0029\3\n\0039\3\5\0039\3\r\3>\3\2\2B\0\2\1K\0\1\0\24create_git_worktree\1\2\0\0\14<space>wi\18git_worktrees\15extensions\1\2\0\0\14<space>wo\rnnoremap\vkeymap\bvim\17git_worktree\19load_extension\14telescope\nsetup\17git-worktree\frequire\0", "config", "git-worktree.nvim")
+
+vim.cmd [[ packadd telescope-packer.nvim ]]
+time([[Sequenced loading]], false)
+vim.cmd [[augroup packer_load_aucmds]]
+vim.cmd [[au!]]
+ -- Filetype lazy-loads
+time([[Defining lazy-load filetype autocommands]], true)
+vim.cmd [[au FileType dart ++once lua require("packer.load")({'dart-vim-plugin'}, { ft = "dart" }, _G.packer_plugins)]]
+time([[Defining lazy-load filetype autocommands]], false)
+vim.cmd("augroup END")
+vim.cmd [[augroup filetypedetect]]
+time([[Sourcing ftdetect script at: /home/tms/.local/share/nvim/site/pack/packer/opt/dart-vim-plugin/ftdetect/dart.vim]], true)
+vim.cmd [[source /home/tms/.local/share/nvim/site/pack/packer/opt/dart-vim-plugin/ftdetect/dart.vim]]
+time([[Sourcing ftdetect script at: /home/tms/.local/share/nvim/site/pack/packer/opt/dart-vim-plugin/ftdetect/dart.vim]], false)
+vim.cmd("augroup END")
+if should_profile then save_profiles() end
+
+end)
+
+if not no_errors then
+ vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
+end
diff --git a/lua/tms/colors.lua b/lua/tms/colors.lua
@@ -20,9 +20,7 @@ end
M.get_scheme = function()
local scheme = os.getenv('SCHEME')
- if scheme then
- return scheme
- end
+ if scheme then return scheme end
end
return M
diff --git a/lua/tms/p/luasnip.lua b/lua/tms/p/luasnip.lua
@@ -44,6 +44,7 @@ local snippets = function()
local events = require('luasnip.util.events')
local l = require('luasnip.extras').lambda
local p = require('luasnip.extras').partial
+ local fmt = require('luasnip.extras.fmt').fmt
ls.snippets = {
all = {
s('date', p(os.date, '%d.%m.%Y')),
@@ -57,6 +58,7 @@ local snippets = function()
t(': '),
}),
},
+ html = {s('ni', fmt('*ngIf="{1}"', {i(1)}))},
}
end
-- TODO(tms) 03.11.2021:
diff --git a/lua/tms/p/notify/my_stage.lua b/lua/tms/p/notify/my_stage.lua
@@ -7,7 +7,7 @@ return {
if not next_row then return nil end
return {
relative = 'editor',
- anchor = 'NE',
+ anchor = 'SE',
width = state.message.width,
height = state.message.height,
col = vim.opt.columns:get(),
diff --git a/lua/tms/plugins.lua b/lua/tms/plugins.lua
@@ -1,468 +1,460 @@
-local packer = nil
-local function init()
- if packer == nil then
- packer = require('packer')
- packer.init()
- end
+vim.cmd [[packadd packer.nvim]]
+local packer = require('packer')
+return packer.startup({
+ function()
+ local use = packer.use
- local use = packer.use
- packer.reset()
+ use {'wbthomason/packer.nvim', opt = true}
- use {'wbthomason/packer.nvim', opt = true}
- use 'lewis6991/impatient.nvim'
+ -- meta
+ use {'tweekmonster/startuptime.vim'}
+ use {'nathom/filetype.nvim'}
+ use {'lewis6991/impatient.nvim'}
- -- spell
- use 'xxdavid/bez-diakritiky.vim'
+ -- spell
+ use 'xxdavid/bez-diakritiky.vim'
- -- editor
- use 'tpope/vim-unimpaired' -- toggles and ][ movements
- use 'tpope/vim-eunuch' -- usefull unix utililties cmds
- use 'machakann/vim-sandwich' -- surround
- use { -- auto pairs
- 'cohama/lexima.vim',
- config = function()
- vim.g.lexima_map_escape = ''
- require('tms.c.autocmd').addListener('lexima_disabled', {'FileType TelescopePrompt'},
- function() vim.cmd [[let b:lexima_disabled = 1]] end)
- end,
- }
- use {'JoosepAlviste/nvim-ts-context-commentstring'}
- use {
- 'numToStr/Comment.nvim',
- config = function()
- require('Comment').setup({
- pre_hook = function(_)
- local aaa = require('ts_context_commentstring.internal').calculate_commentstring()
- dump(aaa)
- return aaa
- end,
- })
- end,
- }
- use { -- undo tree
- 'mbbill/undotree',
- config = function()
- vim.g.undotree_WindowLayout = 2
- vim.g.undotree_SplitWidth = 50
- vim.keymap.nnoremap {'<F5>', '<cmd>UndotreeToggle<cr>'}
- end,
- }
- use { -- animate height/width of window
- 'camspiers/animate.vim',
- config = function()
- vim.cmd('let g:animate#duration = 100.0')
- vim.keymap.nmap {'<c-up>', ':call animate#window_delta_height(10)<cr>', ['silent'] = true}
- vim.keymap.nmap {'<c-down>', ':call animate#window_delta_height(-10)<cr>', ['silent'] = true}
- vim.keymap.nmap {'<c-left>', ':call animate#window_delta_width(-10)<cr>', ['silent'] = true}
- vim.keymap.nmap {'<c-right>', ':call animate#window_delta_width(10)<cr>', ['silent'] = true}
- vim.keymap.nmap {'<s-up>', ':call animate#window_delta_height(1)<cr>', ['silent'] = true}
- vim.keymap.nmap {'<s-down>', ':call animate#window_delta_height(-1)<cr>', ['silent'] = true}
- vim.keymap.nmap {'<s-left>', ':call animate#window_delta_width(-1)<cr>', ['silent'] = true}
- vim.keymap.nmap {'<s-right>', ':call animate#window_delta_width(1)<cr>', ['silent'] = true}
- end,
- }
- use { -- colorize rgb format
- 'norcalli/nvim-colorizer.lua',
- config = function()
- require'colorizer'.setup({'*'}, {
- RGB = true, -- #RGB hex codes
- RRGGBB = true, -- #RRGGBB hex codes
- names = true, -- "Name" codes like Blue
- RRGGBBAA = true, -- #RRGGBBAA hex codes
- rgb_fn = true, -- CSS rgb() and rgba() functions
- hsl_fn = true, -- CSS hsl() and hsla() functions
- css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
- css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
- })
- end,
- }
- use { -- beacon last cursor pos
- 'danilamihailov/beacon.nvim',
- config = function()
- vim.g.beacon_ignore_filetypes = {'vifm'}
- vim.keymap.nmap {'*', '*:Beacon<cr>'}
- vim.keymap.nmap {'#', '#:Beacon<cr>'}
- end,
- }
- use { -- highlight parens
- 'Yggdroot/hiPairs',
- config = function()
- vim.g.loaded_matchparen = 1
- vim.g.hiPairs_timeout = 5
- -- vim.g.hiPairs_hl_matchPair = {
- -- ['term'] = 'underline,bold',
- -- ['cterm'] = 'bold',
- -- ['ctermfg'] = '0',
- -- ['ctermbg'] = '180',
- -- ['gui'] = 'bold',
- -- }
- -- vim.g.hiPairs_hl_unmatchPair = {
- -- ['term'] = 'underline,bold',
- -- ['cterm'] = 'bold',
- -- ['ctermfg'] = '0',
- -- ['ctermbg'] = '180',
- -- ['gui'] = 'bold',
- -- }
- end,
- }
- use 'chaoren/vim-wordmotion' -- word counts with _,.,-,...
- use {
- 'jandamm/cryoline.nvim',
- config = function()
- require('cryoline').config {
- ft = {fugitive = '%{FugitiveStatusline()}'},
- line = function()
- local git_head = vim.fn.FugitiveHead()
- local branch = ''
- if #git_head ~= 0 then branch = '[' .. git_head .. ']' end
- local line = '%f %h%m%r' .. branch .. '%=%-14.(%l,%c%V%)'
- return line
- end,
- }
- end,
- }
- use { -- smooth scrolling
- 'karb94/neoscroll.nvim',
- config = function()
- require('neoscroll').setup({mappings = {'<C-u>', '<C-d>', '<C-b>', '<C-f>', 'zt', 'zz', 'zb'}})
- local t = {}
- -- Syntax: t[keys] = {function , {function arguments}}
- t['<C-u>'] = {'scroll', {'-vim.wo.scroll', 'true', '80'}}
- t['<C-d>'] = {'scroll', {'vim.wo.scroll', 'true', '80'}}
- t['<C-b>'] = {'scroll', {'-vim.api.nvim_win_get_height(0)', 'true', '100'}}
- t['<C-f>'] = {'scroll', {'vim.api.nvim_win_get_height(0)', 'true', '100'}}
- t['zt'] = {'zt', {'100'}}
- t['zz'] = {'zz', {'100'}}
- t['zb'] = {'zb', {'100'}}
- require('neoscroll.config').set_mappings(t)
- end,
- }
- use 'romgrk/equal.operator' -- equal text object `lefthand = righthand`
- use { -- parameter switch
- 'AndrewRadev/sideways.vim',
- config = function()
- vim.keymap.nnoremap {'<c-h>', ':SidewaysLeft<cr>'}
- vim.keymap.nnoremap {'<c-l>', ':SidewaysRight<cr>'}
- vim.keymap.omap {'aa', '<Plug>SidewaysArgumentTextobjA'}
- vim.keymap.omap {'a.', '<Plug>SidewaysArgumentTextobjA'}
- vim.keymap.xmap {'aa', '<Plug>SidewaysArgumentTextobjA'}
- vim.keymap.xmap {'a.', '<Plug>SidewaysArgumentTextobjA'}
- vim.keymap.omap {'ia', '<Plug>SidewaysArgumentTextobjI'}
- vim.keymap.xmap {'ia', '<Plug>SidewaysArgumentTextobjI'}
- vim.keymap.nmap {'<leader>ah', '<Plug>SidewaysArgumentInsertBefore'}
- vim.keymap.nmap {'<leader>al', '<Plug>SidewaysArgumentAppendAfter'}
- vim.keymap.nmap {'<leader>aH', '<Plug>SidewaysArgumentInsertFirt'}
- vim.keymap.nmap {'<leader>aL', '<Plug>SidewaysArgumentAppendLast'}
- end,
- }
- use { -- aligning
- 'godlygeek/tabular',
- config = function()
- vim.keymap.nmap {'<leader>a=', '<cmd>Tabularize /=<cr>'}
- vim.keymap.vmap {'<leader>a=', '<cmd>Tabularize /=<cr>'}
- vim.keymap.nmap {'<leader>a:', '<cmd>Tabularize /:\\zs<cr>'}
- vim.keymap.vmap {'<leader>a:', '<cmd>Tabularize /:\\zs<cr>'}
- vim.keymap.nmap {'<leader>a,', '<cmd>Tabularize /,<cr>'}
- vim.keymap.vmap {'<leader>a,', '<cmd>Tabularize /,<cr>'}
- end,
- }
- use { -- replace
- 'windwp/nvim-spectre',
- config = function()
- require('tms.p.spectre').setup()
- vim.keymap.nnoremap {'<leader>S', '<cmd>lua require("spectre").open()<cr>'}
- vim.keymap.vnoremap {'<leader>s', '<cmd>lua require("spectre").open_visual()<cr>'}
- end,
- }
- use {'tjdevries/astronauta.nvim'}
- use {'luukvbaal/stabilize.nvim'}
+ -- movements
+ use {'ggandor/lightspeed.nvim'}
- -- quickfix list
- use {'kevinhwang91/nvim-bqf', config = function() require('tms.p.bqf').setup() end}
+ -- editor
+ use 'tpope/vim-repeat'
+ use 'tpope/vim-eunuch' -- usefull unix utililties cmds
+ use 'tpope/vim-surround'
+ use { -- auto pairs
+ 'cohama/lexima.vim',
+ config = function()
+ vim.g.lexima_map_escape = ''
+ require('tms.c.autocmd').addListener('lexima_disabled', {'FileType TelescopePrompt'},
+ function() vim.cmd [[let b:lexima_disabled = 1]] end)
+ end,
+ }
+ use {'JoosepAlviste/nvim-ts-context-commentstring'}
+ use {
+ 'numToStr/Comment.nvim',
+ config = function()
+ require('Comment').setup({
+ pre_hook = function(_)
+ local aaa = require('ts_context_commentstring.internal').calculate_commentstring()
+ dump(aaa)
+ return aaa
+ end,
+ })
+ end,
+ }
+ use { -- undo tree
+ 'mbbill/undotree',
+ config = function()
+ vim.g.undotree_WindowLayout = 2
+ vim.g.undotree_SplitWidth = 50
+ vim.keymap.nnoremap {'<F5>', '<cmd>UndotreeToggle<cr>'}
+ end,
+ }
+ use { -- animate height/width of window
+ 'camspiers/animate.vim',
+ config = function()
+ vim.cmd('let g:animate#duration = 100.0')
+ vim.keymap.nmap {'<c-up>', ':call animate#window_delta_height(10)<cr>', ['silent'] = true}
+ vim.keymap.nmap {'<c-down>', ':call animate#window_delta_height(-10)<cr>', ['silent'] = true}
+ vim.keymap.nmap {'<c-left>', ':call animate#window_delta_width(-10)<cr>', ['silent'] = true}
+ vim.keymap.nmap {'<c-right>', ':call animate#window_delta_width(10)<cr>', ['silent'] = true}
+ vim.keymap.nmap {'<s-up>', ':call animate#window_delta_height(1)<cr>', ['silent'] = true}
+ vim.keymap.nmap {'<s-down>', ':call animate#window_delta_height(-1)<cr>', ['silent'] = true}
+ vim.keymap.nmap {'<s-left>', ':call animate#window_delta_width(-1)<cr>', ['silent'] = true}
+ vim.keymap.nmap {'<s-right>', ':call animate#window_delta_width(1)<cr>', ['silent'] = true}
+ end,
+ }
+ use { -- colorize rgb format
+ 'norcalli/nvim-colorizer.lua',
+ config = function()
+ require'colorizer'.setup({'*'}, {
+ RGB = true, -- #RGB hex codes
+ RRGGBB = true, -- #RRGGBB hex codes
+ names = true, -- "Name" codes like Blue
+ RRGGBBAA = true, -- #RRGGBBAA hex codes
+ rgb_fn = true, -- CSS rgb() and rgba() functions
+ hsl_fn = true, -- CSS hsl() and hsla() functions
+ css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
+ css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
+ })
+ end,
+ }
+ use { -- beacon last cursor pos
+ 'danilamihailov/beacon.nvim',
+ config = function()
+ vim.g.beacon_ignore_filetypes = {'vifm'}
+ vim.keymap.nmap {'*', '*:Beacon<cr>'}
+ vim.keymap.nmap {'#', '#:Beacon<cr>'}
+ end,
+ }
+ use { -- highlight parens
+ 'Yggdroot/hiPairs',
+ config = function()
+ vim.g.loaded_matchparen = 1
+ vim.g.hiPairs_timeout = 5
+ -- vim.g.hiPairs_hl_matchPair = {
+ -- ['term'] = 'underline,bold',
+ -- ['cterm'] = 'bold',
+ -- ['ctermfg'] = '0',
+ -- ['ctermbg'] = '180',
+ -- ['gui'] = 'bold',
+ -- }
+ -- vim.g.hiPairs_hl_unmatchPair = {
+ -- ['term'] = 'underline,bold',
+ -- ['cterm'] = 'bold',
+ -- ['ctermfg'] = '0',
+ -- ['ctermbg'] = '180',
+ -- ['gui'] = 'bold',
+ -- }
+ end,
+ }
+ use 'chaoren/vim-wordmotion' -- word counts with _,.,-,...
+ use {
+ 'jandamm/cryoline.nvim',
+ config = function()
+ require('cryoline').config {
+ ft = {fugitive = '%{FugitiveStatusline()}'},
+ line = function()
+ local git_head = vim.fn.FugitiveHead()
+ local branch = ''
+ if #git_head ~= 0 then branch = '[' .. git_head .. ']' end
+ local line = '%f %h%m%r' .. branch .. '%=%-14.(%l,%c%V%)'
+ return line
+ end,
+ }
+ end,
+ }
+ use { -- smooth scrolling
+ 'karb94/neoscroll.nvim',
+ config = function()
+ require('neoscroll').setup({mappings = {'<C-u>', '<C-d>', '<C-b>', '<C-f>', 'zt', 'zz', 'zb'}})
+ local t = {}
+ -- Syntax: t[keys] = {function , {function arguments}}
+ t['<C-u>'] = {'scroll', {'-vim.wo.scroll', 'true', '80'}}
+ t['<C-d>'] = {'scroll', {'vim.wo.scroll', 'true', '80'}}
+ t['<C-b>'] = {'scroll', {'-vim.api.nvim_win_get_height(0)', 'true', '100'}}
+ t['<C-f>'] = {'scroll', {'vim.api.nvim_win_get_height(0)', 'true', '100'}}
+ t['zt'] = {'zt', {'100'}}
+ t['zz'] = {'zz', {'100'}}
+ t['zb'] = {'zb', {'100'}}
+ require('neoscroll.config').set_mappings(t)
+ end,
+ }
+ use 'romgrk/equal.operator' -- equal text object `lefthand = righthand`
+ use { -- parameter switch
+ 'AndrewRadev/sideways.vim',
+ config = function()
+ vim.keymap.nnoremap {'<c-h>', ':SidewaysLeft<cr>'}
+ vim.keymap.nnoremap {'<c-l>', ':SidewaysRight<cr>'}
+ vim.keymap.omap {'aa', '<Plug>SidewaysArgumentTextobjA'}
+ vim.keymap.omap {'a.', '<Plug>SidewaysArgumentTextobjA'}
+ vim.keymap.xmap {'aa', '<Plug>SidewaysArgumentTextobjA'}
+ vim.keymap.xmap {'a.', '<Plug>SidewaysArgumentTextobjA'}
+ vim.keymap.omap {'ia', '<Plug>SidewaysArgumentTextobjI'}
+ vim.keymap.xmap {'ia', '<Plug>SidewaysArgumentTextobjI'}
+ vim.keymap.nmap {'<leader>ah', '<Plug>SidewaysArgumentInsertBefore'}
+ vim.keymap.nmap {'<leader>al', '<Plug>SidewaysArgumentAppendAfter'}
+ vim.keymap.nmap {'<leader>aH', '<Plug>SidewaysArgumentInsertFirt'}
+ vim.keymap.nmap {'<leader>aL', '<Plug>SidewaysArgumentAppendLast'}
+ end,
+ }
+ use { -- aligning
+ 'godlygeek/tabular',
+ config = function()
+ vim.keymap.nmap {'<leader>a=', '<cmd>Tabularize /=<cr>'}
+ vim.keymap.vmap {'<leader>a=', '<cmd>Tabularize /=<cr>'}
+ vim.keymap.nmap {'<leader>a:', '<cmd>Tabularize /:\\zs<cr>'}
+ vim.keymap.vmap {'<leader>a:', '<cmd>Tabularize /:\\zs<cr>'}
+ vim.keymap.nmap {'<leader>a,', '<cmd>Tabularize /,<cr>'}
+ vim.keymap.vmap {'<leader>a,', '<cmd>Tabularize /,<cr>'}
+ end,
+ }
+ use { -- replace
+ 'windwp/nvim-spectre',
+ config = function()
+ require('tms.p.spectre').setup()
+ vim.keymap.nnoremap {'<leader>S', '<cmd>lua require("spectre").open()<cr>'}
+ vim.keymap.vnoremap {'<leader>s', '<cmd>lua require("spectre").open_visual()<cr>'}
+ end,
+ }
+ use {'tjdevries/astronauta.nvim'}
+ use {'luukvbaal/stabilize.nvim'}
- -- distraction
- use 'junegunn/limelight.vim'
- use {
- 'folke/zen-mode.nvim',
- config = function()
- require('zen-mode').setup {}
- vim.keymap.nnoremap {'<leader>z', '<cmd>ZenMode<cr>'}
- end,
- }
+ -- quickfix list
+ use {'kevinhwang91/nvim-bqf', config = function() require('tms.p.bqf').setup() end}
- -- how to vim
- use 'ThePrimeagen/vim-be-good'
+ -- distraction
+ use 'junegunn/limelight.vim'
+ use {
+ 'folke/zen-mode.nvim',
+ config = function()
+ require('zen-mode').setup {}
+ vim.keymap.nnoremap {'<leader>z', '<cmd>ZenMode<cr>'}
+ end,
+ }
- -- vcs
- use {
- 'lewis6991/gitsigns.nvim',
- requires = {'nvim-lua/plenary.nvim'},
- config = function()
- require('tms.p.gitsigns').setup()
- vim.keymap.nmap {'>c', '<cmd>lua require("gitsigns").next_hunk()<cr>'}
- vim.keymap.nmap {'>[', '<cmd>lua require("gitsigns").next_hunk()<cr>'}
- vim.keymap.nmap {'<c', '<cmd>lua require("gitsigns").prev_hunk()<cr>'}
- vim.keymap.nmap {'<[', '<cmd>lua require("gitsigns").prev_hunk()<cr>'}
- vim.keymap.nmap {'<leader>hs', '<cmd>lua require("gitsigns").stage_hunk()<cr>'}
- vim.keymap.nmap {'<leader>hu', '<cmd>lua require("gitsigns").undo_stage_hunk()<cr>'}
- vim.keymap.nmap {'<leader>hr', '<cmd>lua require("gitsigns").reset_hunk()<cr>'}
- vim.keymap.nmap {'<leader>hR', '<cmd>lua require("gitsigns").reset_buffer()<cr>'}
- vim.keymap.nmap {'<leader>hp', '<cmd>lua require("gitsigns").preview_hunk()<cr>'}
- vim.keymap.nmap {'<leader>hb', '<cmd>lua require("gitsigns").toggle_current_line_blame()<cr>'}
- vim.keymap.nmap {'<leader>hl', '<cmd>lua require("gitsigns").toggle_linehl()<cr>'}
- vim.keymap.nmap {'<leader>hn', '<cmd>lua require("gitsigns").toggle_numhl()<cr>'}
- vim.keymap.omap {'ig', ':<C-U>lua require("gitsigns").select_hunk()<cr>'}
- vim.keymap.xmap {'ig', ':<C-U>lua require("gitsigns").select_hunk()<cr>'}
- end,
- }
- use 'sindrets/diffview.nvim' -- view diffs for multiple files
- use { -- git integration
- 'tpope/vim-fugitive',
- config = function()
- vim.keymap.nnoremap {'<leader>gg', '<cmd>G<cr>'}
- vim.keymap.nnoremap {'<leader>gc', '<cmd>G commit<cr>'}
- vim.keymap.nnoremap {'<leader>gb', '<cmd>Git blame<cr>'}
- end,
- }
- use { -- git info for current line
- 'rhysd/git-messenger.vim',
- config = function() vim.keymap.nnoremap {'<leader>gm', '<plug>(git-messenger)'} end,
- }
- use {
- 'ThePrimeagen/git-worktree.nvim',
- after = {'telescope.nvim'},
- config = function()
- require('git-worktree').setup()
- require('telescope').load_extension('git_worktree')
- vim.keymap.nnoremap {'<space>wo', require('telescope').extensions.git_worktree.git_worktrees}
- vim.keymap.nnoremap {'<space>wi', require('telescope').extensions.git_worktree.create_git_worktree}
- end,
- }
+ -- how to vim
+ use 'ThePrimeagen/vim-be-good'
- -- colorscheme
- use {'ishan9299/nvim-solarized-lua', config = function() end}
- use {
- 'morhetz/gruvbox',
- config = function()
- vim.g.gruvbox_contrast_dark = 'hard'
- vim.g.gruvbox_contrast_light = 'soft'
- end,
- }
- use {
- 'tjdevries/colorbuddy.nvim',
- after = {'gruvbox', 'nvim-solarized-lua'},
- config = function() require('tms.colors').setup() end,
- }
+ -- vcs
+ use {
+ 'lewis6991/gitsigns.nvim',
+ requires = {'nvim-lua/plenary.nvim'},
+ config = function()
+ require('tms.p.gitsigns').setup()
+ vim.keymap.nmap {'>c', '<cmd>lua require("gitsigns").next_hunk()<cr>'}
+ vim.keymap.nmap {'>[', '<cmd>lua require("gitsigns").next_hunk()<cr>'}
+ vim.keymap.nmap {'<c', '<cmd>lua require("gitsigns").prev_hunk()<cr>'}
+ vim.keymap.nmap {'<[', '<cmd>lua require("gitsigns").prev_hunk()<cr>'}
+ vim.keymap.nmap {'<leader>hs', '<cmd>lua require("gitsigns").stage_hunk()<cr>'}
+ vim.keymap.nmap {'<leader>hu', '<cmd>lua require("gitsigns").undo_stage_hunk()<cr>'}
+ vim.keymap.nmap {'<leader>hr', '<cmd>lua require("gitsigns").reset_hunk()<cr>'}
+ vim.keymap.nmap {'<leader>hR', '<cmd>lua require("gitsigns").reset_buffer()<cr>'}
+ vim.keymap.nmap {'<leader>hp', '<cmd>lua require("gitsigns").preview_hunk()<cr>'}
+ vim.keymap.nmap {'<leader>hb', '<cmd>lua require("gitsigns").toggle_current_line_blame()<cr>'}
+ vim.keymap.nmap {'<leader>hl', '<cmd>lua require("gitsigns").toggle_linehl()<cr>'}
+ vim.keymap.nmap {'<leader>hn', '<cmd>lua require("gitsigns").toggle_numhl()<cr>'}
+ vim.keymap.omap {'ig', ':<C-U>lua require("gitsigns").select_hunk()<cr>'}
+ vim.keymap.xmap {'ig', ':<C-U>lua require("gitsigns").select_hunk()<cr>'}
+ end,
+ }
+ use 'sindrets/diffview.nvim' -- view diffs for multiple files
+ use { -- git integration
+ 'tpope/vim-fugitive',
+ config = function()
+ vim.keymap.nnoremap {'<leader>gg', '<cmd>G<cr>'}
+ vim.keymap.nnoremap {'<leader>gc', '<cmd>G commit<cr>'}
+ vim.keymap.nnoremap {'<leader>gb', '<cmd>Git blame<cr>'}
+ end,
+ }
+ use { -- git info for current line
+ 'rhysd/git-messenger.vim',
+ config = function() vim.keymap.nnoremap {'<leader>gm', '<plug>(git-messenger)'} end,
+ }
+ use {
+ 'ThePrimeagen/git-worktree.nvim',
+ after = {'telescope.nvim'},
+ config = function()
+ require('git-worktree').setup()
+ require('telescope').load_extension('git_worktree')
+ vim.keymap.nnoremap {'<space>wo', require('telescope').extensions.git_worktree.git_worktrees}
+ vim.keymap.nnoremap {'<space>wi', require('telescope').extensions.git_worktree.create_git_worktree}
+ end,
+ }
- -- http
- use {disable = true, 'nicwest/vim-http'}
- use {
- 'NTBBloodbath/rest.nvim',
- requires = {'nvim-lua/plenary.nvim'},
- config = function()
- require('rest-nvim').setup()
- -- - `<Plug>RestNvim`, run the request under the cursor
- -- - `<Plug>RestNvimPreview`, preview the request cURL command
- -- - `<Plug>RestNvimLast`, re-run the last request
- vim.cmd [[command! Rest :lua require("rest-nvim").run()]]
- vim.cmd [[command! RestPreview :lua require("rest-nvim").run(true)]]
- vim.cmd [[command! RestLast :lua require("rest-nvim").last()]]
- end,
- }
+ -- colorscheme
+ use {'ishan9299/nvim-solarized-lua', config = function() end}
+ use {
+ 'morhetz/gruvbox',
+ config = function()
+ vim.g.gruvbox_contrast_dark = 'hard'
+ vim.g.gruvbox_contrast_light = 'soft'
+ end,
+ }
+ use {'tjdevries/colorbuddy.nvim', after = {'gruvbox', 'nvim-solarized-lua'}}
- -- file manager
- use {'vifm/vifm.vim', config = function() vim.g.vifm_replace_netrw = true end}
+ -- http
+ use {disable = true, 'nicwest/vim-http'}
+ use {
+ 'NTBBloodbath/rest.nvim',
+ requires = {'nvim-lua/plenary.nvim'},
+ config = function()
+ require('rest-nvim').setup()
+ -- - `<Plug>RestNvim`, run the request under the cursor
+ -- - `<Plug>RestNvimPreview`, preview the request cURL command
+ -- - `<Plug>RestNvimLast`, re-run the last request
+ vim.cmd [[command! Rest :lua require("rest-nvim").run()]]
+ vim.cmd [[command! RestPreview :lua require("rest-nvim").run(true)]]
+ vim.cmd [[command! RestLast :lua require("rest-nvim").last()]]
+ end,
+ }
- -- tasks
- use {'amirrezaask/actions.nvim', config = function() require('tms.p.actions').setup() end}
+ -- file manager
+ use {'vifm/vifm.vim', config = function() vim.g.vifm_replace_netrw = true end}
- -- filetype
- use 'tikhomirov/vim-glsl'
- use {'mattn/emmet-vim'}
- use {'windwp/nvim-ts-autotag', config = function() require('nvim-ts-autotag').setup {} end} -- html tag autoclose/rename
- use {'vim-php/vim-composer', config = function() vim.g.composer_cmd = 'composer' end}
- use 'fpob/nette.vim'
- use 'baskerville/vim-sxhkdrc'
- use {'dart-lang/dart-vim-plugin', ft = {'dart'}}
+ -- tasks
+ use {'amirrezaask/actions.nvim', config = function() require('tms.p.actions').setup() end}
- -- snippets
- use {'norcalli/snippets.nvim', config = function() require('tms.p.snippets').setup() end}
- use {'L3MON4D3/LuaSnip', config = function() require('tms.p.luasnip').setup() end}
+ -- filetype
+ use 'tikhomirov/vim-glsl'
+ use {'mattn/emmet-vim'}
+ use {'windwp/nvim-ts-autotag', config = function() require('nvim-ts-autotag').setup {} end} -- html tag autoclose/rename
+ use {'vim-php/vim-composer', config = function() vim.g.composer_cmd = 'composer' end}
+ use 'fpob/nette.vim'
+ use 'baskerville/vim-sxhkdrc'
+ use {'dart-lang/dart-vim-plugin', ft = {'dart'}}
- -- completion
- use {
- 'hrsh7th/nvim-cmp',
- requires = {
- 'hrsh7th/cmp-buffer',
- 'hrsh7th/cmp-nvim-lsp',
- 'hrsh7th/cmp-path',
- 'hrsh7th/cmp-nvim-lua',
- 'f3fora/cmp-spell',
- 'hrsh7th/cmp-calc',
- 'ray-x/cmp-treesitter',
- 'uga-rosa/cmp-dictionary',
- 'saadparwaiz1/cmp_luasnip',
- },
- config = function() require('tms.p.cmp').setup() end,
- }
+ -- snippets
+ use {'norcalli/snippets.nvim', config = function() require('tms.p.snippets').setup() end}
+ use {'L3MON4D3/LuaSnip', config = function() require('tms.p.luasnip').setup() end}
- -- ui
- use 'MunifTanjim/nui.nvim'
- use {
- 'rcarriga/nvim-notify',
- config = function()
- vim.notify = require('notify')
- require('notify').setup({stages = require('tms.p.notify.my_stage')})
- end,
- }
+ -- completion
+ use {
+ 'hrsh7th/nvim-cmp',
+ requires = {
+ 'hrsh7th/cmp-buffer',
+ 'hrsh7th/cmp-nvim-lsp',
+ 'hrsh7th/cmp-path',
+ 'hrsh7th/cmp-nvim-lua',
+ 'f3fora/cmp-spell',
+ 'hrsh7th/cmp-calc',
+ 'ray-x/cmp-treesitter',
+ 'uga-rosa/cmp-dictionary',
+ 'saadparwaiz1/cmp_luasnip',
+ },
+ config = function() require('tms.p.cmp').setup() end,
+ }
- -- refactor
- use {
- -- '/home/tms/dev/nvim/refactoring.nvim',
- 'ThePrimeagen/refactoring.nvim',
- requires = {'nvim-lua/plenary.nvim', 'nvim-treesitter/nvim-treesitter'},
- config = function() require('tms.p.refactoring').setup() end,
- }
+ -- ui
+ use 'MunifTanjim/nui.nvim'
+ use {
+ 'rcarriga/nvim-notify',
+ config = function()
+ -- vim.notify = require('notify')
+ require('notify').setup({stages = require('tms.p.notify.my_stage')})
+ vim.keymap.nnoremap {'<leader>N', require('notify').dismiss}
+ end,
+ }
- -- lsp
- use 'neovim/nvim-lspconfig'
- use 'williamboman/nvim-lsp-installer'
- use {
- 'folke/lsp-trouble.nvim',
- requires = 'kyazdani42/nvim-web-devicons',
- config = function() require('trouble').setup {} end,
- }
- use {'folke/lua-dev.nvim'}
- use {
- 'jose-elias-alvarez/null-ls.nvim',
- config = function()
- local null_ls = require('null-ls')
- null_ls.config({})
- require('lspconfig')['null-ls'].setup({})
- end,
- requires = {'nvim-lua/plenary.nvim', 'neovim/nvim-lspconfig'},
- }
- -- use 'mfussenegger/nvim-jdtls'
+ -- refactor
+ use {
+ -- '/home/tms/dev/nvim/refactoring.nvim',
+ 'ThePrimeagen/refactoring.nvim',
+ requires = {'nvim-lua/plenary.nvim', 'nvim-treesitter/nvim-treesitter'},
+ config = function() require('tms.p.refactoring').setup() end,
+ }
- -- dap
- use {'mfussenegger/nvim-dap', config = function() require('tms.p.dap').setup() end}
- use {
- 'rcarriga/nvim-dap-ui',
- requires = 'mfussenegger/nvim-dap',
- config = function() require('tms.p.dap').setup_ui() end,
- }
- use {
- disable = true,
- 'Pocco81/DAPInstall.nvim',
- config = function()
- local dap_install = require('dap-install')
- local dbg_list = require('dap-install.debuggers_list').debuggers
- for debugger, _ in pairs(dbg_list) do dap_install.config(debugger, {}) end
- end,
- requires = {'jbyuki/one-small-step-for-vimkind', 'mfussenegger/nvim-dap'},
- }
- use {'theHamsta/nvim-dap-virtual-text', requires = {'mfussenegger/nvim-dap'}}
+ -- lsp
+ use 'neovim/nvim-lspconfig'
+ use 'williamboman/nvim-lsp-installer'
+ use {
+ 'folke/lsp-trouble.nvim',
+ requires = 'kyazdani42/nvim-web-devicons',
+ config = function() require('trouble').setup {} end,
+ }
+ use {'folke/lua-dev.nvim'}
+ use {
+ 'jose-elias-alvarez/null-ls.nvim',
+ config = function()
+ local null_ls = require('null-ls')
+ null_ls.config({})
+ require('lspconfig')['null-ls'].setup({})
+ end,
+ requires = {'nvim-lua/plenary.nvim', 'neovim/nvim-lspconfig'},
+ }
+ -- use 'mfussenegger/nvim-jdtls'
- -- treesitter
- use {
- 'nvim-treesitter/nvim-treesitter',
- config = function()
- local parser_configs = require('nvim-treesitter.parsers').get_parser_configs()
- parser_configs.http = {
- install_info = {
- url = 'https://github.com/NTBBloodbath/tree-sitter-http',
- files = {'src/parser.c'},
- branch = 'main',
- },
- }
- require('tms.p.treesitter').setup()
- -- hack
- vim.cmd [[command! TSHRefresh execute 'write|TSBufEnable highlight']]
- vim.keymap.nnoremap {'<leader>su', '<cmd>TSHRefresh<cr>'}
- end,
- }
- use 'nvim-treesitter/nvim-treesitter-textobjects'
- use 'nvim-treesitter/nvim-treesitter-refactor'
- use 'nvim-treesitter/playground'
+ -- dap
+ use {'mfussenegger/nvim-dap', config = function() require('tms.p.dap').setup() end}
+ use {
+ 'rcarriga/nvim-dap-ui',
+ requires = 'mfussenegger/nvim-dap',
+ config = function() require('tms.p.dap').setup_ui() end,
+ }
+ use {
+ disable = true,
+ 'Pocco81/DAPInstall.nvim',
+ config = function()
+ local dap_install = require('dap-install')
+ local dbg_list = require('dap-install.debuggers_list').debuggers
+ for debugger, _ in pairs(dbg_list) do dap_install.config(debugger, {}) end
+ end,
+ requires = {'jbyuki/one-small-step-for-vimkind', 'mfussenegger/nvim-dap'},
+ }
+ use {'theHamsta/nvim-dap-virtual-text', requires = {'mfussenegger/nvim-dap'}}
- -- telescope
- use {
- 'nvim-telescope/telescope.nvim',
- requires = {'nvim-lua/popup.nvim', 'nvim-lua/plenary.nvim'},
- config = function()
- local telescope = require('tms.p.telescope')
- telescope.setup()
- vim.keymap.nnoremap {'<space>h', telescope.b.help_tags}
- vim.keymap.nnoremap {'<space>d', telescope.find_files}
- vim.keymap.nnoremap {'<space>D', telescope.b.find_files}
- vim.keymap.nnoremap {'<space>g', telescope.b.git_files}
- vim.keymap.nnoremap {'<space>b', telescope.buffers}
- vim.keymap.nnoremap {'<space>l', telescope.lines}
- vim.keymap.nnoremap {'<space>r', telescope.b.live_grep}
- vim.keymap.nnoremap {'<space>e', telescope.b.grep_string}
- vim.keymap.nnoremap {'<space>c', telescope.b.git_status}
- vim.keymap.nnoremap {'<space>q', telescope.quickfix}
- vim.keymap.nnoremap {'<space>k', telescope.keymaps}
- vim.keymap.nnoremap {'<space>m', telescope.b.man_pages}
- vim.keymap.nnoremap {'<space>p', telescope.reloader}
- vim.keymap.nnoremap {'<space>S', telescope.spell_suggest}
- -- extensions
- vim.keymap.nnoremap {'<space>s', telescope.snippets}
- vim.keymap.nnoremap {'<space>M', telescope.media_files}
- -- custom
- vim.keymap.nnoremap {'<space>n', telescope.edit_neovim}
- -- maybe - almost unsuedtelescope
- vim.keymap.nnoremap {'<space>o', telescope.b.oldfiles}
- vim.keymap.nnoremap {'<space>t', telescope.b.treesitter}
- vim.keymap.nnoremap {'<space>P', telescope.plugins}
- end,
- }
- use {'nvim-telescope/telescope-packer.nvim', after = {'telescope.nvim'}}
- use {
- 'nvim-telescope/telescope-fzy-native.nvim',
- after = {'telescope.nvim'},
- config = function() require('telescope').load_extension('fzy_native') end,
- }
- use {
- 'nvim-telescope/telescope-dap.nvim',
- after = {'telescope.nvim'},
- config = function() require('telescope').load_extension('dap') end,
- }
- use {
- 'nvim-telescope/telescope-snippets.nvim',
- after = {'telescope.nvim'},
- config = function()
- require('telescope').load_extension('snippets')
- vim.keymap.inoremap {'<c-j>', '<cmd>lua require"snippets".expand_or_advance()<cr>'}
- vim.keymap.inoremap {'<c-k>', '<cmd>lua require"snippets".advance_snippet(-1)<cr>'}
- end,
- }
- use {
- 'nvim-telescope/telescope-media-files.nvim',
- after = {'telescope.nvim'},
- config = function() require('telescope').load_extension('media_files') end,
- }
+ -- treesitter
+ use {
+ 'nvim-treesitter/nvim-treesitter',
+ config = function()
+ local parser_configs = require('nvim-treesitter.parsers').get_parser_configs()
+ parser_configs.http = {
+ install_info = {
+ url = 'https://github.com/NTBBloodbath/tree-sitter-http',
+ files = {'src/parser.c'},
+ branch = 'main',
+ },
+ }
+ require('tms.p.treesitter').setup()
+ -- hack
+ vim.cmd [[command! TSHRefresh execute 'write|TSBufEnable highlight']]
+ vim.keymap.nnoremap {'<leader>su', '<cmd>TSHRefresh<cr>'}
+ end,
+ }
+ use 'nvim-treesitter/nvim-treesitter-textobjects'
+ use 'nvim-treesitter/nvim-treesitter-refactor'
+ use 'nvim-treesitter/playground'
- -- Godot
- use {'habamax/vim-godot'}
+ -- telescope
+ use {
+ 'nvim-telescope/telescope.nvim',
+ requires = {'nvim-lua/popup.nvim', 'nvim-lua/plenary.nvim'},
+ config = function()
+ local telescope = require('tms.p.telescope')
+ telescope.setup()
+ vim.keymap.nnoremap {'<space>h', telescope.b.help_tags}
+ vim.keymap.nnoremap {'<space>d', telescope.find_files}
+ vim.keymap.nnoremap {'<space>D', telescope.b.find_files}
+ vim.keymap.nnoremap {'<space>g', telescope.b.git_files}
+ vim.keymap.nnoremap {'<space>b', telescope.buffers}
+ vim.keymap.nnoremap {'<space>l', telescope.lines}
+ -- vim.keymap.nnoremap {'<space>r', telescope.b.live_grep}
+ vim.keymap.nnoremap {'<space>e', telescope.b.grep_string}
+ vim.keymap.nnoremap {'<space>c', telescope.b.git_status}
+ vim.keymap.nnoremap {'<space>q', telescope.quickfix}
+ vim.keymap.nnoremap {'<space>k', telescope.keymaps}
+ vim.keymap.nnoremap {'<space>m', telescope.b.man_pages}
+ vim.keymap.nnoremap {'<space>p', telescope.reloader}
+ vim.keymap.nnoremap {'<space>S', telescope.spell_suggest}
+ -- extensions
+ vim.keymap.nnoremap {'<space>s', telescope.snippets}
+ vim.keymap.nnoremap {'<space>M', telescope.media_files}
+ -- custom
+ vim.keymap.nnoremap {'<space>n', telescope.edit_neovim}
+ -- maybe - almost unsuedtelescope
+ vim.keymap.nnoremap {'<space>o', telescope.b.oldfiles}
+ vim.keymap.nnoremap {'<space>t', telescope.b.treesitter}
+ vim.keymap.nnoremap {'<space>P', telescope.plugins}
+ end,
+ }
+ use {'nvim-telescope/telescope-packer.nvim', after = {'telescope.nvim'}}
+ use {
+ 'nvim-telescope/telescope-fzy-native.nvim',
+ after = {'telescope.nvim'},
+ config = function() require('telescope').load_extension('fzy_native') end,
+ }
+ use {
+ 'nvim-telescope/telescope-dap.nvim',
+ after = {'telescope.nvim'},
+ config = function() require('telescope').load_extension('dap') end,
+ }
+ use {
+ 'nvim-telescope/telescope-snippets.nvim',
+ after = {'telescope.nvim'},
+ config = function()
+ require('telescope').load_extension('snippets')
+ vim.keymap.inoremap {'<c-j>', '<cmd>lua require"snippets".expand_or_advance()<cr>'}
+ vim.keymap.inoremap {'<c-k>', '<cmd>lua require"snippets".advance_snippet(-1)<cr>'}
+ end,
+ }
+ use {
+ 'nvim-telescope/telescope-media-files.nvim',
+ after = {'telescope.nvim'},
+ config = function() require('telescope').load_extension('media_files') end,
+ }
- -- external usage
+ -- Godot
+ use {'habamax/vim-godot'}
- -- personal
- use {
- 'GenesisTMS/trans.nvim',
- config = function()
- vim.keymap.xmap {'mtt', '<cmd>lua require("trans").translate()<cr>'}
- vim.keymap.xmap {'mtc', '<cmd>lua require("trans").translate("cs")<cr>'}
- end,
- }
-end
+ -- personal
-local plugins = setmetatable({}, {
- __index = function(_, key)
- init()
- return packer[key]
+ use {
+ 'GenesisTMS/trans.nvim',
+ config = function()
+ vim.keymap.xmap {'mtt', '<cmd>lua require("trans").translate()<cr>'}
+ vim.keymap.xmap {'mtc', '<cmd>lua require("trans").translate("cs")<cr>'}
+ end,
+ }
end,
+ config = {compile_path = vim.fn.stdpath('config') .. '/lua/packer_compiled.lua'},
})
-
-return plugins
diff --git a/plugin/plugins.vim b/plugin/plugins.vim
@@ -1,7 +0,0 @@
-" command! -nargs=? PackerUpdate packadd packer.nvim | echo luaeval("require('tms.plugins').update(_A)", <q-args>)
-command! PackerInstall packadd packer.nvim | lua require('tms.plugins').install()
-command! PackerUpdate packadd packer.nvim | lua require('tms.plugins').update()
-command! PackerSync packadd packer.nvim | lua require('tms.plugins').sync()
-command! PackerClean packadd packer.nvim | lua require('tms.plugins').clean()
-command! PackerCompile packadd packer.nvim | lua require('tms.plugins').compile('~/.config/nvim/plugin/packer_load.vim')
-command! -nargs=+ -complete=customlist,v:lua.require'packer'.loader_complete PackerLoad | lua require('packer').loader(<q-args>)
diff --git a/plugin/unimpaired.lua b/plugin/unimpaired.lua
@@ -1,45 +1,58 @@
-- remap ] and [
-vim.keymap.nmap {'>q', ']q'}
-vim.keymap.nmap {'>!', ']q'}
-vim.keymap.nmap {'<!', '[q'}
-vim.keymap.nmap {'<q', '[q'}
-vim.keymap.nmap {'>Q', ']Q'}
-vim.keymap.nmap {'<Q', '[Q'}
-vim.keymap.nmap {'>a', ']a'}
-vim.keymap.nmap {'<a', '[a'}
-vim.keymap.nmap {'>A', ']A'}
-vim.keymap.nmap {'<A', '[A'}
-vim.keymap.nmap {'>b', ']b'}
-vim.keymap.nmap {'<b', '[b'}
-vim.keymap.nmap {'>B', ']B'}
-vim.keymap.nmap {'<B', '[B'}
-vim.keymap.nmap {'>l', ']l'}
-vim.keymap.nmap {'>=', ']l'}
-vim.keymap.nmap {'<l', '[l'}
-vim.keymap.nmap {'<=', '[l'}
-vim.keymap.nmap {'>L', ']L'}
-vim.keymap.nmap {'<L', '[L'}
-vim.keymap.nmap {'>t', ']t'}
-vim.keymap.nmap {'<t', '[t'}
-vim.keymap.nmap {'>T', ']T'}
-vim.keymap.nmap {'<T', '[T'}
+vim.keymap.nmap {'>q', ':cnext'}
+vim.keymap.nmap {'>!', ':cnext'}
+vim.keymap.nmap {'<!', ':cprev'}
+vim.keymap.nmap {'<q', ':cprev'}
+vim.keymap.nmap {'>Q', ':clast'}
+vim.keymap.nmap {'<Q', ':cfirst'}
+vim.keymap.nmap {'>a', ':next'}
+vim.keymap.nmap {'<a', ':prev'}
+vim.keymap.nmap {'>A', ':last'}
+vim.keymap.nmap {'<A', ':first'}
+vim.keymap.nmap {'>b', ':bnext'}
+vim.keymap.nmap {'<b', ':bprev'}
+vim.keymap.nmap {'>B', ':blast'}
+vim.keymap.nmap {'<B', ':bfirst'}
+vim.keymap.nmap {'>l', ':lnext'}
+vim.keymap.nmap {'>=', ':lnext'}
+vim.keymap.nmap {'<l', ':lprev'}
+vim.keymap.nmap {'<=', ':lprev'}
+vim.keymap.nmap {'>L', ':llast'}
+vim.keymap.nmap {'<L', ':lfirst'}
+vim.keymap.nmap {'>t', ':tnext'}
+vim.keymap.nmap {'<t', ':tprev'}
+vim.keymap.nmap {'>T', ':tlast'}
+vim.keymap.nmap {'<T', ':tfirst'}
vim.keymap.nmap {'>s', ']s'}
vim.keymap.nmap {'<s', '[s'}
vim.keymap.nmap {'>S', ']S'}
vim.keymap.nmap {'<S', '[S'}
-vim.keymap.nmap {'>f', ']f'}
-vim.keymap.nmap {'<f', '[f'}
-vim.keymap.nmap {'>e', ']e'}
-vim.keymap.nmap {'<e', '[e'}
-vim.keymap.nmap {'>x', ']x'}
-vim.keymap.nmap {'>x', ']x'}
-vim.keymap.nmap {'<x', '[x'}
-vim.keymap.nmap {'<x', '[x'}
-vim.keymap.nmap {'>u', ']u'}
-vim.keymap.nmap {'>u', ']u'}
-vim.keymap.nmap {'<u', '[u'}
-vim.keymap.nmap {'<u', '[u'}
-vim.keymap.nmap {'>y', ']y'}
-vim.keymap.nmap {'>y', ']y'}
-vim.keymap.nmap {'<y', '[y'}
-vim.keymap.nmap {'<y', '[y'}
+
+local toggle = function(op, mode)
+ local scope
+ if mode == 'local' then
+ scope = vim.opt_local
+ elseif mode == 'global' then
+ scope = vim.opt_global
+ else
+ scope = vim.opt
+ end
+
+ local val = scope[op]:get()
+ assert(type(val) == 'boolean')
+ scope[op] = not val
+end
+
+local map_toggle = function(letter, option, mode)
+ vim.keymap.nmap {'yo' .. letter, function() toggle(option) end, noremap = true}
+end
+
+map_toggle('c', 'cursorline', 'local')
+map_toggle('u', 'cursorcolumn', 'local')
+map_toggle('h', 'hlsearch', 'global')
+map_toggle('i', 'ignorecase', 'global')
+map_toggle('l', 'list', 'local')
+map_toggle('n', 'number', 'local')
+map_toggle('r', 'relativenumber', 'local')
+map_toggle('s', 'spell', 'local')
+map_toggle('w', 'wrap', 'local')