robin/ivy
my custom neovim config
git clone https://git.robinwobin.dev/robin/ivy
313ed25
main
1-- go to the previous tab 2vim . keymap . set ( "n" , "[g" , vim . cmd . tabprev ) 3-- go to the next tab 4vim . keymap . set ( "n" , "]g" , vim . cmd . tabnext ) 5-- go to the first tab 6vim . keymap . set ( "n" , "[G" , [[<cmd>1tabnext<cr>]] ) 7-- go to the last tab 8vim . keymap . set ( "n" , "]G" , [[<cmd>$tabnext<cr>]] ) 9 10-- open a new tab with the current window 11vim . keymap . set ( "n" , "<C-w><tab>" , [[<cmd>tab split<cr>]] ) 12-- open an empty tab after the last tab 13vim . keymap . set ( 14"n" , 15"<space><tab>n" , 16[[<cmd>$tabedit<cr>]] , 17{ desc ="open new tab" } 18) 19-- go to the last accessed tab 20vim . keymap . set ( 21"n" , 22"<space><tab>p" , 23[[<cmd>#tabnext<cr>]] , 24{ desc ="go to the last accessed tab" } 25) 26-- close the current tab 27vim . keymap . set ( 28"n" , 29"<space><tab>c" , 30[[<cmd>tabclose<cr>]] , 31{ desc ="close current tab" } 32) 33-- move the current tab to the left 34vim . keymap . set ( 35"n" , 36"<space><tab><" , 37[[<cmd>-tabmove<cr>]] , 38{ desc ="move tab to the left" } 39) 40-- move the current tab to the right 41vim . keymap . set ( 42"n" , 43"<space><tab>>" , 44[[<cmd>+tabmove<cr>]] , 45{ desc ="move tab to the right" } 46)