barbar cooler than bufferline, fix fucking dashboard nvims horrible default remap
This commit is contained in:
parent
45548be214
commit
3d2d2cc727
|
@ -64,7 +64,6 @@ in
|
||||||
undotree
|
undotree
|
||||||
telescope-nvim
|
telescope-nvim
|
||||||
plenary-nvim
|
plenary-nvim
|
||||||
bufferline-nvim
|
|
||||||
lualine-nvim
|
lualine-nvim
|
||||||
nvim-gps
|
nvim-gps
|
||||||
nvim-treesitter
|
nvim-treesitter
|
||||||
|
@ -72,6 +71,7 @@ in
|
||||||
cmp-treesitter
|
cmp-treesitter
|
||||||
dashboard-nvim
|
dashboard-nvim
|
||||||
FTerm-nvim
|
FTerm-nvim
|
||||||
|
barbar-nvim
|
||||||
|
|
||||||
# kitaab stuff
|
# kitaab stuff
|
||||||
vimwiki
|
vimwiki
|
||||||
|
@ -229,12 +229,18 @@ in
|
||||||
:vmap <leader>sy "*y
|
:vmap <leader>sy "*y
|
||||||
:map <leader>sp :r!xclip -o<CR>
|
:map <leader>sp :r!xclip -o<CR>
|
||||||
|
|
||||||
|
" barbar
|
||||||
|
nnoremap <silet> gT :BufferPrevious<CR>
|
||||||
|
nnoremap <silet> gt :BufferNext<CR>
|
||||||
|
nnoremap <silet> gj :BufferPick<CR>
|
||||||
|
nnoremap <silet> gc :BufferClose<CR>
|
||||||
|
|
||||||
" git
|
" git
|
||||||
nnoremap <leader>ga :G fetch --all
|
nnoremap <leader>ga :G fetch --all
|
||||||
nmap <leader>gs :G<CR>
|
nmap <leader>gs :G<CR>
|
||||||
nmap <leader>gh :diffget //3
|
nmap <leader>gh :diffget //3
|
||||||
nmap <leader>gl :diffget //2
|
nmap <leader>gl :diffget //2
|
||||||
nmap <leader>gc :GCheckout<CR>
|
nmap <leader>gc :GBranches<CR>
|
||||||
nnoremap <leader>gp :G push<CR>
|
nnoremap <leader>gp :G push<CR>
|
||||||
|
|
||||||
" kitaab
|
" kitaab
|
||||||
|
@ -249,8 +255,9 @@ in
|
||||||
nnoremap <silent> <Leader>fh :DashboardFindHistory<CR>
|
nnoremap <silent> <Leader>fh :DashboardFindHistory<CR>
|
||||||
nnoremap <silent> <Leader>ff :DashboardFindFile<CR>
|
nnoremap <silent> <Leader>ff :DashboardFindFile<CR>
|
||||||
nnoremap <silent> <Leader>fa :DashboardFindWord<CR>
|
nnoremap <silent> <Leader>fa :DashboardFindWord<CR>
|
||||||
nnoremap <silent> <Leader>fb :DashboardJumpMark<CR>
|
nnoremap <silent> <Leader>fm :DashboardJumpMark<CR>
|
||||||
nnoremap <silent> <Leader>cn :DashboardNewFile<CR>
|
nnoremap <silent> <Leader>cn :DashboardNewFile<CR>
|
||||||
|
nnoremap <silent> <Leader>tn :tabnew<CR>
|
||||||
autocmd FileType dashboard set showtabline=0 | autocmd WinLeave <buffer> set showtabline=2
|
autocmd FileType dashboard set showtabline=0 | autocmd WinLeave <buffer> set showtabline=2
|
||||||
|
|
||||||
" fzf
|
" fzf
|
||||||
|
@ -268,11 +275,6 @@ in
|
||||||
nnoremap <leader>vn :lua vim.lsp.diagnostic.goto_next()<CR>
|
nnoremap <leader>vn :lua vim.lsp.diagnostic.goto_next()<CR>
|
||||||
nnoremap <leader>vll :call LspLocationList()<CR>
|
nnoremap <leader>vll :call LspLocationList()<CR>
|
||||||
|
|
||||||
"bufferline
|
|
||||||
" These commands will navigate through buffers in order regardless of which mode you are using
|
|
||||||
nnoremap <silent>gt :BufferLineCycleNext<CR>
|
|
||||||
nnoremap <silent>gT :BufferLineCyclePrev<CR>
|
|
||||||
|
|
||||||
" lua config
|
" lua config
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
-- autopairs
|
-- autopairs
|
||||||
|
@ -353,8 +355,6 @@ require('lspconfig').rnix.setup {}
|
||||||
require('lspconfig').pylsp.setup {}
|
require('lspconfig').pylsp.setup {}
|
||||||
require('lspconfig').terraform_lsp.setup {}
|
require('lspconfig').terraform_lsp.setup {}
|
||||||
|
|
||||||
-- Bufferline
|
|
||||||
require('bufferline').setup {}
|
|
||||||
require('gitsigns').setup { sign_priority=80 }
|
require('gitsigns').setup { sign_priority=80 }
|
||||||
|
|
||||||
-- treesitter
|
-- treesitter
|
||||||
|
|
Loading…
Reference in a new issue