mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
3 commits
cdccc1f0d3
...
7d4c797bfa
Author | SHA1 | Date | |
---|---|---|---|
|
7d4c797bfa | ||
|
90e3002820 | ||
|
56849789a0 |
3 changed files with 22 additions and 9 deletions
|
@ -27,6 +27,7 @@
|
|||
fzf
|
||||
gh
|
||||
git
|
||||
git-crypt
|
||||
gitui
|
||||
gnupg
|
||||
jq
|
||||
|
@ -53,6 +54,7 @@
|
|||
dotnet-sdk
|
||||
go
|
||||
jdk
|
||||
nil
|
||||
nodejs-19_x
|
||||
ruby_3_1
|
||||
shards
|
||||
|
|
20
nvim/plugin/barbar.lua
Normal file
20
nvim/plugin/barbar.lua
Normal file
|
@ -0,0 +1,20 @@
|
|||
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)
|
|
@ -1,9 +0,0 @@
|
|||
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>
|
Loading…
Reference in a new issue