diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-08-07 16:51:35 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-08-07 16:51:35 +0530 |
| commit | aa2a175a5f0167b0651710f256c2708ad32edaa7 (patch) | |
| tree | 07418809e57e5c1a80c2e9cf40e2251270bfdae2 /config/nvim/init.lua | |
| parent | fdcd4b9e9bc451c4dc5e886f9e796281d0d1bb31 (diff) | |
remove barbar
Diffstat (limited to 'config/nvim/init.lua')
| -rw-r--r-- | config/nvim/init.lua | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/config/nvim/init.lua b/config/nvim/init.lua index d5a404e..1b4d320 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -15,6 +15,7 @@ vim.opt.scrolloff = 5 vim.opt.mouse= 'a' vim.api.nvim_set_option('clipboard','unnamedplus') vim.opt.ruler = false +vim.opt.showtabline = 2 -- Reset Cursor On Exit local au_id = vim.api.nvim_create_augroup('RestoreCursorShapeOnExit', {clear = true}) @@ -44,7 +45,6 @@ require('lazy').setup({ 'windwp/nvim-autopairs', 'numToStr/Comment.nvim', - 'romgrk/barbar.nvim', 'nvim-tree/nvim-web-devicons', 'hrsh7th/cmp-nvim-lsp', @@ -153,9 +153,6 @@ telescope.setup({ }, }) ---- Barbar -require('barbar').setup {} - -- Set Up Autopairs require('nvim-autopairs').setup({ map_cr = true }) @@ -195,12 +192,13 @@ vim.cmd.colorscheme('bathory') local map = vim.api.nvim_set_keymap local opts = { noremap = true, silent = true } --- map('n', '<A-,>', '<Cmd>tabprev<CR>', opts) --- map('n', '<A-.>', '<Cmd>tabnext<CR>', opts) --- map('n', '<A-t>', '<Cmd>tabnew<CR>', opts) -map('n', '<A-,>', '<Cmd>bnext<CR>', opts) -map('n', '<A-.>', '<Cmd>bprev<CR>', opts) -map('n', '<A-c>', '<Cmd>BufferClose<CR>', opts) +map('n', '<A-.>', '<Cmd>tabnext<CR>', opts) +map('n', '<A-,>', '<Cmd>tabprev<CR>', opts) +map('n', '<A-t>', '<Cmd>tabnew<CR>', opts) +map('n', '<A-w>', '<Cmd>tabclose<CR>', opts) + +map('n', '<A-]>', '<Cmd>bnext<CR>', opts) +map('n', '<A-[>', '<Cmd>bprev<CR>', opts) vim.api.nvim_create_augroup('AutoFormatting', {}) vim.api.nvim_create_autocmd('BufWritePre', { |
