nvim update
This commit is contained in:
parent
d968da0ae0
commit
5930a3f5cd
4 changed files with 10 additions and 1 deletions
|
|
@ -26,5 +26,6 @@
|
|||
"rest.nvim": { "branch": "main", "commit": "714d5512aaec5565d55652480c16c26f8d95645d" },
|
||||
"snacks.nvim": { "branch": "main", "commit": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "cdc07ac78467a233fd62c493de29a17e0cf2b2b6" },
|
||||
"vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ vim.keymap.set({ 'n', 'v' }, '<C-d>', '<C-d>zz', { desc = 'centered scroll' })
|
|||
vim.keymap.set({ 'n', 'v' }, '<C-u>', '<C-u>zz', { desc = 'centered scroll' })
|
||||
vim.keymap.set({ 'n', 'v' }, '<C-o>', '<C-o>zz', { desc = 'centered jump back' })
|
||||
vim.keymap.set({ 'n', 'v' }, '<C-p>', '<C-i>zz', { desc = 'centered jump forward' })
|
||||
vim.keymap.set({ 'n', 'v' }, 'zj', 'zh', { desc = 'scroll left' })
|
||||
vim.keymap.set({ 'n', 'v' }, 'zJ', 'zH', { desc = 'scroll half page left' })
|
||||
|
||||
-- start of line
|
||||
|
|
@ -53,7 +54,7 @@ vim.keymap.set('t', '<C-p>', '<cmd>Floaterminal prev<CR>', { desc = 'prev termin
|
|||
|
||||
vim.keymap.set('t', '<C-w>', '<C-d>', { desc = 'kill terminal' })
|
||||
|
||||
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>', { desc = 'normal mode in terminal' })
|
||||
vim.keymap.set('t', '<C-Esc>', '<C-\\><C-n>', { desc = 'normal mode in terminal' })
|
||||
|
||||
vim.keymap.set('n', '<C-e>', require('mini.files').open, { desc = 'open mini files' })
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
return {
|
||||
{
|
||||
'lewis6991/gitsigns.nvim',
|
||||
-- dir = '~/Stuff/Coding/gitsigns.nvim',
|
||||
opts = {
|
||||
signs = {
|
||||
add = { text = '┃' },
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
vim.api.nvim_create_autocmd('FileType', {
|
||||
callback = function ()
|
||||
pcall(vim.treesitter.start)
|
||||
end
|
||||
})
|
||||
|
||||
return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
build = ':TSUpdate',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue