Compare commits

..

No commits in common. "7d4c797bfac081bd44ad07df2af6a733384cf54a" and "cdccc1f0d39613a574bd97eecc9dbed79450befe" have entirely different histories.

3 changed files with 9 additions and 22 deletions

View file

@ -27,7 +27,6 @@
fzf fzf
gh gh
git git
git-crypt
gitui gitui
gnupg gnupg
jq jq
@ -54,7 +53,6 @@
dotnet-sdk dotnet-sdk
go go
jdk jdk
nil
nodejs-19_x nodejs-19_x
ruby_3_1 ruby_3_1
shards shards

View file

@ -1,20 +0,0 @@
local ok, barbar = pcall(require, 'barbar')
if not ok then return end;
barbar.setup {
icons = {
buffer_index = true,
filetype = {
enabled = true
}
}
}
local map = vim.api.nvim_set_keymap
local opts = { noremap = true, silent = true }
-- Navigating buffers
map('n', '<A-,>', '<Cmd>BufferPrevious<CR>', opts)
map('n', '<A-.>', '<Cmd>BufferNext<CR>', opts)
map('n', '<A-s>', '<Cmd>BufferPick<CR>', opts)
map('n', '<A-c>', '<Cmd>BufferClose<CR>', opts)

9
nvim/plugin/barbar.vim Normal file
View file

@ -0,0 +1,9 @@
let bufferline = get(g:, 'bufferline', {})
let bufferline.icons = 'both'
" Navigating buffers
nnoremap <silent> <A-,> :BufferPrevious<CR>
nnoremap <silent> <A-.> :BufferNext<CR>
nnoremap <silent> <A-s> :BufferPick<CR>
nnoremap <silent> <A-c> :BufferClose<CR>