mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-28 14:21:45 +00:00
Compare commits
No commits in common. "afc8abfe8a5c061a7b5b89fb3299cf590b70d60f" and "3b09dcae3ca77c7a3a24f2705d358ac95ddab7a3" have entirely different histories.
afc8abfe8a
...
3b09dcae3c
@ -45,9 +45,6 @@ vim.keymap.set('n', '<leader>gs', '<cmd>Gedit :<cr>', { desc = '[G]it [S]tatus'
|
|||||||
|
|
||||||
-- Delete current buffer without closing window
|
-- Delete current buffer without closing window
|
||||||
vim.keymap.set('n', '<leader>bd', '<cmd>bp<bar>sp<bar>bn<bar>bd<cr>', { desc = '[B]uffer [D]elete' })
|
vim.keymap.set('n', '<leader>bd', '<cmd>bp<bar>sp<bar>bn<bar>bd<cr>', { desc = '[B]uffer [D]elete' })
|
||||||
-- Switch to between buffers
|
|
||||||
vim.keymap.set('n', '<leader>bp', '<cmd>bp<cr>', { desc = '[B]uffer [P]revious' })
|
|
||||||
vim.keymap.set('n', '<leader>bn', '<cmd>bn<cr>', { desc = '[B]uffer [N]ext' })
|
|
||||||
|
|
||||||
-- [[ Basic Autocommands ]]
|
-- [[ Basic Autocommands ]]
|
||||||
-- See `:help lua-guide-autocommands`
|
-- See `:help lua-guide-autocommands`
|
||||||
|
@ -9,20 +9,7 @@ return {
|
|||||||
},
|
},
|
||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = { 'lua', 'python', 'rust', 'javascript', 'typescript', 'vimdoc', 'vim', 'svelte', 'c_sharp' },
|
||||||
'lua',
|
|
||||||
'python',
|
|
||||||
'rust',
|
|
||||||
'javascript',
|
|
||||||
'typescript',
|
|
||||||
'vimdoc',
|
|
||||||
'vim',
|
|
||||||
'svelte',
|
|
||||||
'c_sharp',
|
|
||||||
'markdown',
|
|
||||||
'gitcommit',
|
|
||||||
'gitignore',
|
|
||||||
},
|
|
||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
-- Enable autotags and -rename
|
-- Enable autotags and -rename
|
||||||
@ -35,7 +22,6 @@ return {
|
|||||||
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
||||||
-- If you are experiencing weird indenting issues, add the language to
|
-- If you are experiencing weird indenting issues, add the language to
|
||||||
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
|
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
|
||||||
disable = { 'markdown' },
|
|
||||||
additional_vim_regex_highlighting = { 'ruby' },
|
additional_vim_regex_highlighting = { 'ruby' },
|
||||||
},
|
},
|
||||||
indent = { enable = true, disable = { 'ruby' } },
|
indent = { enable = true, disable = { 'ruby' } },
|
||||||
|
@ -26,17 +26,6 @@ require('lazy').setup({
|
|||||||
-- Processing-Java
|
-- Processing-Java
|
||||||
'sophacles/vim-processing',
|
'sophacles/vim-processing',
|
||||||
|
|
||||||
-- Markdown preview plugin
|
|
||||||
{
|
|
||||||
'iamcco/markdown-preview.nvim',
|
|
||||||
cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview', 'MarkdownPreviewStop' },
|
|
||||||
build = 'cd app; npm install',
|
|
||||||
init = function()
|
|
||||||
vim.g.mkdp_filetypes = { 'markdown' }
|
|
||||||
end,
|
|
||||||
ft = { 'markdown' },
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Smooth scroll plugin and keymaps
|
-- Smooth scroll plugin and keymaps
|
||||||
{
|
{
|
||||||
'karb94/neoscroll.nvim',
|
'karb94/neoscroll.nvim',
|
||||||
|
Loading…
Reference in New Issue
Block a user