summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/mango/packer.lua20
-rw-r--r--.config/nvim/lua/mango/remap.lua1
2 files changed, 16 insertions, 5 deletions
diff --git a/.config/nvim/lua/mango/packer.lua b/.config/nvim/lua/mango/packer.lua
index ec25aef..4beb7fb 100644
--- a/.config/nvim/lua/mango/packer.lua
+++ b/.config/nvim/lua/mango/packer.lua
@@ -1,15 +1,17 @@
vim.cmd.packadd('packer.nvim')
return require('packer').startup(function(use)
+ -- Package manager
use 'wbthomason/packer.nvim'
- use 'wellle/targets.vim'
-
+ -- Colorscheme
use {
'rose-pine/neovim',
as = 'rose-pine',
}
+ -- More textobjects; more is more
+ use 'wellle/targets.vim'
use {
'nvim-treesitter/nvim-treesitter-textobjects',
after = 'nvim-treesitter',
@@ -17,15 +19,23 @@ return require('packer').startup(function(use)
run = ':TSUpdate',
}
+ -- Efficiency improvements
use 'kylechui/nvim-surround'
- use 'mbbill/undotree'
- use 'tpope/vim-fugitive'
+ use 'mattn/emmet-vim'
use 'tpope/vim-commentary'
+
+ -- Git integration
+ use 'tpope/vim-fugitive'
+
+ -- Improvements to builtin functionality
+ use 'mbbill/undotree'
use 'tpope/vim-speeddating'
use 'tpope/vim-vinegar'
- use 'mattn/emmet-vim'
+
+ -- Additional language support
use 'Glench/Vim-Jinja2-Syntax'
+ -- LSP support
use {
'VonHeikemen/lsp-zero.nvim',
branch = 'v2.x',
diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua
index 2fb1ac5..210bb12 100644
--- a/.config/nvim/lua/mango/remap.lua
+++ b/.config/nvim/lua/mango/remap.lua
@@ -52,6 +52,7 @@ local function transpose_chars(rev)
end)
end
+-- Transpose characters
remap('n', '<leader>t', transpose_chars)
remap('n', '<leader>T', function()
transpose_chars(true)