add plugins autopairs, leap, tmux-navigator
This commit is contained in:
parent
350c4da8ae
commit
96e23cd457
5 changed files with 21 additions and 5 deletions
|
@ -14,6 +14,9 @@ require('comments')
|
|||
require('troubleconfig')
|
||||
require('null-ls-config')
|
||||
require('gitsigns-config')
|
||||
require('leapconfig')
|
||||
require('filemanager')
|
||||
require('notes')
|
||||
require('zenmode')
|
||||
require('tmux-navigator')
|
||||
require('autopairs')
|
||||
|
|
1
nvim/lua/autopairs.lua
Normal file
1
nvim/lua/autopairs.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require("nvim-autopairs").setup {}
|
1
nvim/lua/leapconfig.lua
Normal file
1
nvim/lua/leapconfig.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require('leap').add_default_mappings()
|
|
@ -19,11 +19,17 @@ Plug 'tpope/vim-sleuth'
|
|||
-- new text objects
|
||||
Plug 'wellle/targets.vim'
|
||||
|
||||
-- faster jump
|
||||
Plug 'ggandor/leap.nvim'
|
||||
|
||||
-- auto brackets
|
||||
Plug 'windwp/nvim-autopairs'
|
||||
|
||||
-- WINDOW MANAGEMENT
|
||||
-- ===================
|
||||
|
||||
-- tmux navigator
|
||||
Plug 'christoomey/vim-tmux-navigator'
|
||||
Plug 'numToStr/Navigator.nvim'
|
||||
|
||||
-- winresizer
|
||||
Plug 'simeji/winresizer'
|
||||
|
@ -70,8 +76,9 @@ Plug 'nvim-lualine/lualine.nvim'
|
|||
-- ===================
|
||||
|
||||
-- nvim completion
|
||||
Plug 'williamboman/mason.nvim'
|
||||
Plug 'williamboman/mason-lspconfig.nvim'
|
||||
Plug 'neovim/nvim-lspconfig'
|
||||
Plug 'williamboman/nvim-lsp-installer'
|
||||
|
||||
Plug 'jose-elias-alvarez/null-ls.nvim'
|
||||
|
||||
|
@ -87,9 +94,6 @@ Plug 'ray-x/lsp_signature.nvim'
|
|||
Plug 'L3MON4D3/LuaSnip'
|
||||
Plug 'saadparwaiz1/cmp_luasnip'
|
||||
|
||||
-- Autoformatter
|
||||
-- Plug 'sbdchd/neoformat'
|
||||
|
||||
-- treesitter
|
||||
Plug('nvim-treesitter/nvim-treesitter', {['do'] = ':TSUpdate'})
|
||||
|
||||
|
|
7
nvim/lua/tmux-navigator.lua
Normal file
7
nvim/lua/tmux-navigator.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
require('Navigator').setup()
|
||||
|
||||
vim.keymap.set({'n', 't'}, '<C-h>', '<CMD>NavigatorLeft<CR>')
|
||||
vim.keymap.set({'n', 't'}, '<C-l>', '<CMD>NavigatorRight<CR>')
|
||||
vim.keymap.set({'n', 't'}, '<C-k>', '<CMD>NavigatorUp<CR>')
|
||||
vim.keymap.set({'n', 't'}, '<C-j>', '<CMD>NavigatorDown<CR>')
|
||||
vim.keymap.set({'n', 't'}, '<C-p>', '<CMD>NavigatorPrevious<CR>')
|
Loading…
Add table
Reference in a new issue