mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 11:21:42 +01:00
neovim: Remove barbar-nvim
barbar-nvim was a non-trivial plugin that changed buffers to tabs. Although this was cute, I like neovim's default buffers since they *don't* show up as tabs.
This commit is contained in:
parent
f5e63579a3
commit
6e7b429e37
@ -44,9 +44,7 @@
|
||||
nnoremap <silent> <leader>a :NvimTreeToggle<CR>
|
||||
nnoremap <silent> <leader>f :Files<CR>
|
||||
nnoremap <silent> <leader>g :set hlsearch!<CR>
|
||||
nnoremap <silent> <leader>j :BufferPrevious<CR>
|
||||
nnoremap <silent> <leader>k :BufferNext<CR>
|
||||
nnoremap <silent> <leader>x :BufferClose<CR>
|
||||
nnoremap <silent> <leader>j :Buffers<CR>
|
||||
nnoremap <silent> <leader>l :Rg<CR>
|
||||
nnoremap <silent> <leader>; <C-w>w
|
||||
vnoremap <C-s> y:silent !notify-send -t 4000 "成果" "$(tango '<C-r>0')"<CR>:<Esc>
|
||||
@ -70,19 +68,6 @@
|
||||
require("indent_blankline").setup()
|
||||
'';
|
||||
}
|
||||
{
|
||||
plugin = barbar-nvim;
|
||||
type = "lua";
|
||||
config = ''
|
||||
vim.g.barbar_auto_setup = false
|
||||
require'barbar'.setup {
|
||||
auto_hide = true,
|
||||
sidebar_filetypes = {
|
||||
NvimTree = true,
|
||||
},
|
||||
}
|
||||
'';
|
||||
}
|
||||
{
|
||||
plugin = gitsigns-nvim;
|
||||
type = "lua";
|
||||
|
Loading…
Reference in New Issue
Block a user