From 3d2d2cc7272d7a5f054f5098ff3f33f6d9df30a0 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Wed, 9 Mar 2022 14:24:34 +1000 Subject: [PATCH] barbar cooler than bufferline, fix fucking dashboard nvims horrible default remap --- profiles/nvim/nvim.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/profiles/nvim/nvim.nix b/profiles/nvim/nvim.nix index 89eebee5..604a4f98 100644 --- a/profiles/nvim/nvim.nix +++ b/profiles/nvim/nvim.nix @@ -64,7 +64,6 @@ in undotree telescope-nvim plenary-nvim - bufferline-nvim lualine-nvim nvim-gps nvim-treesitter @@ -72,6 +71,7 @@ in cmp-treesitter dashboard-nvim FTerm-nvim + barbar-nvim # kitaab stuff vimwiki @@ -229,12 +229,18 @@ in :vmap sy "*y :map sp :r!xclip -o + " barbar + nnoremap gT :BufferPrevious + nnoremap gt :BufferNext + nnoremap gj :BufferPick + nnoremap gc :BufferClose + " git nnoremap ga :G fetch --all nmap gs :G nmap gh :diffget //3 nmap gl :diffget //2 - nmap gc :GCheckout + nmap gc :GBranches nnoremap gp :G push " kitaab @@ -249,8 +255,9 @@ in nnoremap fh :DashboardFindHistory nnoremap ff :DashboardFindFile nnoremap fa :DashboardFindWord - nnoremap fb :DashboardJumpMark + nnoremap fm :DashboardJumpMark nnoremap cn :DashboardNewFile + nnoremap tn :tabnew autocmd FileType dashboard set showtabline=0 | autocmd WinLeave set showtabline=2 " fzf @@ -268,11 +275,6 @@ in nnoremap vn :lua vim.lsp.diagnostic.goto_next() nnoremap vll :call LspLocationList() - "bufferline - " These commands will navigate through buffers in order regardless of which mode you are using - nnoremap gt :BufferLineCycleNext - nnoremap gT :BufferLineCyclePrev - " lua config lua <